|
@@ -1,13 +1,19 @@
|
|
|
<template>
|
|
|
<view class="voice-no-auth">
|
|
|
<image class="img" :src="globalImgUrls.activityNoAuth" mode="widthFix"></image>
|
|
|
- <view style="margin-bottom:15px">您暂无权限查看线上路演</view>
|
|
|
- <view v-if="info.type==='contact'" style="margin-bottom:15px">若想查看可以联系对口销售</view>
|
|
|
- <view v-else style="margin-bottom:15px">若想查看可以申请开通</view>
|
|
|
- <view v-if="info.type==='contact'">
|
|
|
- {{info.name||''}}:<text @click="handleCall" style="color:#E3B377">{{info.mobile||''}}</text>
|
|
|
- </view>
|
|
|
- <view class="global-btn-yellow-change btn" @click="handleApply" v-else style="margin-top:30px">立即申请</view>
|
|
|
+ <template v-if="userInfo&&userInfo.is_bind==0">
|
|
|
+ <view style="margin-bottom:15px">您尚未登录,请登录后查看更多信息</view>
|
|
|
+ <view class="global-btn-yellow-change btn" @click="handleGoLogin">立即登录</view>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <view style="margin-bottom:15px">您暂无权限查看线上路演</view>
|
|
|
+ <view v-if="info.type==='contact'" style="margin-bottom:15px">若想查看可以联系对口销售</view>
|
|
|
+ <view v-else style="margin-bottom:15px">若想查看可以申请开通</view>
|
|
|
+ <view v-if="info.type==='contact'">
|
|
|
+ {{info.name||''}}:<text @click="handleCall" style="color:#E3B377">{{info.mobile||''}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="global-btn-yellow-change btn" @click="handleApply" v-else style="margin-top:30px">立即申请</view>
|
|
|
+ </template>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -22,7 +28,11 @@ export default {
|
|
|
this.handleAutoApply()
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+ computed: {
|
|
|
+ userInfo() {
|
|
|
+ return this.$store.state.user.userInfo;
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
handleCall(){
|
|
|
|
|
@@ -49,6 +59,12 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+
|
|
|
+ handleGoLogin(){
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'/pages/login?from=tologin'
|
|
|
+ })
|
|
|
+ },
|
|
|
|
|
|
async handleApply(){
|
|
|
await this.checkUserIsBind()
|