diff --git a/api/store.js b/api/store.js
index dce9e26..a24580e 100644
--- a/api/store.js
+++ b/api/store.js
@@ -65,6 +65,15 @@ export function getCategory() {
});
}
+/*
+ * 商品分类2
+ * */
+export function getSecondCategory() {
+ return request.get("/secondCategory", {}, {
+ login: false
+ });
+}
+
/*
* 商品详情
* */
diff --git a/pages.json b/pages.json
index 7e9dd64..6cfafcd 100644
--- a/pages.json
+++ b/pages.json
@@ -334,13 +334,6 @@
"enablePullDownRefresh": true
}
},
- {
- "path": "pages/life/index2",
- "style": {
- "navigationBarTitleText": "生活",
- "enablePullDownRefresh": true
- }
- },
{
"path": "pages/life/temp/index",
"style": {
diff --git a/pages/life/index.vue b/pages/life/index.vue
index 4577976..b78a062 100644
--- a/pages/life/index.vue
+++ b/pages/life/index.vue
@@ -18,23 +18,16 @@
-
-
- 全部商品
-
+
+ {{item.cateName}}
+
@@ -98,7 +91,7 @@
-
-
-
diff --git a/pagesB/pages/shop/GoodsList/index.vue b/pagesB/pages/shop/GoodsList/index.vue
index a470d6d..ebbd9f2 100644
--- a/pagesB/pages/shop/GoodsList/index.vue
+++ b/pagesB/pages/shop/GoodsList/index.vue
@@ -212,8 +212,8 @@ export default {
var that = this
this.setWhere()
// if (to.name !== "GoodsList") return;
- console.log(s,'ss')
const { s = '', id = 0, title = '' } = this.$yroute.query
+ console.log(s,'ss')
if (s !== this.where.keyword || id !== this.where.sid) {
this.loadend = false
this.loading = false