|
@@ -7,7 +7,8 @@
|
|
|
:style="'height: '+ systems.navigationHeight + 'rpx;margin-top:' + systems.ktxStatusHeight + 'rpx;'">
|
|
:style="'height: '+ systems.navigationHeight + 'rpx;margin-top:' + systems.ktxStatusHeight + 'rpx;'">
|
|
|
<navigator @click="toBack" hover-class="none" class="back ddflex"
|
|
<navigator @click="toBack" hover-class="none" class="back ddflex"
|
|
|
:style="'height: '+ systems.navigationHeight + 'rpx;'">
|
|
:style="'height: '+ systems.navigationHeight + 'rpx;'">
|
|
|
- <image src="/static/pages/images/back_black.png"></image>
|
|
|
|
|
|
|
+ <image v-if="!pageBack" src="/static/pages/images/back_black.png"></image>
|
|
|
|
|
+ <image v-else src="/static/pages/images/back_home.png" style="width: 40rpx;height:40rpx"></image>
|
|
|
</navigator>
|
|
</navigator>
|
|
|
<view :class="'top-title tover' + (isTop == 1 ? ' top-black':'')"
|
|
<view :class="'top-title tover' + (isTop == 1 ? ' top-black':'')"
|
|
|
:style="'line-height: '+ systems.navigationHeight + 'rpx;'">名片</view>
|
|
:style="'line-height: '+ systems.navigationHeight + 'rpx;'">名片</view>
|
|
@@ -84,7 +85,7 @@
|
|
|
@click="goPhone()">
|
|
@click="goPhone()">
|
|
|
<image src="/card/static/images/phone1.png"></image>电话联系</view>
|
|
<image src="/card/static/images/phone1.png"></image>电话联系</view>
|
|
|
<view class="share-ta ddflex fflex" style="background: linear-gradient(80deg, #FF985A 0%, #FF5700 100%);"
|
|
<view class="share-ta ddflex fflex" style="background: linear-gradient(80deg, #FF985A 0%, #FF5700 100%);"
|
|
|
- @click="jumpUrl('/card/poster/poster?id'+cardInfo.id)">
|
|
|
|
|
|
|
+ @click="jumpUrl('/card/poster/poster?id='+cardInfo.id)">
|
|
|
<image src="/card/static/images/fx.png"></image>分享名片</view>
|
|
<image src="/card/static/images/fx.png"></image>分享名片</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="save-text ddflex" v-if="cardId" @click="saveToPhone()">
|
|
<view class="save-text ddflex" v-if="cardId" @click="saveToPhone()">
|
|
@@ -92,7 +93,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="btns ddflex" v-if="!cardId" style="justify-content: center;">
|
|
<view class="btns ddflex" v-if="!cardId" style="justify-content: center;">
|
|
|
<view class="share-ta ddflex" style="background: linear-gradient(84deg, #6FE5BC 0%, #27D699 100%);width: 260rpx;margin-right: 30rpx;"
|
|
<view class="share-ta ddflex" style="background: linear-gradient(84deg, #6FE5BC 0%, #27D699 100%);width: 260rpx;margin-right: 30rpx;"
|
|
|
- @click="jumpUrl('/card/poster/poster?id'+cardInfo.id)">
|
|
|
|
|
|
|
+ @click="jumpUrl('/card/poster/poster?id='+cardInfo.id)">
|
|
|
<image src="/card/static/images/wdmp.png"></image>我的名片码</view>
|
|
<image src="/card/static/images/wdmp.png"></image>我的名片码</view>
|
|
|
<button open-type="share" class="share-ta ddflex" style="background: linear-gradient(80deg, #FF985A 0%, #FF5700 100%);width: 260rpx !important;"
|
|
<button open-type="share" class="share-ta ddflex" style="background: linear-gradient(80deg, #FF985A 0%, #FF5700 100%);width: 260rpx !important;"
|
|
|
>
|
|
>
|
|
@@ -344,7 +345,7 @@
|
|
|
<view scroll-x="true" :class="'pro-view' + (item.products.length == 1 ? ' pro-view1' : '')">
|
|
<view scroll-x="true" :class="'pro-view' + (item.products.length == 1 ? ' pro-view1' : '')">
|
|
|
<view class="li" v-for="(it, idx) in item.products" :key="idx" @click="toProductDetail(it)">
|
|
<view class="li" v-for="(it, idx) in item.products" :key="idx" @click="toProductDetail(it)">
|
|
|
<view class="ddflex">
|
|
<view class="ddflex">
|
|
|
- <image :src="it.pic + '?x-oss-process=style/w375'" mode="aspectFill" class="pro-pic"></image>
|
|
|
|
|
|
|
+ <image :src="it.pic" mode="aspectFill" class="pro-pic"></image>
|
|
|
<view class="fflex">
|
|
<view class="fflex">
|
|
|
<view class="title tovers">{{ it.title }}</view>
|
|
<view class="title tovers">{{ it.title }}</view>
|
|
|
<view class="opts ddflex">
|
|
<view class="opts ddflex">
|
|
@@ -449,6 +450,8 @@ import util from '../../utils/util.js';
|
|
|
userInfo:'',
|
|
userInfo:'',
|
|
|
|
|
|
|
|
isShowCodePop: false,
|
|
isShowCodePop: false,
|
|
|
|
|
+
|
|
|
|
|
+ pageBack:false
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
components:{ serviceContact },
|
|
components:{ serviceContact },
|
|
@@ -461,6 +464,14 @@ import util from '../../utils/util.js';
|
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
|
title:'加载中'
|
|
title:'加载中'
|
|
|
})
|
|
})
|
|
|
|
|
+
|
|
|
|
|
+ let page = getCurrentPages()
|
|
|
|
|
+ let pages = page[page.length-2]
|
|
|
|
|
+ if(pages){
|
|
|
|
|
+ this.pageBack = false
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.pageBack = true
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
async onShow() {
|
|
async onShow() {
|
|
@@ -483,7 +494,7 @@ import util from '../../utils/util.js';
|
|
|
return {
|
|
return {
|
|
|
title: this.cardInfo.realName,
|
|
title: this.cardInfo.realName,
|
|
|
path: '/card/index/index?cardId=' + this.cardInfo.id + '&userId=' + userInfo.id + (userInfo.userType==1?('&shareId=' + userInfo.saleNo):''),
|
|
path: '/card/index/index?cardId=' + this.cardInfo.id + '&userId=' + userInfo.id + (userInfo.userType==1?('&shareId=' + userInfo.saleNo):''),
|
|
|
- imageUrl: this.cardInfo.avatar + '?x-oss-process=style/w375', // 分享图
|
|
|
|
|
|
|
+ imageUrl: this.cardInfo.avatar, // 分享图
|
|
|
};
|
|
};
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -494,7 +505,7 @@ import util from '../../utils/util.js';
|
|
|
return {
|
|
return {
|
|
|
title: this.cardInfo.realName,
|
|
title: this.cardInfo.realName,
|
|
|
path: '/card/index/index?cardId=' + this.cardInfo.id + '&userId=' + userInfo.id,
|
|
path: '/card/index/index?cardId=' + this.cardInfo.id + '&userId=' + userInfo.id,
|
|
|
- imageUrl: this.cardInfo.avatar + '?x-oss-process=style/w375', // 分享图
|
|
|
|
|
|
|
+ imageUrl: this.cardInfo.avatar, // 分享图
|
|
|
};
|
|
};
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|