From dc6cdf2414ee7c453e1bca47898177f7af079945 Mon Sep 17 00:00:00 2001
From: xuxy <1059738716@qq.com>
Date: 星期一, 29 七月 2024 00:03:59 +0800
Subject: [PATCH] 1

---
 sub_pages/customer/trade/list.vue |   32 +++++++++++++++++++-------------
 1 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/sub_pages/customer/trade/list.vue b/sub_pages/customer/trade/list.vue
index c5d7132..56aa5f0 100644
--- a/sub_pages/customer/trade/list.vue
+++ b/sub_pages/customer/trade/list.vue
@@ -133,13 +133,14 @@
 					</view>
 				</view>
 				<view class="button-space"></view>
-				<view class="button-space"></view>
-				<view class="button-green" style="background-color: #fff;bottom: 160rpx;color: #000"
-					@click="closeParamPopAndQuery">
-					查询
+				<view>
+					<view class="button-green" style="background-color: #fff;color: #000;width: 200rpx;left: 40rpx;right: unset;"
+						@click="closeParamPopAndQuery">
+						查询
+					</view>
+					
+					<view class="button-green"  style="width: 200rpx;right: 40rpx;left: unset;" @click="closeParamPop">关闭</view>
 				</view>
-
-				<view class="button-green" @click="closeParamPop">关闭</view>
 			</view>
 		</uni-popup>
 
@@ -184,6 +185,11 @@
 			this.query.category = options.categoryId || ''
 			this.query.zoneId = options.zoneId || ''
 			this.query.name = options.name || ''
+			if(this.query.name){
+				uni.setNavigationBarTitle({
+					title:'商品列表-'+this.query.name
+				})
+			}
 			this.listApi = '/api/customer/flower/list'
 			this.getList('post')
 			this.$http.request('get', '/api/code/value', {
@@ -253,13 +259,13 @@
 			},
 			closeParamPopAndQuery() {
 				this.$refs.popup_param.close()
-				//设置参数
-				this.dto.params = []
-				for (var params of this.params) {
-					if (params.value) {
-						this.dto.params.push({
-							id: params.id,
-							value: params.value
+				//设置参数 
+				this.query.params = []
+				for (var param of this.params) {
+					if (param.value) {
+						this.query.params.push({
+							id: param.id,
+							value: param.value
 						})
 					}
 				}

--
Gitblit v1.9.3