Quellcode durchsuchen

我的页面新增隐私协议

tanxue vor 3 Monaten
Ursprung
Commit
b69b676fb3
3 geänderte Dateien mit 20 neuen und 3 gelöschten Zeilen
  1. 6 1
      common/styles/global/pages.scss
  2. 14 2
      pages/my/index.vue
  3. BIN
      static/images/my/list-icon7.png

+ 6 - 1
common/styles/global/pages.scss

@@ -782,7 +782,7 @@
 	
 // 我的页面
 .ezy-my-page{
-	width: 100%;height: 100vh;background-color: #00c5fe;position: relative;overflow: auto;
+	width: 100%;height: 100vh;min-height: 1600rpx;background-color: #00c5fe;position: relative;overflow: auto;
 	padding-top:var(--status-bar-height);@include ezy-no-repeat-cover(bottom);background-image: url("@/static/images/my/my-page-bj.png");
 	.my-head-box{
 		width: 100%;padding: 80rpx 24rpx 42rpx;box-sizing: border-box;display: flex;align-items: center;color: #fff;
@@ -825,8 +825,10 @@
 		.login-out-icon{background-image: url("@/static/images/my/list-icon4.png");}
 		.about-icon{background-image: url("@/static/images/my/list-icon5.png");}
 		.zhuxiao-icon{background-image: url("@/static/images/my/list-icon6.png");}
+		.yszc-icon{background-image: url("@/static/images/my/list-icon7.png");}
 	}
 	@media (max-height: 736px) {
+		min-height: 1400rpx;
 		.my-head-box{padding: 46rpx 24rpx 16rpx;}
 		.my-list-box{
 			margin: 6rpx auto 0;
@@ -842,6 +844,9 @@
 			.list-row::after{right: 16rpx;}
 		}
 	}
+	@media (max-height: 500px) {
+		min-height: 1300rpx;
+	}
 }
 .ezy-my-page::before{
 	content: '';width: 279rpx;height: 250rpx;display:block;

+ 14 - 2
pages/my/index.vue

@@ -37,6 +37,10 @@
 			<view  v-if="loginFlag" class="list-row no-jt" @click="yonghuzhuxiao">
 				<icon class="list-icon zhuxiao-icon"></icon>
 				<text>用户注销</text>
+			</view>
+			<view  v-if="loginFlag" class="list-row no-jt" @click="yinsizhengce">
+				<icon class="list-icon yszc-icon"></icon>
+				<text>隐私政策</text>
 			</view>
 			<view class="list-row no-jt" @click="exitLogin">
 				<icon class="list-icon login-out-icon"></icon>
@@ -48,10 +52,12 @@
 		<tip-middle-dialog ref="youkeDialogRef" @confirm-btn="ykConfirm" :content="MESSAGE_VISITER_TO_LOGIN"></tip-middle-dialog>
 		<tip-small-dialog ref="zhuxiaoDialogRef" @confirm-btn="zhuxiaoBtn" :content="zhuxiaoContent"></tip-small-dialog>
 		<tel-dialog @telClose="telClose" @bindBtn="bindBtn" v-if="telDialogFlag"></tel-dialog>
+		<agree-content-dialog ref="agreeContentDialogRef" :agreeType="agreeType"></agree-content-dialog>
 	</view>
 </template>
 
 <script setup>
+	import agreeContentDialog from '@/pages/login/agreeContentDialog.vue';
 	import {toast,getUserIdentity} from "@/utils/common";
 	import cacheManager from '@/utils/cacheManager.js';
 	import {logout} from '@/api/login.js'
@@ -75,8 +81,8 @@
 			noYoukeFun();
 		}
 	})
-	
-	
+	const agreeType = ref(null);
+	const agreeContentDialogRef = ref(null);
 	const zhangId = ref(null); //游客使用
 	const nianji = ref(null); //游客使用
 	const cardId = ref(null); //游客使用
@@ -144,6 +150,12 @@
 	function yonghuzhuxiao(){
 			zhuxiaoDialogRef.value.handleShow();
 	}
+	
+	function yinsizhengce(){
+			agreeType.value = 'ystk'
+			agreeContentDialogRef.value.handleShow();
+	}
+	
 	// 游客弹窗---确定
 
 	function ykConfirm(){

BIN
static/images/my/list-icon7.png