From f1cad1531ba5193b03bd1b0901bca26541938b92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Mon, 28 Jul 2025 15:24:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/productInfo.vue | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/src/views/productInfo.vue b/src/views/productInfo.vue index bdb5cbb..2b166af 100644 --- a/src/views/productInfo.vue +++ b/src/views/productInfo.vue @@ -9,18 +9,22 @@
技术参数
-
+
{{ i.productInfoDetailTitle }}
-
-
{{ ii.productInfoDetailTitle }}
-
-
- - {{ ii.productInfoDetailDesc }} +
+
+ {{ ii.productInfoDetailTitle }} +
+
+ + {{ ii.productInfoDetailDesc }} +
@@ -29,7 +33,8 @@
产品图示
-
+
@@ -83,7 +88,8 @@ export default { tabsActive: 0, tabsList: [], configTypeId: 0, - contentList: [] + contentList: {}, + contentList1: {} } }, mounted() { @@ -101,8 +107,10 @@ export default { configTypeId: this.$route.query.id, // parentId: 0 }).then(e => { - this.contentList = e.data?.[0]?.hwProductInfoDetailList.filter(v => v.configModal === '13').sort((a, b) => a.productInfoOrder - b.productInfoOrder)?.[0] + this.contentList = e.data?.[0]; + this.contentList1 = e.data?.[0]?.hwProductInfoDetailList.filter(v => v.configModel === '13').sort((a, b) => a.productInfoOrder - b.productInfoOrder) console.log(this.contentList) + console.log(this.contentList1) }) }, getData() { @@ -183,7 +191,7 @@ export default { } .tabr { - width: calc(50% - 2px); + width: 100%; display: inline-block; text-align: center; line-height: 44px;