diff --git a/pages.json b/pages.json
index 0d59b10..7fca7cc 100644
--- a/pages.json
+++ b/pages.json
@@ -3,6 +3,14 @@
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
+ {
+ "path": "pages/index/index",
+ "style": {
+ "navigationBarTitleText": "首页",
+ "navigationStyle": "custom",
+ "enablePullDownRefresh": true
+ }
+ },
{
"path": "pages/notice/notice",
"style": {
@@ -34,11 +42,9 @@
}
},
{
- "path": "pages/index/index",
+ "path": "pages/goodsDetail/index",
"style": {
- "navigationBarTitleText": "首页",
- "navigationStyle": "custom",
- "enablePullDownRefresh": true
+ "navigationBarTitleText": "商品详情"
}
}
],
diff --git a/pages/goodsDetail/index.vue b/pages/goodsDetail/index.vue
new file mode 100644
index 0000000..6258a08
--- /dev/null
+++ b/pages/goodsDetail/index.vue
@@ -0,0 +1,391 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ goods_detail.name }}
+
+
+
+ ¥{{ goods_detail.specs[0].original_price }}
+ {{ goods_detail.specs[0].cost }}
+
+
+ {{ goods_detail.specs[0].sold_stock_text }}
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+ 旅游须知
+
+
+
+
+
+
+
+
+
+
+ 首页
+
+
+
+ 客服
+
+
+
+
+ {{ is_collect ? '已收藏' : '收藏' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file