|
@@ -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(){
|