diff --git a/pages/product/product/goods/-goods-intro.vue b/pages/product/product/goods/-goods-intro.vue index 69d24dd..32fc5a7 100644 --- a/pages/product/product/goods/-goods-intro.vue +++ b/pages/product/product/goods/-goods-intro.vue @@ -8,7 +8,8 @@ - + @@ -21,17 +22,17 @@
- + +
+
+ {{group.groupName}} +
+
+
{{param.paramName}}
+
{{param.paramValue}}
+
+
-
- {{group.groupName}} -
-
-
{{param.paramName}}
-
{{param.paramValue}}
-
-
-
@@ -43,16 +44,15 @@ import { getGoodsMessage } from "@/api/goods"; export default { data() { return { - goodsDetail: "" + goodsDetail: "", }; }, props: ["res", "goodsId", "goodsParams"], async mounted() { - console.log(this.res) + console.log(this.res); let res = await getGoodsMessage(this.goodsId); if (res.data.success) { this.goodsDetail = res.data.result; - } }, }; @@ -103,6 +103,11 @@ export default { width: 100%; } +.vhtml { + /deep/ img { + display: block !important; + } +} /deep/ img { width: 100%; @@ -126,7 +131,11 @@ export default { width: 52rpx; height: 6rpx; - background-image: linear-gradient(90deg, $price-color, $price-light-color); + background-image: linear-gradient( + 90deg, + $price-color, + $price-light-color + ); } } > .goods-detail-item {