绿满眶商城微信小程序-uniapp
peng
2025-07-16 7acb664b9820d51be0552a1b769b4aeaeb4d89bf
pages/navigation/search/searchPage.vue
@@ -52,12 +52,12 @@
               <text>销量</text>
               <view class="p-box">
                  <view class="index-nav-arrow">
                     <image class="img" src="/static/index/arrow-up-1.png" v-if="params.sort === 'buyCount' && params.order === 'asc'" mode="aspectFit"></image>
                     <image class="img" src="/static/index/arrow-up.png" v-else mode="aspectFit"></image>
                     <image class="img" src="/pages/subComponents/static/index/arrow-up-1.png" v-if="params.sort === 'buyCount' && params.order === 'asc'" mode="aspectFit"></image>
                     <image class="img" src="/pages/subComponents/static/index/arrow-up.png" v-else mode="aspectFit"></image>
                  </view>
                  <view class="index-nav-arrow">
                     <image class="img" src="/static/index/arrow-down.png" v-if="params.sort === 'buyCount' && params.order === 'desc'" mode="aspectFit"></image>
                     <image class="img" src="/static/index/arrow-down-1.png" v-else mode="aspectFit"></image>
                     <image class="img" src="/pages/subComponents/static/index/arrow-down.png" v-if="params.sort === 'buyCount' && params.order === 'desc'" mode="aspectFit"></image>
                     <image class="img" src="/pages/subComponents/static/index/arrow-down-1.png" v-else mode="aspectFit"></image>
                  </view>
               </view>
            </view>
@@ -65,12 +65,12 @@
               <text>价格</text>
               <view class="p-box">
                  <view class="index-nav-arrow">
                     <image class="img" src="/static/index/arrow-up-1.png" v-if="params.sort === 'price' && params.order === 'asc'" mode="aspectFit"></image>
                     <image class="img" src="/static/index/arrow-up.png" v-else mode="aspectFit"></image>
                     <image class="img" src="/pages/subComponents/static/index/arrow-up-1.png" v-if="params.sort === 'price' && params.order === 'asc'" mode="aspectFit"></image>
                     <image class="img" src="/pages/subComponents/static/index/arrow-up.png" v-else mode="aspectFit"></image>
                  </view>
                  <view class="index-nav-arrow">
                     <image class="img" src="/static/index/arrow-down.png" v-if="params.sort === 'price' && params.order === 'desc'" mode="aspectFit"></image>
                     <image class="img" src="/static/index/arrow-down-1.png" v-else mode="aspectFit"></image>
                     <image class="img" src="/pages/subComponents/static/index/arrow-down.png" v-if="params.sort === 'price' && params.order === 'desc'" mode="aspectFit"></image>
                     <image class="img" src="/pages/subComponents/static/index/arrow-down-1.png" v-else mode="aspectFit"></image>
                  </view>
               </view>
            </view>
@@ -192,7 +192,7 @@
         </view>
      </u-popup>
      <div class="empty" v-if="empty">
         <view><image style="width: 320rpx; height: 240rpx" src="/static/nodata.png"></image></view>
         <view><image style="width: 320rpx; height: 240rpx" src="/pages/subComponents/static/nodata.png"></image></view>
         <view>
            <p>没有找到相关的商品信息</p>
            <p>请换一个关键词试试吧</p>
@@ -208,7 +208,7 @@
import { getGoodsList, getGoodsRelated } from '@/api/goods.js';
import goodsList from '@/pages/subComponents/m-goods-list/list.vue';
import { getHotKeywords } from '@/api/home.js';
import mSearch from '@/components/m-search-revision/m-search-revision.vue';
import mSearch from '@/pages/subComponents/m-search-revision/m-search-revision.vue';
import storage from '@/utils/storage';
export default {
   components: {