12345678910111213141516171819202122232425262728293031 |
- <template>
- <view>
- <web-view :webview-styles="webviewStyles" :src="url"></web-view>
- </view>
- </template>
- <script>
- import {
- metaSetScalable
- } from "../../common/navTo";
- export default {
- data() {
- return {
- webviewStyles: {
- progress: {
- color: "#007AFF",
- }
- },
- url: "",
- };
- },
- onLoad(option) {
- this.url = decodeURIComponent(option.url);
- // #ifdef H5
- metaSetScalable();
- // #endif
- }
- };
- </script>
- <style></style>
|