Commit 97bb479d authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 981e4b6c
......@@ -31,11 +31,9 @@
到期时间:{{userBean.expireTime*1000 | formatDate('yyyy-MM-dd')}}
</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;">
立即开通
</view>
<view v-else style="width: 210rpx;height: 60rpx;padding-bottom: 4rpx;margin-top: 40rpx;">
{{userBean.expireTime<=0 ? '立即开通' : '已开通'}}
</view>
</view>
</view>
......
......@@ -123,7 +123,7 @@
}
this.post({
url: '/vip/getVipProducts',
url: '/vip/getVipProducts/cyc',
showLoading: false,
success: ({
data
......@@ -521,6 +521,7 @@
font-size: 26rpx;
margin-top: 30rpx;
padding-left: 30rpx;
padding-right: 20rpx;
.agreementText {
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