tanxue vor 3 Wochen
Ursprung
Commit
34332805d5
4 geänderte Dateien mit 21 neuen und 13 gelöschten Zeilen
  1. 8 0
      common/styles/global/pages.scss
  2. 3 5
      pages.json
  3. 5 4
      pages/client/my/xieyi.vue
  4. 5 4
      pages/client/my/zhengce.vue

+ 8 - 0
common/styles/global/pages.scss

@@ -622,4 +622,12 @@
 	}
 	
 	.jbxx-tel-btn{width: 240rpx;margin-top: 32rpx;font-size: 28rpx;}
+}
+
+/*** 全文字页面 ***/
+.phone-text-page{
+	.text-rich-box{
+		height: calc(100vh - 250rpx);overflow-y: auto;
+		padding: 20rpx 32rpx; box-sizing: border-box;font-size: 28rpx;line-height: 1.6;color: #333;
+	}
 }

+ 3 - 5
pages.json

@@ -37,16 +37,14 @@
 				},
 				{
 					"path" : "zhengce",
-					"style" : 
-					{
+					"style": {
 						"navigationStyle": "custom"
 					}
 				},
 				{
 					"path" : "xieyi",
-					"style" : 
-					{
-			"navigationStyle": "custom"
+					"style": {
+						"navigationStyle": "custom"
 					}
 				}
 			]

+ 5 - 4
pages/client/my/xieyi.vue

@@ -1,9 +1,10 @@
 <template>
-	<view class="ezy-ystk-page">
+	<view class="phone-text-page">
 		<!-- 导航区域 -->
-		<customNavbarVue title="个人信息" :show-back-btn="true" @back="handleBack"></customNavbarVue>
-		<view>家政学用户协议</view>
-		<rich-text :nodes="ystkText"></rich-text>
+		<customNavbarVue title="用户协议" :show-back-btn="true" @back="handleBack"></customNavbarVue>
+		<view class="text-rich-box">
+			<rich-text :nodes="ystkText" class="text-rich-box"></rich-text>
+		</view>
 	</view>
 </template>
 

+ 5 - 4
pages/client/my/zhengce.vue

@@ -1,9 +1,10 @@
 <template>
-	<view class="ezy-ystk-page">
+	<view class="phone-text-page">
 		<!-- 导航区域 -->
-		<customNavbarVue title="个人信息" :show-back-btn="true" @back="handleBack"></customNavbarVue>
-		<view>家政学隐私政策</view>
-		<rich-text :nodes="ystkText"></rich-text>
+		<customNavbarVue title="隐私政策" :show-back-btn="true" @back="handleBack"></customNavbarVue>
+		<view class="text-rich-box">
+			<rich-text :nodes="ystkText"></rich-text>
+		</view>
 	</view>
 </template>