Browse Source

修复多商户商品没传mch_id

一懒众山小 3 năm trước cách đây
mục cha
commit
09e5919891

+ 1 - 1
src/components/page-component/u-goods-list/u-ordinary-list.vue

xqd
@@ -187,7 +187,7 @@
 			<!--一行两个-->
 			<template v-else-if="listStyle === 2">
 				<block v-for="(goods, index) in goodsList" v-bind:key="index">
-					<view hover-class="goods-hover-class" v-on:click.stop="router(goods)"
+					<view hover-class="goods-hover-class" @click="router(goods)"
 						v-bind:class="[goodsStyleObject, 'u-one-line-two', 'dir-top-nowrap']" :style="[styleBox]">
 
 

+ 1 - 1
src/pages/index/hxj_index_component.vue

xqd
@@ -190,7 +190,7 @@
 			</view>
 			<view class="dir-left-wrap bottom">
 				<view class="item" v-for="(item,index) in homePages[11].data.catList[bottom_goods_index].goodsList" :key="index"
-					@click="goPage(`/pages/goods/goods?id=${item.id}`)">
+					@click="goPage(item.page_url)">
 					<view>
 						<image class="cover" :src="item.cover_pic"
 							mode=""></image>