| | |
| | | <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> |
| | |
| | | <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> |
| | |
| | | </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> |
| | |
| | | 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: { |