diff --git a/pages/category/index.vue b/pages/category/index.vue index f3c4bcc..28ea1cb 100644 --- a/pages/category/index.vue +++ b/pages/category/index.vue @@ -2,16 +2,38 @@ + + + + + + + + 文化资源数据 + 文化数字内容 + + + + + + + + + + + + + {{ item.name }} + + + + + + + + - - - - - - - - @@ -79,8 +101,7 @@ lastRefreshTime = new Date().getTime() // 获取页面数据 this.getPageData() - // 更新购物车角标 - setCartTabBadge() + }, // 获取页面数据 @@ -90,15 +111,15 @@ Promise.all([ // 获取分类模板设置 // 优化建议: 可以将此处的false改为true 启用缓存 - SettingModel.data(false), + // SettingModel.data(false), // 获取分类列表 - CategoryApi.list() + // CategoryApi.list() ]) .then(result => { // 初始化分类模板设置 - app.initSetting(result[0]) + // app.initSetting(result[0]) // 初始化分类列表数据 - app.initCategory(result[1]) + // app.initCategory(result[1]) }) .finally(() => app.isLoading = false) }, diff --git a/pages/category/indexb.vue b/pages/category/indexb.vue new file mode 100644 index 0000000..f3c4bcc --- /dev/null +++ b/pages/category/indexb.vue @@ -0,0 +1,165 @@ + + + + + + diff --git a/pages/goods/list.vue b/pages/goods/list.vue index 399091e..2b18126 100644 --- a/pages/goods/list.vue +++ b/pages/goods/list.vue @@ -46,10 +46,14 @@ {{ item.goods_name }} - + - {{ item.selling_point }} + {{ item.goods_ownership_str }} + + + {{ item.username }} + 已售{{ item.sale_count }}件