zhengjinyi 1 rok pred
rodič
commit
112a94679e

+ 2 - 2
components/cm-module/homeIndex/customer.vue

@@ -50,7 +50,7 @@
 		<tui-top-dropdown
 			backgroundColor="#FFFFFF"
 			:show="dropScreenShow"
-			:height="400"
+			:height="310"
 			:paddingbtm="10"
 			:translatey="dropScreenH"
 			@close="btnCloseDrop"
@@ -357,7 +357,7 @@ export default {
 	}
 }
 .tui-scroll-box{
-	height: 340rpx;
+	height: 280rpx;
 	overflow: hidden;
 }
 .tui-seizeaseat-24 {

+ 4 - 11
components/cm-module/homeIndex/navbars.vue

@@ -5,7 +5,7 @@
 				<view class="icon"> <image class="icon-image" :src="item.icon" mode="widthFix"></image> </view>
 				<view class="name">{{ item.name }}</view>
 			</view>
-			<view class="nav-item" @click="handleMore" v-if="list.length > 9">
+			<view class="nav-item" @click="handleMore" v-if="list.length === 9">
 				<view class="icon">
 					<image
 						class="icon-image"
@@ -45,16 +45,9 @@ export default {
 			this.$api.navigateTo(`/pages/goods/channel`)
 		},
 		NavToDetailPage(pros, index) {
-			//跳转
-			if (index === 3) {
-				let linkPath = 'https://static.caimei365.com/app/caimei-activity-h5/html/2023/activity_02.html'
-				this.$api.navigateTo(`/pages/h5/activity/activity?link=${linkPath}&linkId=382`)
-			} else {
-				/**
-				 * 页面跳转
-				 **/
-				this.$api.FlooryNavigateTo(pros)
-			}
+			// 采美快捷运营点击量统计
+			this.cmsMoudleHits(4, pros.id)
+			this.$api.FlooryNavigateTo(pros)
 		}
 	}
 }

+ 2 - 2
pages/supplier/user/my-shop.vue

@@ -809,7 +809,7 @@ export default {
 		async GetSupplierHomeProductList() {
 			//全部商品
 			try {
-				const res = this.ShopService.GetSupplierHomeProductList(this.listQuery)
+				const res = await this.ShopService.GetSupplierHomeProductList(this.listQuery)
 				if (res.data) {
 					const data = JSON.parse(res.data)
 					this.isEmpty = false
@@ -828,7 +828,7 @@ export default {
 			//加载分页
 			try {
 				this.listQuery.pageNum += 1
-				const res = this.ShopService.GetSupplierHomeProductList(this.listQuery)
+				const res = await this.ShopService.GetSupplierHomeProductList(this.listQuery)
 				const data = JSON.parse(res.data)
 				this.total = data.total
 				this.productList = this.productList.concat(data.items)