Browse Source

app分享

twt 1 year ago
parent
commit
f58b8819de
3 changed files with 5 additions and 2 deletions
  1. 1 0
      pages/addjk/activity.vue
  2. 2 0
      pages/addjk/activityDetail.vue
  3. 2 2
      pages/addjk/eadit.vue

+ 1 - 0
pages/addjk/activity.vue

@@ -136,6 +136,7 @@
 			},
 			goshare(item){
 				//app交互
+				item.groupType=item.GroupType
 				var standalone = window.navigator.standalone
 				var userAgent = window.navigator.userAgent.toLowerCase()
 				var safari = /safari/.test(userAgent)

+ 2 - 0
pages/addjk/activityDetail.vue

@@ -172,6 +172,8 @@
 					Img: this.img,
 					StartTime: this.info.createTime,
 					state: '',
+					groupType:this.info.groupType,
+					groupNumber:this.info.groupNumber,
 				}
 				console.log(obj)
 				var standalone = window.navigator.standalone

+ 2 - 2
pages/addjk/eadit.vue

@@ -476,7 +476,7 @@
 			  }
 		  },
 		  blurgroupMoney(){
-			  if(this.groupMoney>this.money){
+			  if(this.groupMoney>this.money||this.groupMoney==this.money){
 			  	uni.showToast({
 			  		 title: '拼团价格需小于支付金额',
 			  		 icon:'none',
@@ -586,7 +586,7 @@
 						 duration: 2000
 					});
 					return false;
-				}else if(this.groupMoney>this.money){
+				}else if(this.groupMoney>this.money||this.groupMoney==this.money){
 					uni.showToast({
 						 title: '拼团价格需小于支付金额',
 						 icon:'none',