|
@@ -49,9 +49,9 @@
|
|
|
<img :src="`${constant.imgUrl}/retail/common/trademark.png`" alt />
|
|
<img :src="`${constant.imgUrl}/retail/common/trademark.png`" alt />
|
|
|
</div>
|
|
</div>
|
|
|
<!-- buttom -->
|
|
<!-- buttom -->
|
|
|
- <div class="app-footer" @click="pageTo({url: '/pagesClient/official/pay',type: 2,query:{...option}})" v-if="getLoginInfo.openShop == 1">申请试用</div>
|
|
|
|
|
|
|
+ <div class="app-footer" @click="tryUse" v-if="getLoginInfo.openShop == 1">申请试用</div>
|
|
|
<div class="app-footer" v-if="getLoginInfo.openShop == 2">审核中</div>
|
|
<div class="app-footer" v-if="getLoginInfo.openShop == 2">审核中</div>
|
|
|
- <div class="app-footer" v-if="getLoginInfo.openShop == 3" @click="pageTo({url: '/pagesClient/official/renewal',type: 2})">续期</div>
|
|
|
|
|
|
|
+ <div class="app-footer" v-if="getLoginInfo.openShop == 3" @click="renwe">续期</div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -149,12 +149,36 @@ export default {
|
|
|
path: "pagesClient/official/index?ghsShopAdminId="+this.option.ghsShopAdminId+"&hdShopAdminId="+this.getLoginInfo.shopAdminId,
|
|
path: "pagesClient/official/index?ghsShopAdminId="+this.option.ghsShopAdminId+"&hdShopAdminId="+this.getLoginInfo.shopAdminId,
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- mounted() {
|
|
|
|
|
- // 隐藏返回首页按钮。
|
|
|
|
|
- // uni.hideHomeButton()
|
|
|
|
|
|
|
+ mounted() {},
|
|
|
|
|
+ onLoad(props) {
|
|
|
|
|
+ if(props.scene){
|
|
|
|
|
+ console.log('scene',props.scene)
|
|
|
|
|
+ const scene = decodeURIComponent(props.scene);
|
|
|
|
|
+ var sceneItem = scene.split("&");
|
|
|
|
|
+ var arr, name, value;
|
|
|
|
|
+ var sceneArray = new Array();
|
|
|
|
|
+ for (var i = 0, l = sceneItem.length; i < l; i++) {
|
|
|
|
|
+ arr = sceneItem[i].split("=");
|
|
|
|
|
+ name = arr[0];
|
|
|
|
|
+ value = arr[1];
|
|
|
|
|
+ sceneArray[name] = value;
|
|
|
|
|
+ }
|
|
|
|
|
+ if(sceneArray.hdShopAdminId){
|
|
|
|
|
+ this.option.hdShopAdminId = sceneArray.hdShopAdminId
|
|
|
|
|
+ }
|
|
|
|
|
+ if(sceneArray.ghsShopAdminId){
|
|
|
|
|
+ this.option.ghsShopAdminId = sceneArray.ghsShopAdminId
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
...mapActions(['setUserShopAll']),
|
|
...mapActions(['setUserShopAll']),
|
|
|
|
|
+ tryUse(){
|
|
|
|
|
+ this.pageTo({url: '/pagesClient/official/pay',type: 2,query:{...this.option}})
|
|
|
|
|
+ },
|
|
|
|
|
+ renwe(){
|
|
|
|
|
+ this.pageTo({url: '/pagesClient/official/renewal',type: 2})
|
|
|
|
|
+ },
|
|
|
contactFn() {
|
|
contactFn() {
|
|
|
uni.makePhoneCall({
|
|
uni.makePhoneCall({
|
|
|
phoneNumber: "05923272000"
|
|
phoneNumber: "05923272000"
|