From 12b08bda78079be939da31325afa42c6e6ddf91f Mon Sep 17 00:00:00 2001 From: hly <2783385703@qq.com> Date: Mon, 25 Aug 2025 18:28:46 +0800 Subject: [PATCH] 1 --- api/model/index.js | 7 +- compoent/base/banner-swiper.vue | 230 +++ compoent/base/rule-popup.vue | 353 +++++ compoent/base/service-qrcode.vue | 272 ++++ compoent/base/tabbar.vue | 43 +- compoent/recycle/brand-selector.vue | 597 ++++++++ compoent/recycle/product-detail-popup.vue | 533 +++++++ compoent/recycle/product-style-selector.vue | 362 +++++ config.js | 2 +- pages/component/home.vue | 470 +------ pages/component/my.vue | 46 +- pages/component/recycle copy.vue | 56 +- pages/component/recycle.vue | 2028 +++++++++++---------------- pages/manager/inspect-result.vue | 193 ++- pages/manager/inspect.vue | 932 ++++++------ pages/manager/order-detail.vue | 486 +++++-- pages/subcomponent/detail.vue | 11 +- pages/subcomponent/pickup.vue | 474 ++++--- uni.scss | 1 + 19 files changed, 4532 insertions(+), 2564 deletions(-) create mode 100644 compoent/base/banner-swiper.vue create mode 100644 compoent/base/rule-popup.vue create mode 100644 compoent/base/service-qrcode.vue create mode 100644 compoent/recycle/brand-selector.vue create mode 100644 compoent/recycle/product-detail-popup.vue create mode 100644 compoent/recycle/product-style-selector.vue diff --git a/api/model/index.js b/api/model/index.js index f92a51f..68307c2 100644 --- a/api/model/index.js +++ b/api/model/index.js @@ -188,6 +188,12 @@ const api = { method: 'GET', auth : false }, + // 根据商品标识查询商品品牌下的款式 + getGoodsBrandProduct: { + url: '/recycle-admin/applet/class/getGoodsBrandProduct', + method: 'GET', + auth : false + }, // 2.根据分类标识获取分类商品列表带分页 getClassGoodsList: { url: '/recycle-admin/applet/class/getClassGoodsList', @@ -258,7 +264,6 @@ const api = { method: 'GET', auth: true, }, - } export default api \ No newline at end of file diff --git a/compoent/base/banner-swiper.vue b/compoent/base/banner-swiper.vue new file mode 100644 index 0000000..9f0f6ae --- /dev/null +++ b/compoent/base/banner-swiper.vue @@ -0,0 +1,230 @@ + + + + + \ No newline at end of file diff --git a/compoent/base/rule-popup.vue b/compoent/base/rule-popup.vue new file mode 100644 index 0000000..bf8cd77 --- /dev/null +++ b/compoent/base/rule-popup.vue @@ -0,0 +1,353 @@ + + + + + \ No newline at end of file diff --git a/compoent/base/service-qrcode.vue b/compoent/base/service-qrcode.vue new file mode 100644 index 0000000..a775d13 --- /dev/null +++ b/compoent/base/service-qrcode.vue @@ -0,0 +1,272 @@ + + + + + \ No newline at end of file diff --git a/compoent/base/tabbar.vue b/compoent/base/tabbar.vue index 9c70362..aa7e4c4 100644 --- a/compoent/base/tabbar.vue +++ b/compoent/base/tabbar.vue @@ -2,7 +2,7 @@ + @click="toPath(item, index)" class="tabbar-item"> + + + + + 关闭 + 可回收的品牌 + + + + + + + + + + + 热门品牌 + + + + {{brand.name}} + + + + + + {{letter}} + + + {{brand.name}} + + + + + {{letter}} + + + + + + + + 品牌确认提示 + + + + {{ brandConfirmInfo.name }} + 请确认所选品牌是否与实物品牌信息一致,否则将无法进行回收。 + + + + + + + + + + + + 关闭 + 选择要减少的品牌 + + + + + {{brand.name}} + + + + + + + + + + + + \ No newline at end of file diff --git a/compoent/recycle/product-detail-popup.vue b/compoent/recycle/product-detail-popup.vue new file mode 100644 index 0000000..b57348e --- /dev/null +++ b/compoent/recycle/product-detail-popup.vue @@ -0,0 +1,533 @@ + + + + + \ No newline at end of file diff --git a/compoent/recycle/product-style-selector.vue b/compoent/recycle/product-style-selector.vue new file mode 100644 index 0000000..ef7a7d6 --- /dev/null +++ b/compoent/recycle/product-style-selector.vue @@ -0,0 +1,362 @@ + + + + + \ No newline at end of file diff --git a/config.js b/config.js index 61604a8..a7176df 100644 --- a/config.js +++ b/config.js @@ -1,5 +1,5 @@ // config.js -const type = 'prod' +const type = 'local' const config = { local: { diff --git a/pages/component/home.vue b/pages/component/home.vue index 77ecce0..f502819 100644 --- a/pages/component/home.vue +++ b/pages/component/home.vue @@ -1,54 +1,12 @@