From 3d4b24e3833b50c9cc2ba60111b5cd501ae3d123 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Mon, 18 Mar 2024 16:53:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/whole_sale/index.vue | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) 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';