Commit 97bb479d authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 981e4b6c
...@@ -31,11 +31,9 @@ ...@@ -31,11 +31,9 @@
到期时间:{{userBean.expireTime*1000 | formatDate('yyyy-MM-dd')}} 到期时间:{{userBean.expireTime*1000 | formatDate('yyyy-MM-dd')}}
</view> </view>
<view v-if="userBean.expireTime<=0" @click="handleVipPay" <view @click="handleVipPay"
style="margin-left: 40rpx;width: 210rpx;height: 60rpx;background-color: #fd915f;border-radius:30rpx;color: white;font-size: 26rpx;justify-content: center;align-items: center;display: flex;padding-bottom: 4rpx;margin-top: 40rpx;"> style="margin-left: 40rpx;width: 210rpx;height: 60rpx;background-color: #fd915f;border-radius:30rpx;color: white;font-size: 26rpx;justify-content: center;align-items: center;display: flex;padding-bottom: 4rpx;margin-top: 40rpx;">
立即开通 {{userBean.expireTime<=0 ? '立即开通' : '已开通'}}
</view>
<view v-else style="width: 210rpx;height: 60rpx;padding-bottom: 4rpx;margin-top: 40rpx;">
</view> </view>
</view> </view>
</view> </view>
......
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
} }
this.post({ this.post({
url: '/vip/getVipProducts', url: '/vip/getVipProducts/cyc',
showLoading: false, showLoading: false,
success: ({ success: ({
data data
...@@ -520,7 +520,8 @@ ...@@ -520,7 +520,8 @@
color: darkgray; color: darkgray;
font-size: 26rpx; font-size: 26rpx;
margin-top: 30rpx; margin-top: 30rpx;
padding-left: 30rpx; padding-left: 30rpx;
padding-right: 20rpx;
.agreementText { .agreementText {
color: #387EF4; color: #387EF4;
......
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