|
@@ -177,6 +177,27 @@
|
|
|
</view>
|
|
</view>
|
|
|
</uni-popup>
|
|
</uni-popup>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <uni-popup ref="showWx" background-color="#fff" type="center" :animation="false" class="class-popup-style">
|
|
|
|
|
+ <view style="width:80vw;">
|
|
|
|
|
+ <view style="margin:40upx 0 20upx 0;font-size:34upx;font-weight:bold;width:80vw;text-align:center;">长按识别二维码</view>
|
|
|
|
|
+ <image :src="superWx" style="width:50vw;margin:0 auto;" mode="widthFix" show-menu-by-longpress="true"></image>
|
|
|
|
|
+ <view style="margin:20upx 0 20upx 0;font-size:30upx;font-weight:bold;width:80vw;text-align:center;display: flex;align-items: center; justify-content: center;" @click="callUp()">
|
|
|
|
|
+ 联系电话:{{ telephone }}
|
|
|
|
|
+ <button class="admin-button-com mini-btn blue" style="margin-left:20upx;">拨打</button>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view style="width:80vw;margin:60upx 0 60upx 0;display:flex;align-items: center; justify-content: center;">
|
|
|
|
|
+ <button class="admin-button-com big blue" style="width:260upx;" @click="closeWxShow()">关闭</button>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </uni-popup>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <view v-if="superWx!=''" @click="toViewWx" style="width:200upx;height:84upx;position:fixed;bottom:240upx;right:-32upx;border-radius:40upx;background: rgba(0,0,0,.50);display: flex;align-items: center;">
|
|
|
|
|
+ <image :src="`${constant.imgUrl}/mall/wx_code.png`" style="width:74upx;height:74upx;margin-left:8upx;" mode="widthFix"></image>
|
|
|
|
|
+ <view style="width:90upx;color:white;margin-left:8upx;">扫码添加微信</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+
|
|
|
<view v-if="ghsInfo.black && ghsInfo.black == 2" style="position:fixed;bottom:180upx;z-index:99999;
|
|
<view v-if="ghsInfo.black && ghsInfo.black == 2" style="position:fixed;bottom:180upx;z-index:99999;
|
|
|
font-weight:bold;font-size:36upx;
|
|
font-weight:bold;font-size:36upx;
|
|
|
color:red;width:100%;text-align:center;">
|
|
color:red;width:100%;text-align:center;">
|
|
@@ -267,7 +288,9 @@ export default {
|
|
|
buyNotice:0,
|
|
buyNotice:0,
|
|
|
getappIdList: {},
|
|
getappIdList: {},
|
|
|
backAction:'',
|
|
backAction:'',
|
|
|
- shareImgUrl:''
|
|
|
|
|
|
|
+ shareImgUrl:'',
|
|
|
|
|
+ superWx:'',
|
|
|
|
|
+ telephone:''
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
onPullDownRefresh() {
|
|
onPullDownRefresh() {
|
|
@@ -363,6 +386,9 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ callUp () {
|
|
|
|
|
+ uni.makePhoneCall({ phoneNumber: this.telephone })
|
|
|
|
|
+ },
|
|
|
goSearchFn(){
|
|
goSearchFn(){
|
|
|
let ghsShopId = this.ghsInfo.shopId ? this.ghsInfo.shopId : 0
|
|
let ghsShopId = this.ghsInfo.shopId ? this.ghsInfo.shopId : 0
|
|
|
//源花汇暂时开放一个字也能搜索
|
|
//源花汇暂时开放一个字也能搜索
|
|
@@ -384,6 +410,12 @@ export default {
|
|
|
this.$refs.selectFlowerNumRef.close()
|
|
this.$refs.selectFlowerNumRef.close()
|
|
|
this.swichClass(index)
|
|
this.swichClass(index)
|
|
|
},
|
|
},
|
|
|
|
|
+ closeWxShow(){
|
|
|
|
|
+ this.$refs.showWx.close()
|
|
|
|
|
+ },
|
|
|
|
|
+ toViewWx(){
|
|
|
|
|
+ this.$refs.showWx.open('center')
|
|
|
|
|
+ },
|
|
|
selectFlowerNumFn(){
|
|
selectFlowerNumFn(){
|
|
|
this.$refs.selectFlowerNumRef.open('top')
|
|
this.$refs.selectFlowerNumRef.open('top')
|
|
|
},
|
|
},
|
|
@@ -520,6 +552,8 @@ export default {
|
|
|
ghsInfo({shopId: this.option.shopId}).then(res => {
|
|
ghsInfo({shopId: this.option.shopId}).then(res => {
|
|
|
this.ghsInfo = res.data
|
|
this.ghsInfo = res.data
|
|
|
this.shareImgUrl = res.data.shareLogo ? res.data.shareLogo : ''
|
|
this.shareImgUrl = res.data.shareLogo ? res.data.shareLogo : ''
|
|
|
|
|
+ this.superWx = res.data.superWx ? res.data.superWx : ''
|
|
|
|
|
+ this.telephone = res.data.telephone ? res.data.telephone : ''
|
|
|
let id = res.data.id
|
|
let id = res.data.id
|
|
|
this.ghsId = id
|
|
this.ghsId = id
|
|
|
this.buyNotice = res.data.buyNotice
|
|
this.buyNotice = res.data.buyNotice
|
|
@@ -552,6 +586,8 @@ export default {
|
|
|
this.shopId = res.data.shopId
|
|
this.shopId = res.data.shopId
|
|
|
this.buyNotice = res.data.buyNotice
|
|
this.buyNotice = res.data.buyNotice
|
|
|
this.shareImgUrl = res.data.shareLogo ? res.data.shareLogo : ''
|
|
this.shareImgUrl = res.data.shareLogo ? res.data.shareLogo : ''
|
|
|
|
|
+ this.superWx = res.data.superWx ? res.data.superWx : ''
|
|
|
|
|
+ this.telephone = res.data.telephone ? res.data.telephone : ''
|
|
|
//只有注册了和没有列入黑名单才判断他是不是花店身份
|
|
//只有注册了和没有列入黑名单才判断他是不是花店身份
|
|
|
if(this.buyNotice == 1){
|
|
if(this.buyNotice == 1){
|
|
|
this.myClass = 'fadeIn'
|
|
this.myClass = 'fadeIn'
|