Commit 7721ad6a authored by 潘永坪's avatar 潘永坪

支付显示处理

parent 4f4a87e8
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
<!-- <view class="swiper"> <!-- <view class="swiper">
<u-swiper :list="list" height="380"></u-swiper> <u-swiper :list="list" height="380"></u-swiper>
</view> --> </view> -->
<view class="title"> <view class="title" v-if="showVideo">
<view class="shuxian"></view> <view class="shuxian"></view>
<view>我的VLOG视频</view> <view>我的VLOG视频</view>
</view> </view>
<navigator url="../myVlog/myVlog"> <navigator url="../myVlog/myVlog" v-if="showVideo">
<view class="photoGallery"> <view class="photoGallery">
<image class="img" src="../static/vlog/icon/bg1.png"></image> <image class="img" src="../static/vlog/icon/bg1.png"></image>
<view class="access"></view> <view class="access"></view>
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<!-- <navigator url="../../album/albumIndex?index=1"> <!-- <navigator url="../../album/albumIndex?index=1">
<view class="album">相册首页</view> <view class="album">相册首页</view>
</navigator> --> </navigator> -->
<view class="bottom"> <view class="bottom" v-if="showVideo">
<image src="../static/vlog/icon/bottom.png"></image> <image src="../static/vlog/icon/bottom.png"></image>
<navigator url="../vlogface/vlogface"> <navigator url="../vlogface/vlogface">
<view class="paizhao"> <view class="paizhao">
...@@ -82,12 +82,14 @@ export default { ...@@ -82,12 +82,14 @@ export default {
image: '../static/vlog/swipe/swipe3.jpg' image: '../static/vlog/swipe/swipe3.jpg'
} }
], ],
showVideo:false,//视频是否显示
} }
}, },
onLoad() { //代替 vue 里面的 created onLoad() { //代替 vue 里面的 created
this.getUserInfo() //获取用户信息 this.getUserInfo() //获取用户信息
this.getScenicList() //获取景区列表 this.getScenicList() //获取景区列表
this.openCamera() //打开权限 this.openCamera() //打开权限
this.loadIcon()
}, },
onReady() { //代替 vue 里面的 mounted onReady() { //代替 vue 里面的 mounted
}, },
...@@ -209,8 +211,26 @@ export default { ...@@ -209,8 +211,26 @@ export default {
} }
}) })
}, },
query() { //查询 //---加载图标
} loadIcon(){
let data={
merchantType:0,//商户类型,其他
}
this.$request('scenic/merchantExtendProject/loadList',data).then((res)=>{
if(res.code=='00'){
let iconList=res.data||[]
let list=[]
iconList.forEach(item=>{
if(item.projectStatus==0){
list.push(item)
}
})
if(list.length>6){
this.showVideo=true
}
}
})
},
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment