diff --git a/src/App.vue b/src/App.vue
index 4a3637f..eb90b0b 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -16,6 +16,9 @@
+
+
+
@@ -26,7 +29,8 @@
+
+
\ No newline at end of file
diff --git a/src/components/product/Evaluate.vue b/src/components/product/Evaluate.vue
new file mode 100644
index 0000000..b1ec80f
--- /dev/null
+++ b/src/components/product/Evaluate.vue
@@ -0,0 +1,674 @@
+
+
+
+
+
+
+
+
+
+
![]()
+
{{ review.userName }}
+
+
+
+ {{ star <= review.rating ? "★" : "☆" }}
+
+
+
+
+
+ {{ review.content || "该用户没有填写评价内容" }}
+
+
+
+
+
![]()
+
+
+
{{ review.time }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
![]()
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main.js b/src/main.js
index 261908f..9228d58 100644
--- a/src/main.js
+++ b/src/main.js
@@ -14,7 +14,6 @@ Vue.use(utils)
// 全局配置
Vue.config.productionTip = false
Vue.use(ElementUI)
-Vue.prototype.$http = axios
// 配置图片懒加载
Vue.use(VueLazyload, {
diff --git a/src/router/index.js b/src/router/index.js
index 57c137c..fe5e1b4 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -34,6 +34,15 @@ const router = new Router({
},
component: () => import('@/views/Detail/Index.vue')
},
+ {
+ path: '/productList',
+ name: 'ProductList',
+ meta: {
+ title: '商品列表',
+ keepAlive: false
+ },
+ component: () => import('@/views/ProductPage/Index.vue')
+ },
// {
// path: '/category/:id?',
// name: 'Category',
diff --git a/src/views/Detail/Index.vue b/src/views/Detail/Index.vue
index e260f77..e4f22ac 100644
--- a/src/views/Detail/Index.vue
+++ b/src/views/Detail/Index.vue
@@ -138,20 +138,35 @@
- 商品详情
- 商品评价(125)
+ 商品详情
+ 商品评价(125)
-
+
+
+
+
+
+
\ No newline at end of file