shish 1 år sedan
förälder
incheckning
7ca1f1ce9a

+ 4 - 0
hdApp/src/pagesPurchase/components/wangCg.vue

@@ -12,6 +12,7 @@
     <view class="model-pass" v-if="pass == false">
     <view class="model-pass" v-if="pass == false">
       <image :src="`${constant.imgUrl}/ghs/home/deserve.png`" class="noData_img"></image>
       <image :src="`${constant.imgUrl}/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:34upx;">审核中</view>
+      <view class="freeApply" @click="refresh">刷新</view>
     </view>
     </view>
   </block>
   </block>
 </template>
 </template>
@@ -47,6 +48,9 @@ export default {
     learnCg(){
     learnCg(){
         this.$util.pageTo({url: '/admin/jc/video',query:{url:'cg.mp4'}})
         this.$util.pageTo({url: '/admin/jc/video',query:{url:'cg.mp4'}})
     },
     },
+    refresh(){
+      this.$emit('refresh')
+    },
     apply() {
     apply() {
       this.$emit('bthClick')
       this.$emit('bthClick')
     },
     },

+ 5 - 2
hdApp/src/pagesPurchase/ghsProduct.vue

@@ -126,12 +126,12 @@
 		</modal-module>
 		</modal-module>
 
 
 		<FooterCart :price="allPrice" :count="allCount" @confirm="confirmSelectEvent" @showCartItem="showCartItem"></FooterCart>
 		<FooterCart :price="allPrice" :count="allCount" @confirm="confirmSelectEvent" @showCartItem="showCartItem"></FooterCart>
-		<wangCg :show.sync="notOpenShop" :pass.sync="pass" @bthClick="goToCg()"></wangCg>
+		<wangCg :show.sync="notOpenShop" :pass.sync="pass" @bthClick="goToCg()" @refresh="toRefresh"></wangCg>
     	<sel-popup :show="popupShow" :info="infoData" @close="hidePopup" />
     	<sel-popup :show="popupShow" :info="infoData" @close="hidePopup" />
 		<app-activily-coupon :show.sync="isNewCustom" :info="newCustomGift" :ghsId="ghsId" />
 		<app-activily-coupon :show.sync="isNewCustom" :info="newCustomGift" :ghsId="ghsId" />
 
 
 		<view v-if="cartItemShow == true" style="position: fixed;z-index: 190;top: 0;left: 0;width: 100vw;height: 100vh;background: rgba(0, 0, 0, 0.6);color: #fff;" @click="hideCartItem()">
 		<view v-if="cartItemShow == true" style="position: fixed;z-index: 190;top: 0;left: 0;width: 100vw;height: 100vh;background: rgba(0, 0, 0, 0.6);color: #fff;" @click="hideCartItem()">
-			<view style="position: fixed;bottom: 108upx;width:100vw;heigh:300upx;background-color:white;" @click.stop="">
+			<view style="position: fixed;bottom: 108upx;width:100vw;height:300upx;background-color:white;" @click.stop="">
 				<view class="commodity-view">
 				<view class="commodity-view">
 					<view class="summary-bar">
 					<view class="summary-bar">
 						<button class="admin-button-com blue middle" @click.stop="delMemory()">清空花材</button>
 						<button class="admin-button-com blue middle" @click.stop="delMemory()">清空花材</button>
@@ -503,6 +503,9 @@ export default {
 		showBigCover(item){
 		showBigCover(item){
 			this.$util.pageTo({url: "/admin/ghsProduct/detail",query: {id: item.id,ghsId:this.option.id}})
 			this.$util.pageTo({url: "/admin/ghsProduct/detail",query: {id: item.id,ghsId:this.option.id}})
 		},
 		},
+		toRefresh(){
+			this.init()
+		},
 		init(){
 		init(){
 
 
 			//通过供货商小程序分享进采购页,注册的客户,注册后引导返回采购页
 			//通过供货商小程序分享进采购页,注册的客户,注册后引导返回采购页