|
|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <view class="model" v-if="show">
|
|
|
+ <view class="model" v-if="hasNoShop">
|
|
|
<image :src="`${constant.imgUrl}/ghs/home/deserve.png`" class="noData_img"></image>
|
|
|
<view style="margin:45upx 0;color:white;font-size:35upx;">首次下单,请填写门店信息</view>
|
|
|
<view class="freeApply" @click="apply">填写</view>
|
|
|
@@ -9,17 +9,18 @@
|
|
|
<view style="margin:55upx 0;color:white;font-size:29upx;" >如您的伙伴需要买花,请联系批发店添加员工</view>
|
|
|
</view>
|
|
|
<block v-else>
|
|
|
- <view class="model-pass" v-if="pass == false">
|
|
|
+ <view class="model-pass" v-if="check == false">
|
|
|
<image :src="`${constant.imgUrl}/ghs/home/deserve.png`" class="noData_img"></image>
|
|
|
<view style="margin:80upx 0;color:white;font-size:34upx;">审核中</view>
|
|
|
<view class="freeApply" @click="refresh">刷新</view>
|
|
|
+ <view style="margin:80upx 0 0 0;text-decoration:underline;color:white;font-size:34upx;" @click="contactShop()">联系商家</view>
|
|
|
</view>
|
|
|
</block>
|
|
|
</template>
|
|
|
<script>
|
|
|
export default {
|
|
|
props: {
|
|
|
- show: {
|
|
|
+ notOpenShop: {
|
|
|
type: Boolean,
|
|
|
default: true,
|
|
|
},
|
|
|
@@ -37,13 +38,31 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
+ notOpenShop:{
|
|
|
+ handler(bool){
|
|
|
+ this.hasNoShop = bool == true ? true : false
|
|
|
+ },
|
|
|
+ immediate:true,
|
|
|
+ },
|
|
|
+ pass:{
|
|
|
+ handler(bool){
|
|
|
+ this.check = bool == true ? true : false
|
|
|
+ },
|
|
|
+ immediate:true,
|
|
|
+ },
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
constant: this.$constant,
|
|
|
- experCode: ''
|
|
|
+ experCode: '',
|
|
|
+ hasNoShop:true,
|
|
|
+ check:true
|
|
|
};
|
|
|
},
|
|
|
+ mounted(){
|
|
|
+ this.hasNoShop = this.notOpenShop == true ? true : false
|
|
|
+ this.check = this.pass == true ? true : false
|
|
|
+ },
|
|
|
methods: {
|
|
|
learnCg(){
|
|
|
this.$util.pageTo({url: '/admin/jc/video',query:{url:'cg.mp4'}})
|
|
|
@@ -57,6 +76,9 @@ export default {
|
|
|
rightClick() {
|
|
|
this.$emit('comfirm', this.experCode)
|
|
|
},
|
|
|
+ contactShop(){
|
|
|
+ this.$emit('contactShop')
|
|
|
+ },
|
|
|
goLogin(){
|
|
|
let that = this
|
|
|
that.$util.confirmModal({content:'如您的伙伴和员工也需要登录,请联系批发店添加员工',okText:'知道了'},() => {
|