Commit b0bbdd6e authored by zhengke's avatar zhengke

修改

parent 6d0979c8
......@@ -6,13 +6,13 @@
<view class="vipIcon"><img :src="dataList.fxGradeCustom.VipICO" alt="" /></view>
<view>
<view class="vip_Month">
{{ month }}个月
<span v-if="month>0">{{ month }}</span>个月
<text class="vip_yellow">{{ dataList.fxGrade[0].BuyMoney }}</text>
</view>
</view>
</view>
<button class="my_VipBtn" @click="openImediate">立即开通</button>
<button class="my_VipBtn" :class="{'disBtn':month==0}" @click="openImediate">立即开通</button>
<view class="my_buyRecord"><text @click="goUrl('/pages/share/buyRecord/index')">购买记录</text></view>
</view>
<view class="vip_activeRule" @click="showDialog = true">活动规则>></view>
......@@ -88,10 +88,12 @@ export default {
},
//点击立即开通
openImediate() {
var Myobj = this.dataList.fxGrade[0];
uni.navigateTo({
url: '/pages/share/buyInterest/index' + '?GradeId=' + Myobj.Id + '&Money=' + Myobj.BuyMoney
});
if(this.month>0){
var Myobj = this.dataList.fxGrade[0];
uni.navigateTo({
url: '/pages/share/buyInterest/index' + '?GradeId=' + Myobj.Id + '&Money=' + Myobj.BuyMoney
});
}
},
//跳转
goUrl(url) {
......@@ -216,4 +218,8 @@ export default {
margin-top: 15px;
color: #fff100;
}
.disBtn{
background-color:gray!important;
color:#fff!important;
}
</style>
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