From 11f7661538f75c2d4eefd32408eba6dc0d77052b Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期一, 29 七月 2024 11:17:38 +0800
Subject: [PATCH] add 供应商的入位
---
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..37ef47f 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;border: 2rpx solid #666; color: #666;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