diff --git a/manifest.json b/manifest.json index 7ec7cc4..907fc98 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "惠农生活", "appid" : "__UNI__3A527D1", "description" : "", - "versionName" : "2.0.06", - "versionCode" : 2006, + "versionName" : "2.0.07", + "versionCode" : 2007, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/index/index.vue b/pages/index/index.vue index b07c931..aaea4bd 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1060,6 +1060,7 @@ that.hotTitle = '加载中'; query.page = that.hotPage; query.limit = that.hotLimit; + query.sale_type = 1; getProductslist({ ...query }).then(res => { diff --git a/pages/payment/settlement.vue b/pages/payment/settlement.vue index ad10e32..ed64640 100644 --- a/pages/payment/settlement.vue +++ b/pages/payment/settlement.vue @@ -585,8 +585,9 @@ if (!that.payType) return that.$util.Tips({ title: '请选择支付方式' }); - - if (that.payType == 'balance' && this.userInfo.now_money < this.payForm.money) { + + + if (that.payType == 'balance' && +this.userInfo.now_money < +this.payForm.money) { return that.$util.Tips({ title: '余额不足,请选择其他的支付方式!' });