兼容合作商品和价格贡献值并排搜索

This commit is contained in:
2021-11-04 11:27:57 +08:00
parent 9ee77c73fc
commit c011538220
3 changed files with 7 additions and 5 deletions

View File

@@ -11,7 +11,7 @@
<image class="tabs-item-arrow" src="@/static/icons/search_row.png" mode="" /> <image class="tabs-item-arrow" src="@/static/icons/search_row.png" mode="" />
</view> </view>
<view class="tabs-item" @click="onTabs"> <view class="tabs-item" @click="onTabs">
<span :class="marketType === ''?'':'activess'">{{searchType == 0 ? '价格' : '信用值'}}</span> <span :class="marketType === ''?'':'activess'">{{searchType == 0 ? '价格' : '价格'}}</span>
<image class="icon" mode="widthFix" <image class="icon" mode="widthFix"
:src="require(marketType == 'asc' ? '@/static/icons/market_icon_low.png':marketType == '' ? '@/static/icons/market_icon_null.png': '@/static/icons/market_icon_high.png')" /> :src="require(marketType == 'asc' ? '@/static/icons/market_icon_low.png':marketType == '' ? '@/static/icons/market_icon_null.png': '@/static/icons/market_icon_high.png')" />
</view> </view>

View File

@@ -86,7 +86,9 @@
this.has_more = true this.has_more = true
this.page = 1 this.page = 1
this.goods = [] this.goods = []
this.tabIndex = '' // this.tabIndex = ''
// this.pvType = ''
// this.marketType = ''
this.getList() this.getList()
} }
} }

File diff suppressed because one or more lines are too long