|
|
@@ -39,15 +39,15 @@
|
|
|
<view class="dec">
|
|
|
<block v-if="myInfo.lifelong == 0">
|
|
|
<block v-if="showDeadline">
|
|
|
- <text class="dec-deadline-text" @click="goRenew()">到期时间 {{ myInfo.shopInfo && myInfo.shopInfo.deadline ? myInfo.shopInfo.deadline.substr(0,11) : '' }}</text>
|
|
|
- <view class="dec-renew" @click="goRenew()">
|
|
|
+ <text class="dec-deadline-text" @click="goRenew(0)">到期时间 {{ myInfo.shopInfo && myInfo.shopInfo.deadline ? myInfo.shopInfo.deadline.substr(0,11) : '' }}</text>
|
|
|
+ <view class="dec-renew" @click="goRenew(0)">
|
|
|
<text class="dec-renew-label">去续费</text>
|
|
|
<text class="iconfont iconxiangyou dec-renew-arrow"></text>
|
|
|
</view>
|
|
|
</block>
|
|
|
<block v-else>
|
|
|
- <text class="dec-deadline-text" @click="">请打开微信小程序查看时间</text>
|
|
|
- <view class="dec-renew" @click="">
|
|
|
+ <text class="dec-deadline-text" @click="goRenew(1)">请打开微信小程序查看时间</text>
|
|
|
+ <view class="dec-renew" @click="goRenew(1)">
|
|
|
<text class="dec-renew-label">去查看</text>
|
|
|
<text class="iconfont iconxiangyou dec-renew-arrow"></text>
|
|
|
</view>
|
|
|
@@ -76,11 +76,7 @@
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
- <view
|
|
|
- v-if="myInfo.lifelong == 0 && showDeadline"
|
|
|
- class="renew-promo-banner"
|
|
|
- @click="goRenew"
|
|
|
- >
|
|
|
+ <view v-if="myInfo.lifelong == 0 && showDeadline" class="renew-promo-banner" @click="goRenew(0)" >
|
|
|
<view class="renew-promo-inner">
|
|
|
<view class="renew-promo-left">
|
|
|
<view class="renew-promo-badge">
|
|
|
@@ -400,8 +396,12 @@ export default {
|
|
|
},
|
|
|
selectShopFn(){
|
|
|
},
|
|
|
- goRenew () {
|
|
|
+ goRenew (type) {
|
|
|
let that = this
|
|
|
+ let url = '/admin/shop/renew'
|
|
|
+ if(type == 1){
|
|
|
+ url = '/admin/home/me'
|
|
|
+ }
|
|
|
// #ifdef APP-PLUS
|
|
|
if (plus.runtime.isApplicationExist({ pname: 'com.tencent.mm', action: 'weixin://' })) {
|
|
|
plus.share.getServices(function (s) {
|