Browse Source

多颜色

shish 3 years ago
parent
commit
fc13691eb3
1 changed files with 2 additions and 3 deletions
  1. 2 3
      hdApp/src/pagesPurchase/ghsProduct.vue

+ 2 - 3
hdApp/src/pagesPurchase/ghsProduct.vue

@@ -43,7 +43,7 @@
 					<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>
 						<template v-for="(productItem, productIndex) in classItem.child">
-							<view :class="[productItem.variety == 1 ? 'big-box' : productItem.presell == 1 ? 'middle-box' : 'box']"  :id="`class_${classItem.classId}_${productItem.id}`" :key="productIndex">
+							<view style="position: relative;" :class="[productItem.variety == 1 ? 'big-box' : productItem.presell == 1 ? 'middle-box' : 'box']"  :id="`class_${classItem.classId}_${productItem.id}`" :key="productIndex">
 								<Commondity v-if="classItem.isActive"
 									:info="productItem"
 									:offVerifyRepertory="true"
@@ -901,7 +901,6 @@ export default {
 	}
 	.item_list_bx {
 		padding: 20upx 16upx 20upx 16upx;
-		position:relative;
 		.box{
 			height: 185upx
 		}
@@ -925,7 +924,7 @@ export default {
 				font-size:30upx;
 				color:rgb(7, 151, 7);
 				position:absolute;
-				top:228upx;
+				top:160upx;
 				width:200upx;
 				text-align:center;
 			}