cyy-vue-material 1.1.69 → 1.1.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<div v-for="(item, index) in ele.goodsList" class="cube-item" :style="{
|
|
92
92
|
marginTop: `${ele.goodsMt}px`,
|
|
93
93
|
marginBottom: `${ele.goodsBt}px`,
|
|
94
|
-
}" :key="item.skuCode">
|
|
94
|
+
}" :key="item.skuCode" @click="goGoodsDetail(item)">
|
|
95
95
|
<div class="imgWrapper">
|
|
96
96
|
<div
|
|
97
97
|
v-if="isLc === false && (item.goodsSupplynum <= 0 || item.goodsProperty5 === '1')"
|
|
@@ -268,6 +268,16 @@ export default {
|
|
|
268
268
|
fontSize: item.titleFontSize || "16px",
|
|
269
269
|
};
|
|
270
270
|
},
|
|
271
|
+
goGoodsDetail(item) {
|
|
272
|
+
if (isLc) {
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
const { skuCode } = item;
|
|
276
|
+
let params = {
|
|
277
|
+
skuNo: skuCode,
|
|
278
|
+
};
|
|
279
|
+
this.$routers.push("detail", params);
|
|
280
|
+
},
|
|
271
281
|
},
|
|
272
282
|
};
|
|
273
283
|
</script>
|