|
|
|
@ -41,7 +41,7 @@ |
|
|
|
|
<view class="hy">会员套餐</view> |
|
|
|
|
<view class="btboxs"> |
|
|
|
|
<view class="btbox" v-for="(item,index) in viplist" :key="index" @click="taochan(item)"> |
|
|
|
|
<image :src="item.img.url" mode="" class="btimg"></image> |
|
|
|
|
<image :src="item.img.url" mode="aspectFill" class="btimg"></image> |
|
|
|
|
<view class="bttitle">{{item.name}}</view> |
|
|
|
|
<view class="btwz" v-if="item.validity_day>0">期限:{{item.validity_day}}天</view> |
|
|
|
|
<view class="btwz" v-if='item.validity_num>0'>次数:{{item.validity_num}}次</view> |
|
|
|
@ -98,7 +98,12 @@ |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
onLoad() { |
|
|
|
|
this.top = uni.getSystemInfoSync().statusBarHeight |
|
|
|
|
const that = this; |
|
|
|
|
this.top = uni.getSystemInfoSync().statusBarHeight; |
|
|
|
|
uni.$on("changeStoreInfo",function(res){ |
|
|
|
|
that.tuijianlist = [res] |
|
|
|
|
console.log(res) |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
onReady() { |
|
|
|
|
this.viplist=[] |
|
|
|
@ -218,7 +223,7 @@ |
|
|
|
|
}, |
|
|
|
|
mendianlist() { |
|
|
|
|
uni.navigateTo({ |
|
|
|
|
url: '/pages/mendainlist/mendainlist?item='+'shouye' |
|
|
|
|
url: '/pages/mendainlist/mendainlist?item='+'shouye'+'&id='+this.tuijianlist[0].id |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
tuanquan() { |
|
|
|
|