From 0b060a89f0ace7672cc744a6db9c7dedde55c490 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期四, 12 九月 2024 18:35:16 +0800
Subject: [PATCH] 1.1
---
sub_pages/customer/trade/trade.vue | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/sub_pages/customer/trade/trade.vue b/sub_pages/customer/trade/trade.vue
index ea80d4b..3f66be6 100644
--- a/sub_pages/customer/trade/trade.vue
+++ b/sub_pages/customer/trade/trade.vue
@@ -21,7 +21,7 @@
<uni-icons color="#20613D" type="search" size="24" @click="buttonSearchFlow"></uni-icons>
</template>
</u-input> -->
- <u-input :placeholder="search_home_placeholder" v-model="search_flow" clearable @confirm="buttonSearchFlow" @clear="()=>{
+ <u-input :placeholder="search_home_placeholder" v-model="query.name" clearable @confirm="buttonSearchFlow" @clear="()=>{
$nextTick(()=>{buttonSearchFlow()})
}">
<!-- <u--text text="http://" slot="prefix" margin="0 3px 0 0" type="tips"></u--text> -->
@@ -143,16 +143,16 @@
type: 'category', //supplier
def: 0,
typeList:[
- {
- label: '按鲜花',
- value: 'flower',
- },
- {
- label: '按店铺',
- value: 'supplier',
- },
+ {
+ label: '按分类',
+ value: 'category',
+ },
+ {
+ label: '按店铺',
+ value: 'supplier',
+ },
],
- search_home_placeholder:"请输入花名",
+ search_home_placeholder:"请输入分类",
}
@@ -221,10 +221,10 @@
methods: {
fnChange(e) {
this.type = e.value
- if (this.type == 'flower') {
- this.search_home_placeholder = '请输入花名'
+ if (this.type == 'category') {
+ this.search_home_placeholder = '请输入分类'
uni.setNavigationBarTitle({
- title: '搜鲜花',
+ title: '搜分类',
success: function() {
// console.log('标题搜鲜花修改成功');
}
@@ -233,7 +233,7 @@
} else {
this.search_home_placeholder = '请输入店铺名'
uni.setNavigationBarTitle({
- title: '搜店铺',
+ title: '按店铺',
success: function() {
// console.log('标题搜店铺修改成功');
}
--
Gitblit v1.9.3