Commit 9bbd4ea8 authored by zhengke's avatar zhengke

修改

parent 65b93a8e
...@@ -6,16 +6,14 @@ ...@@ -6,16 +6,14 @@
<view class="vipIcon"><img :src="dataList.fxGradeCustom.VipICO" alt="" /></view> <view class="vipIcon"><img :src="dataList.fxGradeCustom.VipICO" alt="" /></view>
<view> <view>
<view class="vip_Month"> <view class="vip_Month">
{{month}}个月 {{ month }}个月
<text class="vip_yellow">{{dataList.fxGrade[0].BuyMoney}}</text> <text class="vip_yellow">{{ dataList.fxGrade[0].BuyMoney }}</text>
</view> </view>
</view> </view>
</view> </view>
<button class="my_VipBtn" @click="openImediate">立即开通</button> <button class="my_VipBtn" @click="openImediate">立即开通</button>
<view class="my_buyRecord"> <view class="my_buyRecord"><text @click="goUrl('/pages/share/buyRecord/index')">购买记录</text></view>
<text @click="goUrl('/pages/share/buyRecord/index')">购买记录</text>
</view>
</view> </view>
<view class="vip_activeRule" @click="showDialog = true">活动规则>></view> <view class="vip_activeRule" @click="showDialog = true">活动规则>></view>
</view> </view>
...@@ -23,12 +21,10 @@ ...@@ -23,12 +21,10 @@
<view class="agreement_b"> <view class="agreement_b">
<view style="height: 40px;line-height: 40px;width:100%;text-align: center;position: relative;"> <view style="height: 40px;line-height: 40px;width:100%;text-align: center;position: relative;">
活动规则 活动规则
<view class="buyVipClose" @click="showDialog=false">×</view> <view class="buyVipClose" @click="showDialog = false">×</view>
</view> </view>
<view style="width: 100%;height: 660rpx;padding: 20rpx;overflow:scroll;line-height:25px;"> <view style="width: 100%;height: 660rpx;padding: 20rpx;overflow:scroll;line-height:25px;">
<Text> <Text class="vip_buyRule">{{ dataList.fxGradeCustom.BottomRule }}</Text>
{{dataList.fxGradeCustom.BottomRule}}
</Text>
</view> </view>
</view> </view>
</view> </view>
...@@ -45,8 +41,8 @@ export default { ...@@ -45,8 +41,8 @@ export default {
secondary: '', secondary: '',
dataList: {}, dataList: {},
showDialog: false, showDialog: false,
month:0, month: 0,
isShow:false isShow: false
}; };
}, },
onLoad(option) {}, onLoad(option) {},
...@@ -79,12 +75,12 @@ export default { ...@@ -79,12 +75,12 @@ export default {
data: {} data: {}
}, },
res => { res => {
this.isShow=true; this.isShow = true;
uni.hideNavigationBarLoading(); uni.hideNavigationBarLoading();
if (res.resultCode == 1) { if (res.resultCode == 1) {
this.dataList = res.data; this.dataList = res.data;
if(this.dataList.fxGrade.length>0){ if (this.dataList.fxGrade.length > 0) {
this.month=this.dataList.fxGrade[0].Year*12; this.month = this.dataList.fxGrade[0].Year * 12;
} }
} }
} }
...@@ -92,17 +88,17 @@ export default { ...@@ -92,17 +88,17 @@ export default {
}, },
//点击立即开通 //点击立即开通
openImediate() { openImediate() {
var Myobj=this.dataList.fxGrade[0] var Myobj = this.dataList.fxGrade[0];
uni.navigateTo({ uni.navigateTo({
url: '/pages/share/buyInterest/index'+'?GradeId='+ Myobj.Id+'&Money='+Myobj.BuyMoney url: '/pages/share/buyInterest/index' + '?GradeId=' + Myobj.Id + '&Money=' + Myobj.BuyMoney
}); });
}, },
//跳转 //跳转
goUrl(url){ goUrl(url) {
console.log(url) console.log(url);
uni.navigateTo({ uni.navigateTo({
url: url url: url
}); });
} }
} }
}; };
...@@ -112,6 +108,10 @@ export default { ...@@ -112,6 +108,10 @@ export default {
.vipMain { .vipMain {
background: #f3f4f6; background: #f3f4f6;
} }
.vip_buyRule {
word-break: break-all;
white-space: normal;
}
.vipContent { .vipContent {
width: 100%; width: 100%;
height: 100%; height: 100%;
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
.vipMain .vip_yellow { .vipMain .vip_yellow {
color: #fff100; color: #fff100;
font-size: 36px; font-size: 36px;
margin:0 5px; margin: 0 5px;
} }
.vipMain .vip_lastDiv { .vipMain .vip_lastDiv {
font-size: 12px; font-size: 12px;
...@@ -185,7 +185,7 @@ export default { ...@@ -185,7 +185,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
background:rgba(0,0,0,0.6); background: rgba(0, 0, 0, 0.6);
} }
.vipMain .agreementbox_t .agreement_b { .vipMain .agreementbox_t .agreement_b {
width: 80%; width: 80%;
...@@ -203,19 +203,19 @@ export default { ...@@ -203,19 +203,19 @@ export default {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.vipMain .buyVipClose{ .vipMain .buyVipClose {
width:40px; width: 40px;
height:40px; height: 40px;
position: absolute; position: absolute;
right:7px; right: 7px;
top:0; top: 0;
font-size:25px; font-size: 25px;
} }
.vipMain .my_buyRecord{ .vipMain .my_buyRecord {
width:100%; width: 100%;
text-align: right; text-align: right;
padding-right:30px; padding-right: 30px;
margin-top:15px; margin-top: 15px;
color:#fff100; color: #fff100;
} }
</style> </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