shish vor 7 Monaten
Ursprung
Commit
3fda3580d9

+ 8 - 8
hdApp/src/pagesPurchase/components/wangCg.vue

@@ -1,19 +1,19 @@
 <template>
   <view class="model" v-if="hasNoShop">
     <image :src="`${constant.hostUrl}/image/ghs/home/deserve.png`" class="noData_img"></image>
-    <view style="margin:45upx 0;color:white;font-size:35upx;">首次下单,请填写门店信息</view>
+    <view style="margin:45upx 0;color:white;font-size:35upx;">首次下单,请填写门店信息</view>
     <view class="freeApply" @click="apply">填写</view>
-    <view style="margin:65upx 0 0 0;color:white;font-size:40upx;" @click="goLogin()">
-      <text style="text-decoration:underline;">已填过,直接登录</text>
+    <view style="margin:50upx 0 45upx 0;color:white;font-size:35upx;">
+      <text>过,直接登录</text>
     </view>
-    <view style="margin:55upx 0;color:white;font-size:29upx;" >如您的伙伴需要买花,请联系批发店添加员工</view>
+    <view class="freeApply" @click="goLogin()">登录</view>
   </view>
   <block v-else>
     <view class="model-pass" v-if="check == false">
       <image :src="`${constant.hostUrl}/image/ghs/home/deserve.png`" class="noData_img"></image>
-      <view style="margin:80upx 0;color:white;font-size:34upx;">审核中</view>
+      <view style="margin:80upx 0;color:white;font-size:36upx;">审核中</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 style="margin:80upx 0 0 0;text-decoration:underline;color:white;font-size:36upx;" @click="contactShop()">联系商家</view>
     </view>
   </block>
 </template>
@@ -100,8 +100,8 @@ export default {
   overflow: hidden;
   text-align: center;
   & > .noData_img {
-    width: 280upx;
-    height: 280upx;
+    width: 240upx;
+    height: 240upx;
     margin: 50upx auto 0;
   }
   & > .no_data_text {

+ 11 - 0
hdApp/src/pagesPurchase/ghsProduct.vue

@@ -521,7 +521,18 @@ export default {
 			this.$util.pageTo({url: "/admin/ghsProduct/detail",query: {id: item.id, ghsId:this.option.id, shopId:this.shopId}})
 		},
 		toRefresh(){
+			// #ifdef APP-PLUS
 			this.init()
+			// #endif
+			// #ifdef MP-WEIXIN
+			if(Number(this.ghsId)>0){
+				uni.reLaunch({url: '/pagesPurchase/ghsProduct?id='+this.ghsId})
+			}else{
+				this.$util.confirmModal({content:'没有登录,请先登录'},() => {
+					this.pageTo({url: '/admin/home/login'})
+				})
+			}
+			// #endif
 		},
 		contactShop(){
 			let ghs = this.ghsInfo