1、orderField,order为传给后台的参数2个参数进行综合、销量、价格对商品进行排序
2、2.1:html
<!--筛选分类-->
<div class="screen_list">
<div :class="selectIndex == 0 ?'synth':''" @click="selectedFn($event)" data-index="0">综合
<img :src='selectIndex == 0 ?"/static/images/single_triangle_red.png":"/static/images/single_triangle_gray.png"'
class='double_triangle'/>
</div>
<div class="clickSales" :class="selectIndex == 1 ?'synth':''" @click='selectedFn($event)' data-index="1">销量
<img v-if='sort =="top" && selectIndex == 1' src='/static/images/triangle_top.png