shish 2 месяцев назад
Родитель
Сommit
8e18e67a7a
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      hdApp/src/pagesPurchase/ghsProduct.vue

+ 6 - 1
hdApp/src/pagesPurchase/ghsProduct.vue

@@ -45,7 +45,7 @@
 				@scroll="scroll_detail" lower-threshold="100" @scrolltolower="scroll_bottom">
 				<block v-if="!$util.isEmpty(filterProductInfo)">
 					<view class="item_list_bx selectAll" v-for="(classItem, classIndex) in filterProductInfo" :key="classIndex" :id="`class_${classIndex}`">
-						<view class="item_list_title">{{ classItem.className }}</view>
+						<view class="item_list_title" :class="{'item_list_title--special': classItem.classId == '-1' || classItem.classId == '-2' || classItem.classId == '-3'}">{{ classItem.className }}</view>
 						<view v-for="(productItem, productIndex) in classItem.child" :key="productIndex" style="position: relative;" :class="['product-row', productItem.variety == 1 ? 'big-box' : (productItem.presell == 1 || Number(productItem.reachNum)>0) ? 'middle-box' : 'box', productItem.itemRemark ? 'has-item-remark' : '']"  :id="`class_${classItem.classId}_${productItem.id}`">
 							<Commondity v-if="classItem.isActive"
 								:info="productItem"
@@ -897,6 +897,11 @@ export default {
 		font-size: 36upx;
 		font-weight: 600;
 		color: #141414;
+		font-weight: bold;
+	}
+	.item_list_title--special {
+		color: red;
+		font-weight: bold;
 	}
 	.select-cmd_bx {
 		& .kc {