From a971d0c13ab9cd5107152f6eba5e1e724a37fa0b Mon Sep 17 00:00:00 2001 From: 杨磊 <505174330@qq.com> Date: 星期五, 07 六月 2024 17:20:31 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/TCM_CharacterLibrary --- src/uni_modules/next-search-more/components/next-search-more/next-search-more.vue | 26 ++++++++++++++++++++++++-- 1 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/uni_modules/next-search-more/components/next-search-more/next-search-more.vue b/src/uni_modules/next-search-more/components/next-search-more/next-search-more.vue index 45a054a..b62e99f 100644 --- a/src/uni_modules/next-search-more/components/next-search-more/next-search-more.vue +++ b/src/uni_modules/next-search-more/components/next-search-more/next-search-more.vue @@ -35,8 +35,29 @@ @focus="focus" @blur="blur" /> - <text v-if="isDelShow" class="icon icon-del" @click="clear" - ></text + <span + class="cleanupBtn" + v-if="inputVal" + @click="inputVal = ''" + style=" + position: absolute; + top: 50%; + margin-top: -10px; + right: 10px; + color: #fff; + z-index: 2; + display: inline-block; + width: 20px; + height: 20px; + text-align: center; + line-height: 20px; + background-color: #a5a5a5; + font-weight: bold; + border-radius: 50%; + font-size: 12px; + cursor: pointer; + " + >鉁�</span > </view> <view @@ -246,6 +267,7 @@ width: 100%; display: flex; align-items: center; + position: relative; &.center { justify-content: center; -- Gitblit v1.9.1