auth.vue
1.28 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')}}
<span class="pointer btn" @click="gotoInformationPage">{{$t('customService.unauth.infoBtn')}}</span>
</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>