diff --git a/pages/whole_sale/index.vue b/pages/whole_sale/index.vue index 9e338d4..1b12013 100644 --- a/pages/whole_sale/index.vue +++ b/pages/whole_sale/index.vue @@ -182,10 +182,18 @@ height: 24rpx; } } + + + .comp-color{ + + text { + margin-right: 12rpx; + font-size: 26rpx; + color: #40ae36 !important; + } + + } } - .color{ - color: #40ae36; - } } } @@ -259,14 +267,14 @@ - + 价格 - + 销量 - + 综合 @@ -352,7 +360,8 @@ this.getProductslist(); }, methods: { - toOrder(type){ + toOrder(type, index = -1){ + this.orderCurr = index; if(type=='price'){ if(this.where.order=='price_asc') this.where.order = 'price_desc'; else this.where.order = 'price_asc';