[去升级换字段判断用is_top判断]
This commit is contained in:
@@ -703,11 +703,11 @@
|
|||||||
<input type="digit" v-model="skus_price" placeholder="0.00"/>
|
<input type="digit" v-model="skus_price" placeholder="0.00"/>
|
||||||
<text class="units">元{{skus_unit != '' ? '/' + skus_unit : ''}}</text>
|
<text class="units">元{{skus_unit != '' ? '/' + skus_unit : ''}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="form-box inputs-flex input-unit">
|
<!-- <view class="form-box inputs-flex input-unit">
|
||||||
<label class="form-label">分销佣金</label>
|
<label class="form-label">分销佣金</label>
|
||||||
<input type="digit" v-model="skus_charge" placeholder="0.00"/>
|
<input type="digit" v-model="skus_charge" placeholder="0.00"/>
|
||||||
<text class="units">元{{skus_unit != '' ? '/' + skus_unit : ''}}</text>
|
<text class="units">元{{skus_unit != '' ? '/' + skus_unit : ''}}</text>
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<!-- 商品详情介绍 -->
|
<!-- 商品详情介绍 -->
|
||||||
<view class="form-block">
|
<view class="form-block">
|
||||||
|
|||||||
@@ -58,14 +58,14 @@
|
|||||||
<view class="userVip-top-name" v-if="userIdentity.right">
|
<view class="userVip-top-name" v-if="userIdentity.right">
|
||||||
{{ userData.identity.id == 1 ? '开通' + userIdentity.right.name : '到期时间:' + userIdentity.times.ended_at}}
|
{{ userData.identity.id == 1 ? '开通' + userIdentity.right.name : '到期时间:' + userIdentity.times.ended_at}}
|
||||||
</view>
|
</view>
|
||||||
<view class="userVip-top-btn" v-if="userData.identity.id != 5"
|
<!-- v-if="userData.identity.id != 5" -->
|
||||||
@click="openVip(userIdentity.right.identity_id)">
|
<view class="userVip-top-btn" @click="openVip(userIdentity.right.identity_id)" >
|
||||||
{{ userData.identity.id == 1 ? '去开通' : '去升级'}}
|
{{ userData.identity.id == 1 ? '去开通' : userIdentity.is_top ?'已达成满级':'去升级'}}
|
||||||
<image class="userVip-top-arrow" src="/static/user/userVip_arrow.png"></image>
|
<image class="userVip-top-arrow" src="/static/user/userVip_arrow.png"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="userVip-top-btn" v-else>
|
<!-- <view class="userVip-top-btn" v-else>
|
||||||
已达成满级
|
已达成满级
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<!-- 已认证后显示 -->
|
<!-- 已认证后显示 -->
|
||||||
<view class="userVip-rights">
|
<view class="userVip-rights">
|
||||||
@@ -75,10 +75,14 @@
|
|||||||
全部更多 <image class="userVip-rightst-more-img" src="/static/user/userVip_more_arrow.png">
|
全部更多 <image class="userVip-rightst-more-img" src="/static/user/userVip_more_arrow.png">
|
||||||
</image>
|
</image>
|
||||||
</view> -->
|
</view> -->
|
||||||
<view class="userVip-rightst-more" @click="openVip(userIdentity.right.identity_id)">
|
<view class="userVip-rightst-more" @click="openVip(userIdentity.right.identity_id)">
|
||||||
全部更多 <image class="userVip-rightst-more-img" src="/static/user/userVip_more_arrow.png">
|
全部更多 <image class="userVip-rightst-more-img" src="/static/user/userVip_more_arrow.png">
|
||||||
</image>
|
</image>
|
||||||
</view>
|
</view>
|
||||||
|
<!-- <view class="userVip-rightst-more" v-else>
|
||||||
|
全部更多 <image class="userVip-rightst-more-img" src="/static/user/userVip_more_arrow.png">
|
||||||
|
</image>
|
||||||
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="userVip-rightst-list" v-if="userIdentity.right">
|
<view class="userVip-rightst-list" v-if="userIdentity.right">
|
||||||
<view v-for="(item, index) in userIdentity.right.rights" :key="index"
|
<view v-for="(item, index) in userIdentity.right.rights" :key="index"
|
||||||
|
|||||||
@@ -178,7 +178,7 @@
|
|||||||
this.identitie = res.identities
|
this.identitie = res.identities
|
||||||
if (type === 'cre') {
|
if (type === 'cre') {
|
||||||
let Index = res.identities.findIndex(val => val.identity_id == this.$Route.query.identity_id)
|
let Index = res.identities.findIndex(val => val.identity_id == this.$Route.query.identity_id)
|
||||||
if(Index+1 === res.identities){
|
if(Index+1 === res.identities.length){
|
||||||
this.tabsIndex = Index
|
this.tabsIndex = Index
|
||||||
}else{
|
}else{
|
||||||
this.tabsIndex = Index+1
|
this.tabsIndex = Index+1
|
||||||
|
|||||||
Reference in New Issue
Block a user