shish 2 месяцев назад
Родитель
Сommit
b2c6939de9

+ 12 - 5
hdApp/src/pagesPurchase/components/item.vue

@@ -61,7 +61,7 @@
 				</view>
 			</view>
 		</view>
-		<view class="extra-line extra-line--middle" v-if="info.itemRemark" @click.stop>
+		<view class="extra-line extra-line--middle extra-line--remark" v-if="info.itemRemark" @click.stop>
 			<view class="extra-line-row extra-line-row--with-icon">
 				<view class="remark-notice-icon">!</view>
 				<view class="extra-line-content">
@@ -254,10 +254,9 @@ export default {
 	font-size: 30upx;
 	font-weight: bold;
 	color: #ff2842;
-	line-height: 30upx;
-	overflow: hidden;
-	white-space: nowrap;
-	text-overflow: ellipsis;
+	line-height: 36upx;
+	word-break: break-all;
+	white-space: normal;
 }
 .extra-line-row--with-icon {
 	display: flex;
@@ -308,6 +307,11 @@ export default {
 	display: flex;
 	flex-direction: column;
 }
+.extra-line--remark {
+	position: relative;
+	z-index: 2;
+	box-sizing: border-box;
+}
 .extra-line-row + .extra-line-row {
 	margin-top: 4upx;
 }
@@ -325,12 +329,14 @@ export default {
 .item-cmd_bx {
 	position: relative;
 	margin-bottom: 0;
+	min-height: 140upx;
 	.img_bx {
 		height: 140upx;
 		width: 140upx;
 		position: absolute;
 		left: 0upx;
 		top: 0upx;
+		z-index: 1;
 		image{
 			width: 100%;
 			height: 100%;
@@ -363,6 +369,7 @@ export default {
 			& > view:first-child {
 				flex: 1;
 				min-width: 0;
+				min-height: 96upx;
 				padding-right: 16upx;
 				box-sizing: border-box;
 			}

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

@@ -873,6 +873,9 @@ export default {
 		.big-box{
 			min-height: 270upx;
 		}
+		.has-item-remark {
+			min-height: 225upx;
+		}
 		.has-color{
 			display:flex;
 			justify-content:center;