1.1
陶杰
2024-09-12 0b060a89f0ace7672cc744a6db9c7dedde55c490
1.1
已修改1个文件
16 ■■■■ 文件已修改
sub_pages/customer/trade/trade.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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> -->
@@ -144,15 +144,15 @@
                def: 0,
                typeList:[
                    {
                        label: '按鲜花',
                        value: 'flower',
                      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('标题搜店铺修改成功');
                      }