Blame view

src/components/auth/auth.vue 1.31 KB
joe committed
1
<template>
simon committed
2 3 4 5 6 7 8 9 10 11 12 13
	<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>
joe committed
14

simon committed
15 16 17 18 19 20 21 22 23 24 25 26
				<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>
joe committed
27

simon committed
28 29 30 31 32
				<!-- <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>
joe committed
33 34 35 36 37 38
</template>

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