auth.vue 1.31 KB
<template>
	<div v-if="showPanel">
		<!-- 登陆提示 -->
		<div v-if="showUnAuth">
			<div class="alert">
				<img class="icon" src="@/assets/images/common/icon-alert-i.png" alt="">
				<div class="txt">
					{{tips.tit}}
					<span class="pointer btn" @click="gotoLoginPage">{{$t('customService.unauth.login')}}</span>
					{{tips.or}}
					<span class="pointer btn" @click="gotoRegisterPage">{{$t('customService.unauth.register')}}</span>
					{{tips.tail}}
				</div>

				<img v-if="model=='suggest'" class="pointer close" src="@/assets/images/common/icon-alert-close.png" alt="" @click="showSuggest = false">
			</div>
		</div>
		<!-- 五项基本信息验证提示 -->
		<div v-if="showProfileInfo">
			<div class="alert">
				<img class="icon" src="@/assets/images/common/icon-alert-i.png" alt="">
				<div class="txt">
					{{$t('customService.unauth.baseInfoTip')}}&nbsp;
					<span class="pointer btn" @click="gotoInformationPage">{{$t('customService.unauth.infoBtn')}}</span>
					&nbsp;{{$t('customService.unauth.baseInfoTail')}}
				</div>

				<!-- <img class="pointer close" src="@/assets/images/common/icon-alert-close.png" alt=""> -->
			</div>
		</div>
		<div class="empty-line" v-if="model!='suggest'"></div>
	</div>
</template>

<script src="./auth.js"></script>
<style lang="scss" scoped>
@import "./auth.scss";
</style>