Selaa lähdekoodia

refactor:协议页面调整

zhanghui 2 vuotta sitten
vanhempi
sitoutus
b2dfec99cc

+ 9 - 0
myPages/TermsOfService/index.rpx.css

@@ -0,0 +1,9 @@
+.scroll-y{
+    height: 95%;
+    overflow: hidden;
+
+}
+.content-box {
+    text-indent:2rem;
+    padding: 20rpx 20rpx;
+}

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 8 - 11
myPages/TermsOfService/index.vue


+ 6 - 8
myPages/recharge/index.vue

@@ -118,9 +118,10 @@
 
 				<!-- 用户充值协议 -->
 				<view class="recharge-agreement">
-					<view  class="radio-group">
-						<radio @click="toggleSelection" class="v-text" :checked="isSelected" >我已阅读并同意</radio>
-						<text @click="gotoTermOfService(8)" class="h-btn">《储值协议》</text>
+					<view  class="radio-group flex-row justify-center">
+						<radio @click="toggleSelection" style="transform:scale(0.8)" color="#FFE05C" class="v-text" :checked="isSelected" >
+							我已阅读并同意<text @click.stop="gotoTermOfService(8)" class="h-btn">《储值协议》</text>
+						</radio>
 					</view>
 				</view>
 
@@ -303,11 +304,8 @@
 			},
 			// 查看储值协议
 			gotoTermOfService(type){
-				uni.$u.route({
-					url: '/pages/me/term-of-service-detatil',
-					params: {
-						data: type
-					}
+				uni.navigateTo({
+					url: '/myPages/TermsOfService/index?name='+'储值协议'+'&type=' + 8,
 				})
 			},
 

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä