diff --git a/f/web-kboss/src/router/index.js b/f/web-kboss/src/router/index.js
index 2f2eb03..c037e80 100644
--- a/f/web-kboss/src/router/index.js
+++ b/f/web-kboss/src/router/index.js
@@ -91,7 +91,7 @@ export const constantRoutes = [
path: "net",
title: '网',
component: () => import('@/views/H5/net/index.vue'),
- meta: {
+ meta: {
title: "网", fullPath: "/h5HomePage/net",
},
},
@@ -103,6 +103,15 @@ export const constantRoutes = [
title: "用", fullPath: "/h5HomePage/use",
},
},
+ {
+ path: "details",
+ title: '产品详情',
+ component: () => import('@/views/H5/details/index.vue'),
+ meta: {
+ title: "产品详情", fullPath: "/h5HomePage/details",
+ },
+
+ }
]
},
{
diff --git a/f/web-kboss/src/views/H5/calculate/index.vue b/f/web-kboss/src/views/H5/calculate/index.vue
index af5b513..7fd737d 100644
--- a/f/web-kboss/src/views/H5/calculate/index.vue
+++ b/f/web-kboss/src/views/H5/calculate/index.vue
@@ -61,10 +61,14 @@
智算
-
+
@@ -159,6 +163,17 @@ export default {
this.activeSupplierIndex = index
},
+ // 跳转到详情页
+ goToDetail(productId) {
+ // 使用路由跳转到详情页,携带productId作为参数
+ this.$router.push({
+ path: '/h5HomePage/details',
+ query: {
+ id: productId
+ }
+ })
+ },
+
// 打开咨询弹窗
openConsultDialog(product, category) {
this.currentProduct = product
diff --git a/f/web-kboss/src/views/H5/details/index.vue b/f/web-kboss/src/views/H5/details/index.vue
new file mode 100644
index 0000000..3dc627f
--- /dev/null
+++ b/f/web-kboss/src/views/H5/details/index.vue
@@ -0,0 +1,16 @@
+
+
+ 详情页
+
+
+
+
+
+
diff --git a/f/web-kboss/src/views/H5/less/official/index.css b/f/web-kboss/src/views/H5/less/official/index.css
index 68e57ac..1e2398b 100644
--- a/f/web-kboss/src/views/H5/less/official/index.css
+++ b/f/web-kboss/src/views/H5/less/official/index.css
@@ -279,7 +279,6 @@
max-width: 12.8rem;
margin: 0 auto;
position: relative;
- z-index: 1;
}
/* 顶部信息区域 */
.footer-top {
@@ -352,7 +351,7 @@
gap: 0.16rem;
}
}
-.footer-center .contact-item .phone-link {
+.footer-center .contact-item 下 .phone-link {
color: #333;
text-decoration: none;
transition: all 0.3s;
@@ -360,7 +359,7 @@
font-size: 0.208rem;
/* 增大30%: 0.16rem * 1.3 = 0.208rem */
}
-.footer-center .contact-item .phone-link:hover {
+.footer-center .contact-item 下 .phone-link:hover {
color: #275AFF;
text-decoration: underline;
}
diff --git a/f/web-kboss/src/views/H5/less/official/index.less b/f/web-kboss/src/views/H5/less/official/index.less
index bf78d83..e73f387 100644
--- a/f/web-kboss/src/views/H5/less/official/index.less
+++ b/f/web-kboss/src/views/H5/less/official/index.less
@@ -288,7 +288,7 @@
max-width: 12.8rem;
margin: 0 auto;
position: relative;
- z-index: 1;
+ // z-index: 1;
}
/* 顶部信息区域 */
@@ -368,10 +368,7 @@
align-items: center;
gap: 0.16rem;
}
- }
- .center{
- // display: flex;
- }
+ }下
.phone-link {
color: #333;
text-decoration: none;
diff --git a/f/web-kboss/src/views/H5/official/index.vue b/f/web-kboss/src/views/H5/official/index.vue
index df4cc1b..717c285 100644
--- a/f/web-kboss/src/views/H5/official/index.vue
+++ b/f/web-kboss/src/views/H5/official/index.vue
@@ -140,13 +140,14 @@