Commit f2cbc46d Harvey

tv list

1 个父辈 95bfb21d
<template> <template>
<view>
<view class="page-content"> <view class="page-content">
<image :mode="mode" :src="src"></image> <image :mode="mode" :src="src"></image>
</view> </view>
</view>
</template> </template>
<script> <script>
...@@ -19,18 +21,6 @@ ...@@ -19,18 +21,6 @@
} }
}, },
async onLoad(e) { async onLoad(e) {
//const img = await uni.getStorageSync('tv_list_selected_img')
// if (img) {
// this.title = img.text
// this.text = img.text
// this.src = img.src
// uni.setNavigationBarTitle({
// title: this.title
// })
// }
//#ifdef H5 //#ifdef H5
if (e) { if (e) {
this.title = e.text this.title = e.text
...@@ -45,11 +35,7 @@ ...@@ -45,11 +35,7 @@
$h5.head_tv(this.src) $h5.head_tv(this.src)
//#endif //#endif
}, },
methods: { methods: {}
// navChange(e) {
// console.log(e.target.dataset.v)
// }
}
} }
</script> </script>
...@@ -61,7 +47,6 @@ ...@@ -61,7 +47,6 @@
} }
.page-content image { .page-content image {
width: 90vw; width: 90vw;
} }
......
...@@ -59,6 +59,16 @@ ...@@ -59,6 +59,16 @@
} }
}, },
async onLoad() { async onLoad() {
//#ifdef H5
try {
if (Android) {
const $h5 = require('@/static/js/h5-utils.js')
$h5.remove_uni_page_head()
}
} catch (e) {}
//#endif
this.bindData() this.bindData()
}, },
methods: { methods: {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!