yfx
2026-03-17 41d2fe31c18c0a82e0239035c2e50f10fa46c715
pages/search/search.vue
@@ -3,7 +3,7 @@
      <view class="search">
         <view class="searchView">
            <span class="back" @tap="$util.goSwitch('/pages/index/index')">返回</span>
            <image src="/static/imgs/search.png" ></image>
            <image src="/static/imgs/search.png" mode=""></image>
            <input type="text" v-model="keyword" placeholder="搜索您想要的商品" @confirm="searchGoods" />
            <view class="searchBtn" @tap="searchGoods">搜索</view>
         </view>
@@ -15,7 +15,7 @@
               <view class="" v-for="(item, index) in keywordData" v-if="index <= 19" @tap="keywordSearch(item)">{{item}}</view>
            </view>
            <view class="noData" v-else>
               <image src="/static/imgs/noData.png"  style="margin-top: 200upx;"></image>
               <image src="/static/imgs/noData.png" mode="" style="margin-top: 200upx;"></image>
               <view class="">没有搜索记录</view>
            </view>
         </view>