From 06c7a41fe4680ae98d8ccd25b17d715b2a036532 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期一, 09 九月 2024 19:00:54 +0800 Subject: [PATCH] 1、 245-小程序-供应商-商品管理-回收站-平台或花农删除的商品全部到回收站,回收站增加恢复和删除的按钮,恢复可以将商品恢复到原来的状态,删除可以将此商品彻底删除 目前在回收站点击编辑上架等功能显示“商品未找到”点击删除也删不了商品 2、 255-小程序-供应商-增加同品类同等级价格排名,方便花农根据排名改价格(前后端修改) 3、252-小程序-花店-首页搜索、交易大厅搜索-1.点击分类显示下拉选择效果 2.热区扩大一些,点击<无法切换 --- sub_pages/customer/shop/shop-trade.vue | 43 ++----------------------------------------- 1 files changed, 2 insertions(+), 41 deletions(-) diff --git a/sub_pages/customer/shop/shop-trade.vue b/sub_pages/customer/shop/shop-trade.vue index dbd7a58..4b3513b 100644 --- a/sub_pages/customer/shop/shop-trade.vue +++ b/sub_pages/customer/shop/shop-trade.vue @@ -104,47 +104,7 @@ this.currentCategory = this.list[0] || {} } }, - async updateParamsAndSearch() { - //todo 设置参数并查询 - await this.refreshList() - this.$refs.popup_param.close() - }, - openParamPop() { - //todo 同时设置查询参数为空吧 - this.$refs.popup_param.open() - }, - closeParamPop() { - this.$refs.popup_param.close() - }, - buttonSearchFlow() { - - if (this.type == 'category') { - //根据分类名称查询 - this.$message.showLoading() - this.$http.request('get', '/api/customer/flower/category/tree', { - params: { - name: this.query.name || '' - } - }).then(res => { - var data = res.data - this.list = data || [] - if (this.list.length > 0) { - this.query.categoryId = this.list[0].id || '' - this.currentCategory = this.list[0] || {} - } else { - this.query.categoryId = '' - this.currentCategory = {} - } - }).finally(() => { - this.$message.hideLoading() - }) - } else { - uni.navigateTo({ - url: '/sub_pages/customer/trade/list?' + 'supplierName=' + this.query.name - }) - - } - }, + toDetailList(item) { //去商品列表页面 console.log('toDetailList', this.supplierId) @@ -155,6 +115,7 @@ changeType(item) { this.query.categoryId = item.id || '' this.currentCategory = item + //拼接二级分类,然后查询商品列表 }, -- Gitblit v1.9.3