Bladeren bron

no message

xiaoxin 1 jaar geleden
bovenliggende
commit
c83130bf5c
4 gewijzigde bestanden met toevoegingen van 232 en 209 verwijderingen
  1. 207 206
      manifest.json
  2. 20 2
      pages/index/index.vue
  3. 2 1
      pages/index/shop/index.vue
  4. 3 0
      pages/order/index.vue

File diff suppressed because it is too large
+ 207 - 206
manifest.json


+ 20 - 2
pages/index/index.vue

@@ -595,6 +595,7 @@
 				that.getUserInfo()
 
 				that.$Request.getT('/app/common/type/266').then(res => { //订单取消通知
+				// console.log(res, 963)
 					if (res.code == 0) {
 						if (res.data && res.data.value) {
 							that.arr.push(res.data.value)
@@ -602,12 +603,29 @@
 					}
 				})
 				that.$Request.getT('/app/common/type/269').then(res => { //订单状态通知
+				// console.log(res, 966)
 					if (res.code == 0) {
 						if (res.data && res.data.value) {
 							that.arr.push(res.data.value)
 						}
 					}
 				})
+				// that.$Request.getT('/app/common/type/440').then(res => { //订单状态通知
+				// // console.log(res, 999)
+				// 	if (res.code == 0) {
+				// 		if (res.data && res.data.value) {
+				// 			that.arr.push(res.data.value)
+				// 		}
+				// 	}
+				// })
+				// that.$Request.getT('/app/common/type/441').then(res => { //订单状态通知
+				// // console.log(res, 999)
+				// 	if (res.code == 0) {
+				// 		if (res.data && res.data.value) {
+				// 			that.arr.push(res.data.value)
+				// 		}
+				// 	}
+				// })
 				// #ifdef MP-WEIXIN
 				if (that.showModal) {
 					that.openMsg()
@@ -1074,7 +1092,7 @@
 				}
 				console.log(data,'jjj')
 				this.$Request.getT('/app/goods/selectShop', data).then(res => {
-					console.log(res,'hhhhhh')
+					console.log(res,'hhhhhh6')
 					if (res.code == 0) {
 						this.totalCount = res.data.totalCount
 						res.data.list.forEach(ret => {
@@ -1088,7 +1106,7 @@
 								}
 							}
 
-							ret.shopScore = ret.shopScore.toFixed(1)
+							ret.shopScore = ret.shopScore.toFixed(2)
 							ret.shopLable = ret.shopLable ? ret.shopLable.split(',') : ''
 							ret.shopCover = ret.shopCover ? ret.shopCover.split(',') :
 								'../../static/logo.png'

+ 2 - 1
pages/index/shop/index.vue

@@ -859,6 +859,7 @@ export default {
 				lat: this.lat
 			}
 			this.$Request.get('/app/goods/selectGoodsList', data).then((res) => {
+				console.log(res, '999')
 				if (res.code == 0 && res.data) {
 					this.dataList = res.data.list
 					this.shopDet = res.data.goodsShop
@@ -2169,4 +2170,4 @@ page {
 	width: 180rpx; /* 三张图片平分宽度 */
 	height: 135rpx;
 }
-</style>
+</style>

+ 3 - 0
pages/order/index.vue

@@ -369,6 +369,7 @@ export default {
 		})
 
 		this.$Request.getT('/app/common/type/266').then((res) => {
+			console.log(res, 963)
 			//订单取消通知
 			if (res.code == 0) {
 				if (res.data && res.data.value) {
@@ -880,6 +881,8 @@ export default {
 				orderType: this.orderType
 			}
 
+			// console.log(data)
+
 			this.$Request.get('/app/order/waitTakeFood', data).then((res) => {
 				if (res.code == 0) {
 					this.waimaiCount = res.data.totalCount