From 8c9fe474d3d43265c33653f17bb411336269dfab Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期五, 26 七月 2024 15:34:22 +0800
Subject: [PATCH] fix bug 接口对接和样式调整
---
sub_pages/customer/trade/list.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/sub_pages/customer/trade/list.vue b/sub_pages/customer/trade/list.vue
index 1af11b2..75d94c6 100644
--- a/sub_pages/customer/trade/list.vue
+++ b/sub_pages/customer/trade/list.vue
@@ -30,7 +30,7 @@
</view>
</view>
<view class="" style="min-height: calc(100vh - 260rpx);">
- <no-data v-if="!list||list.length==0" style="width: 100%;"></no-data>
+ <no-data v-if="!list||list.length===0" style="width: 100%;"></no-data>
<view v-else>
<!-- 查询条件 -->
<view class="component-filter-container">
@@ -157,6 +157,7 @@
data() {
return {
query: {
+ name:'',
category: '',
zoneId: '',
levelStr: '',
@@ -181,6 +182,7 @@
console.log('options', options)
this.query.category = options.categoryId || ''
this.query.zoneId = options.zoneId || ''
+ this.query.name = options.name || ''
this.listApi = '/api/customer/flower/list'
this.getList('post')
this.$http.request('get', '/api/code/value', {
@@ -303,7 +305,7 @@
return
}
this.$message.showLoading()
- const {code} = await http.request('post', '/api/api/customer/flower/cart/change-num', {
+ const {code} = await http.request('post', '/api/customer/flower/cart/change-num', {
data: {
id: item.id,
num: addnum
--
Gitblit v1.9.3