From 530bb7e836a6337c7d71e8248779fb48a55b10a0 Mon Sep 17 00:00:00 2001
From: mullins <476823686@qq.com>
Date: Sun, 7 Jun 2020 21:40:53 +0800
Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84=E8=AF=A6=E6=83=85=E9=A1=B5-?=
=?UTF-8?q?=E5=95=86=E5=93=81=E4=BB=8B=E7=BB=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages.json | 53 +++--
src/pages/details/components/Introduce.vue | 148 ++++++++++++
src/pages/details/components/Specification.vue | 14 ++
src/pages/details/details.vue | 303 ++++++++++++++++++++++++-
src/store/modules/details.js | 81 ++++++-
5 files changed, 564 insertions(+), 35 deletions(-)
create mode 100644 src/pages/details/components/Introduce.vue
create mode 100644 src/pages/details/components/Specification.vue
diff --git a/src/pages.json b/src/pages.json
index b786336..29ebbc9 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -132,25 +132,25 @@
"navigationBarTitleText": "验光数据"
}
}
- ],
- "subpackages": [
- {
- "root": "pages/refundment",
- "pages": [
- "pages/refundment/refundWays",
- "pages/refundment/refundment",
- "pages/refundProgress/refundProgress"
- ]
- },
- {
- "root": "pages/address",
- "name": "pack2",
- "pages": [
- "pages/address/addAddress",
- "pages/address/addressList"
- ]
- }
- ],
+ ],
+ "subpackages": [
+ {
+ "root": "pages/refundment",
+ "pages": [
+ "pages/refundment/refundWays",
+ "pages/refundment/refundment",
+ "pages/refundProgress/refundProgress"
+ ]
+ },
+ {
+ "root": "pages/address",
+ "name": "pack2",
+ "pages": [
+ "pages/address/addAddress",
+ "pages/address/addressList"
+ ]
+ }
+ ],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
@@ -186,11 +186,11 @@
"condition": {
"current": 0,
"list": [
- // {
- // "name": "首页",
- // "path": "pages/test/index",
- // "query": ""
- // },
+ // {
+ // "name": "首页",
+ // "path": "pages/test/index",
+ // "query": ""
+ // },
{
"name": "首页",
"path": "pages/index/index",
@@ -202,6 +202,11 @@
"query": ""
},
{
+ "name": "旧版产品详情",
+ "path": "pages/frameDetail/frameDetail",
+ "query": ""
+ },
+ {
"name": "镜片、美瞳参数选择",
"path": "pages/purchaseLenses/purchaseLenses",
"query": ""
diff --git a/src/pages/details/components/Introduce.vue b/src/pages/details/components/Introduce.vue
new file mode 100644
index 0000000..6529807
--- /dev/null
+++ b/src/pages/details/components/Introduce.vue
@@ -0,0 +1,148 @@
+
+
+
+
+
+ 年龄:
+ {{item.label}}/
+
+
+
+
+
+ 颜色:
+ {{item.label}}/
+
+
+
+
+
+ 脸型:
+ {{item.label}}/
+
+
+
+
+
+ 赠品:
+ {{item.label}}/
+
+
+
+
+
+ 保险:
+ {{item.label}}/
+
+
+
+
+
+ 材质:
+ {{item.label}}/
+
+
+
+
+
+ 个性:
+ {{item.label}}/
+
+
+
+
+
+ 场景:
+ {{item.label}}/
+
+
+
+
+
+ 性别:
+ {{item.label}}/
+
+
+
+
+
+ 风格:
+ {{item.label}}/
+
+
+
+
+
+ 重量:
+ {{item.label}}/
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/details/components/Specification.vue b/src/pages/details/components/Specification.vue
new file mode 100644
index 0000000..f6ac997
--- /dev/null
+++ b/src/pages/details/components/Specification.vue
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/details/details.vue b/src/pages/details/details.vue
index 094f660..726f27f 100644
--- a/src/pages/details/details.vue
+++ b/src/pages/details/details.vue
@@ -1,5 +1,6 @@
+
30天质量保证
+
{{ item.text || '暂无' }}
+ v-bind:class="{ item_active: item_current === index }"
+ >{{ screenItems[index] || '暂无' }}
+
+
+
+
+
+
+
+
+
+
+
+ {{item.standard || '暂无'}}
+ {{item.slength || '暂无'}}
+
@@ -64,16 +93,89 @@
+
+
+
+
+
+ 宝贝好评率{{evaluate.rate}}
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+
+ 商品详情
+
+
+
+
+
+
+
+