feat(二手):初始化store
Showing
8 changed files
with
41 additions
and
10 deletions
@@ -8,9 +8,11 @@ | @@ -8,9 +8,11 @@ | ||
8 | * @path: 页面访问路径及参数说明 http://m.yohobuy.com:6001/xianyu/second/product/商品id.html | 8 | * @path: 页面访问路径及参数说明 http://m.yohobuy.com:6001/xianyu/second/product/商品id.html |
9 | !--> | 9 | !--> |
10 | <template> | 10 | <template> |
11 | - <div class="second-detail-wrap"> | ||
12 | - UfoSecondProductDetail | ||
13 | - </div> | 11 | + <LayoutApp :show-back="true" title="商品详情"> |
12 | + <div class="second-detail-wrap"> | ||
13 | + UfoSecondProductDetail | ||
14 | + </div> | ||
15 | + </LayoutApp> | ||
14 | </template> | 16 | </template> |
15 | 17 | ||
16 | <script> | 18 | <script> |
@@ -39,6 +41,7 @@ export default { | @@ -39,6 +41,7 @@ export default { | ||
39 | }, | 41 | }, |
40 | created() {}, | 42 | created() {}, |
41 | mounted() { | 43 | mounted() { |
44 | + // | ||
42 | // this.skup | 45 | // this.skup |
43 | }, | 46 | }, |
44 | activated() {}, | 47 | activated() {}, |
1 | <template> | 1 | <template> |
2 | - <div> | ||
3 | -UfoSecondSellListPage | ||
4 | - </div> | 2 | + <LayoutApp :show-back="true" title="商品列表"> |
3 | + | ||
4 | + </LayoutApp> | ||
5 | </template> | 5 | </template> |
6 | 6 | ||
7 | <script> | 7 | <script> |
@@ -11,5 +11,4 @@ export default { | @@ -11,5 +11,4 @@ export default { | ||
11 | </script> | 11 | </script> |
12 | 12 | ||
13 | <style lang="scss" scoped> | 13 | <style lang="scss" scoped> |
14 | - | ||
15 | </style> | 14 | </style> |
@@ -13,6 +13,7 @@ import storeAddress from './address'; | @@ -13,6 +13,7 @@ import storeAddress from './address'; | ||
13 | import storeNotice from './notice'; | 13 | import storeNotice from './notice'; |
14 | import storeCategory from './category'; | 14 | import storeCategory from './category'; |
15 | import storeActivitys from './activitys'; | 15 | import storeActivitys from './activitys'; |
16 | +import storeSecond from './second'; | ||
16 | 17 | ||
17 | Vue.use(Vuex); | 18 | Vue.use(Vuex); |
18 | 19 | ||
@@ -34,6 +35,7 @@ export function createStore(context) { | @@ -34,6 +35,7 @@ export function createStore(context) { | ||
34 | category: storeCategory(), | 35 | category: storeCategory(), |
35 | // buyerOderList: buyerOderList(), | 36 | // buyerOderList: buyerOderList(), |
36 | activitys: storeActivitys(), | 37 | activitys: storeActivitys(), |
38 | + second: storeSecond(), | ||
37 | }, | 39 | }, |
38 | strict: process.env.NODE_ENV !== 'production', | 40 | strict: process.env.NODE_ENV !== 'production', |
39 | }); | 41 | }); |
apps/store/second/actions.js
0 → 100644
apps/store/second/index.js
0 → 100644
apps/store/second/mutations.js
0 → 100644
apps/store/second/types.js
0 → 100644
1 | +export const ENSURE_PRODUCT_DETAIL = 'UPDATE_PRODUCT_DETAIL'; |
-
Please register or login to post a comment