|
|
@@ -8,12 +8,20 @@
|
|
|
<button class="admin-button-com big" style="width:70vw;" @click="goDetail">订单详情</button>
|
|
|
<button v-if="ghsCgScene!=''" class="admin-button-com big" style="width:70vw;margin-top:18upx;" @click="goHome">返回首页</button>
|
|
|
<button v-else class="admin-button-com big" style="width:70vw;margin-top:18upx;" @click="goBack">返回</button>
|
|
|
- <view style="margin-top:15upx;">
|
|
|
+
|
|
|
+ <view style="margin-top:15upx;" v-if="showFirstGuide">
|
|
|
<view style="font-size:28upx;">微信下拉,搜索小程序 花掌柜,可再次买花</view>
|
|
|
<view style="margin-bottom:30upx;margin-top:15upx;">
|
|
|
- <image class="image" :src="`${constant.imgUrl}/cg/hd_cg_route3.png`" mode="widthFix"></image>
|
|
|
+ <image style="width:70vw;" :src="`${constant.imgUrl}/cg/hd_cg_route3.png`" mode="widthFix"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view style="margin-top:10upx;" v-else>
|
|
|
+ <view style="margin-bottom:30upx;margin-top:10upx;">
|
|
|
+ <image style="width:82vw;" :src="`${constant.imgUrl}/cg/hd_cg_route4.png`" mode="widthFix"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
+
|
|
|
</view>
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
<view style="width:690upx;height:25upx;background-color: #f5f5f5;"></view>
|
|
|
@@ -36,12 +44,18 @@ export default {
|
|
|
currentEnv:'production',
|
|
|
fromCg:0,
|
|
|
flowersList:[],
|
|
|
- onlyCg:1
|
|
|
+ onlyCg:1,
|
|
|
+ showFirstGuide:true
|
|
|
}
|
|
|
},
|
|
|
onLoad () {
|
|
|
this.hasInit = true
|
|
|
|
|
|
+ const storageKey = 'particularsVisitCount'
|
|
|
+ let visitCount = Number(uni.getStorageSync(storageKey) || 0) + 1
|
|
|
+ uni.setStorageSync(storageKey, visitCount)
|
|
|
+ this.showFirstGuide = visitCount <= 1
|
|
|
+
|
|
|
//供货商打开太阳码分享给客户,客户需要采购进来
|
|
|
let scene = uni.getStorageSync('ghsCgScene')
|
|
|
if(scene){
|