From 985e88062eafff1624ef1ee9aa90be5858990541 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Tue, 16 Apr 2024 17:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++-- pages/cloud_warehouse/market/market.vue | 6 +++--- pages/columnGoods/goods_search/index.vue | 2 +- pages/users/order_confirm/index.vue | 2 +- pages/users/order_list/index.vue | 2 +- pages/users/order_list/search.vue | 16 ++++++++-------- pages/whole_sale/index.vue | 4 ++-- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/manifest.json b/manifest.json index 44a3bd6..f37ad59 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "惠农生活", "appid" : "__UNI__3A527D1", "description" : "", - "versionName" : "2.0.31", - "versionCode" : 2031, + "versionName" : "2.0.33", + "versionCode" : 2033, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/cloud_warehouse/market/market.vue b/pages/cloud_warehouse/market/market.vue index e3063b0..61e2e43 100644 --- a/pages/cloud_warehouse/market/market.vue +++ b/pages/cloud_warehouse/market/market.vue @@ -221,13 +221,13 @@ .content { margin: 20rpx 0; - width: 470rpx; + width: 500rpx; display: flex; flex-direction: column; justify-content: space-between; .content-head { - width: 470rpx; + width: 500rpx; display: flex; justify-content: space-between; align-items: flex-end; @@ -296,7 +296,7 @@ - + diff --git a/pages/columnGoods/goods_search/index.vue b/pages/columnGoods/goods_search/index.vue index edf90d3..ceae2ca 100644 --- a/pages/columnGoods/goods_search/index.vue +++ b/pages/columnGoods/goods_search/index.vue @@ -5,7 +5,7 @@ + placeholder-class='placeholder' @input="setValue" confirm-type="search" @confirm="searchBut"> 搜索 diff --git a/pages/users/order_confirm/index.vue b/pages/users/order_confirm/index.vue index 168f5f6..c340e5d 100644 --- a/pages/users/order_confirm/index.vue +++ b/pages/users/order_confirm/index.vue @@ -1105,7 +1105,7 @@ goStore: function(id) { if (this.hide_mer_status != 1) { uni.navigateTo({ - url: `/pages/store/home/index?id=${id}` + url: `/pages/store/home/index?id=${id}&sale_type=${this.sale_type}` }) } }, diff --git a/pages/users/order_list/index.vue b/pages/users/order_list/index.vue index a4b337b..c7304d1 100644 --- a/pages/users/order_list/index.vue +++ b/pages/users/order_list/index.vue @@ -73,7 +73,7 @@ {{orderData.noComment || 0}} --> - + 搜索我的订单 diff --git a/pages/users/order_list/search.vue b/pages/users/order_list/search.vue index ab6bf66..7097bbe 100644 --- a/pages/users/order_list/search.vue +++ b/pages/users/order_list/search.vue @@ -4,7 +4,7 @@ - + @@ -240,6 +240,7 @@ loading: false, //是否加载中 loadend: false, //是否加载完毕 loadTitle: '加载更多', //提示语 + sale_type: 1, orderList: [], //订单数组 presellProList: [], //定金预售订单 presellOrderCount: 0, @@ -290,6 +291,10 @@ this.payMode[2].payStatus = n } }, + onLoad(options) { + if (options.status) this.orderStatus = options.status; + if (options.sale_type) this.sale_type = options.sale_type; + }, onShow() { if (this.isLogin) { this.page = 1; @@ -340,12 +345,6 @@ payClose: function() { this.pay_close = false; }, - /** - * 生命周期函数--监听页面加载 - */ - onLoad: function(options) { - if (options.status) this.orderStatus = options.status; - }, /** * 获取订单统计数据 * @@ -510,7 +509,8 @@ getOrderList({ page: that.page, limit: that.limit, - store_name: that.store_name + store_name: that.store_name, + sale_type: that.sale_type }).then(res => { let list = res.data.list || []; let loadend = list.length < that.limit; diff --git a/pages/whole_sale/index.vue b/pages/whole_sale/index.vue index 55f8e49..3759f95 100644 --- a/pages/whole_sale/index.vue +++ b/pages/whole_sale/index.vue @@ -231,13 +231,13 @@ .content { margin: 20rpx 0; - width: 470rpx; + width: 520rpx; display: flex; flex-direction: column; justify-content: space-between; .content-head { - width: 470rpx; + width: 500rpx; display: flex; justify-content: space-between; align-items: flex-end;