Commit 96cf36c0 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 174dd9e9
...@@ -6,8 +6,12 @@ ...@@ -6,8 +6,12 @@
<image style="width: 100%;margin-top: 10rpx;margin-bottom: 10rpx;" <image style="width: 100%;margin-top: 10rpx;margin-bottom: 10rpx;"
src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_heli_vip.png" mode="widthFix" /> src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_heli_vip.png" mode="widthFix" />
<view class="section"> <view @click="handleUnsign" v-if="agreementDto"
style="margin-left: 30rpx;color: black;font-size: 36rpx;font-weight: 700;">自动续费管理
>
</view>
<view class="section">
<view class="pack-box"> <view class="pack-box">
<scroll-view scroll-x style="white-space: nowrap"> <scroll-view scroll-x style="white-space: nowrap">
<view class="pack-item" v-for='(item, index) in vipList' :key='index' <view class="pack-item" v-for='(item, index) in vipList' :key='index'
...@@ -47,16 +51,6 @@ ...@@ -47,16 +51,6 @@
</text> </text>
</view> </view>
<view @click="handleUnsign" v-if="agreementDto"
style="margin-left: 20rpx;color: black;font-size: 36rpx;font-weight: 700;">自动续费管理
>
</view>
<view class="item-agree">
<view style="font-size: 28rpx;" @click="clickAgree">用户付费须知> </view>
</view>
<view class="agreementWrp"> <view class="agreementWrp">
<checkbox-group @change="checkboxChange" style="width: 50rpx;"> <checkbox-group @change="checkboxChange" style="width: 50rpx;">
<checkbox :checked="checked" style="transform:scale(0.9)"> <checkbox :checked="checked" style="transform:scale(0.9)">
...@@ -66,13 +60,15 @@ ...@@ -66,13 +60,15 @@
<text class="agreementText" @click="goAgreement(1)">《连续订阅服务协议》</text> <text class="agreementText" @click="goAgreement(1)">《连续订阅服务协议》</text>
<text class="agreementText" @click="goAgreement(2)">《支付协议》</text> <text class="agreementText" @click="goAgreement(2)">《支付协议》</text>
<text class="agreementText" @click="goAgreement(3)">《隐私政策》</text> <text class="agreementText" @click="goAgreement(3)">《隐私政策》</text>
<text class="agreementText" @click="goAgreement(4)">《用户付费须知》</text>
</text> </text>
</view> </view>
<view class="nextBtn" @click="handlePay">立即试用</view>
<view class="section"> <!-- <view class="item-agree">
<button class="apply-button" @click="handlePay">立即试用</button> <view style="font-size: 28rpx;" @click="clickAgree">用户付费须知> </view>
</view> </view> -->
<image @click="handlePay" style="width: 100%;" <image @click="handlePay" style="width: 100%;"
src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_vip_about.png" mode="widthFix" /> src="https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_vip_about.png" mode="widthFix" />
...@@ -373,6 +369,8 @@ ...@@ -373,6 +369,8 @@
navigateTo(`/pages/brower/brower?url=https://api.mints-tech.cn/camera-api/agreements/lingxi/syzc.html`) navigateTo(`/pages/brower/brower?url=https://api.mints-tech.cn/camera-api/agreements/lingxi/syzc.html`)
} else if (type == 3) { } else if (type == 3) {
navigateTo(`/pages/brower/brower?url=https://api.mints-tech.cn/camera-api/agreements/lingxi/yhxy.html`) navigateTo(`/pages/brower/brower?url=https://api.mints-tech.cn/camera-api/agreements/lingxi/yhxy.html`)
} else if (type == 4) {
this.clickAgree();
} }
} }
} }
...@@ -386,7 +384,6 @@ ...@@ -386,7 +384,6 @@
flex-direction: column; flex-direction: column;
.section { .section {
margin-top: 30rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -526,7 +523,7 @@ ...@@ -526,7 +523,7 @@
background: #e8c8ae; background: #e8c8ae;
color: #8d5a29; color: #8d5a29;
width: 600rpx; width: 600rpx;
margin: 40rpx auto; margin: 20rpx auto;
} }
} }
...@@ -544,7 +541,6 @@ ...@@ -544,7 +541,6 @@
align-items: center; align-items: center;
color: darkgray; color: darkgray;
font-size: 26rpx; font-size: 26rpx;
margin-top: 30rpx;
padding-left: 30rpx; padding-left: 30rpx;
padding-right: 20rpx; padding-right: 20rpx;
...@@ -554,12 +550,13 @@ ...@@ -554,12 +550,13 @@
} }
.trialStyle { .trialStyle {
height: 50rpx; height: 30rpx;
padding: 30rpx; padding: 20rpx 30rpx;
font-size: 22rpx; font-size: 22rpx;
color: darkgray; color: darkgray;
} }
} }
.text-box { .text-box {
word-break: break-all; word-break: break-all;
margin: 10rpx; margin: 10rpx;
...@@ -567,4 +564,17 @@ ...@@ -567,4 +564,17 @@
background-color: white; background-color: white;
color: black; color: black;
} }
.nextBtn {
justify-content: center;
align-items: center;
display: flex;
border-radius: 50rpx;
background-color: #e8c8ae;
color: #8d5a29;
width: 660rpx;
height: 90rpx;
font-size: 32rpx;
margin: 20rpx auto;
}
</style> </style>
\ No newline at end of file
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