From 1335100e875ffdda19fc16de9afdda920858ca9b Mon Sep 17 00:00:00 2001 From: 杨磊 <505174330@qq.com> Date: 星期五, 17 五月 2024 22:17:30 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/TCM_CharacterLibrary --- src/pages/index/index.vue | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index f26bc15..c7c1dca 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -25,8 +25,8 @@ <el-dropdown trigger="click" @command="handleCommand" style="margin-right: .3rem;"> <view @click="iconClick(2)" class="s2 ss1 "></view> <el-dropdown-menu v-if="isCommand" slot="dropdown"> - <el-dropdown-item command="1" icon="el-icon-plus">淇敼瀵嗙爜</el-dropdown-item> - <el-dropdown-item command="2" icon="el-icon-circle-plus">閫�鍑虹櫥褰�</el-dropdown-item> + <el-dropdown-item command="1" >淇敼瀵嗙爜</el-dropdown-item> + <el-dropdown-item command="2" >閫�鍑虹櫥褰�</el-dropdown-item> </el-dropdown-menu> </el-dropdown> <view @click="iconClick(item+2)" v-for="item in 1" :key="item" :class="'s'+(item+2)" @@ -152,27 +152,22 @@ // 鎼滅储 onSearch(val) { uni.navigateTo({ - url: '/pages/knowledgeBase/knowledgeBase?name=' + val.text + url: '/pages/knowledgeBase/knowledgeBase?keyword=' + val.text }) }, // 鎼滅储 // 鍒囨崲鎼滅储妗嗙殑灞曞紑鍜屾敹璧风姸鎬� toggleSearch() { - console.log('sdf'); - // console.log('鎾掓棪鑼冨痉钀ㄥ彂鐢熺殑',this.searchInput); this.isExpanded = !this.isExpanded; this.$nextTick(() => { if (this.searchInput.trim() !== '') { uni.navigateTo({ - url: '/pages/knowledgeBase/knowledgeBase?name=' + this.searchInput + url: '/pages/knowledgeBase/knowledgeBase?keyword=' + this.searchInput }) - // console.log('鎼滅储', this.searchInput); } else { console.log('涓嶆悳绱�'); } - this.searchInput = ''; - console.log(this.isExpanded); }) }, // 鍒楄〃椤硅烦杞� -- Gitblit v1.9.1