Jelajahi Sumber

公告内容

shish 8 bulan lalu
induk
melakukan
8185d7ac3a
1 mengubah file dengan 11 tambahan dan 2 penghapusan
  1. 11 2
      hdApp/src/pagesPurchase/ghsProduct.vue

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

@@ -603,6 +603,9 @@ export default {
 					if(this.buyNotice == 1){
 						this.myClass = 'fadeIn'
 					}
+					if(this.ghsInfo.buyNoticeText!=''){
+						this.myClass = 'fadeIn'	
+					}
 					//获取供货商花材
 					if(id>0){
 						this.visitMall(id)
@@ -635,6 +638,9 @@ export default {
 					if(this.buyNotice == 1){
 						this.myClass = 'fadeIn'
 					}
+					if(this.ghsInfo.buyNoticeText!=''){
+						this.myClass = 'fadeIn'	
+					}
 					this.visitMall(this.option.id)
 					uni.setNavigationBarTitle({title: this.ghsInfo.name})
 					//不是新人或者已经下过单的或者活动没有开启不显示新人红
@@ -852,14 +858,17 @@ export default {
 	height:150upx;
 	display: flex;
 	align-items: center;
+	overflow-y: auto;
+	overflow-x: hidden;
 	.notice-text {
 		display: block;
 		font-size: 30upx;
 		color: #ffffff;
 		line-height: 1.6;
-		word-wrap: break-word;
 		text-align: left;
 		font-weight: 540;
+		max-height: 150upx;
+		overflow: hidden;
 	}
 }
 
@@ -956,7 +965,7 @@ export default {
   }
 	.input-wrap {
 		display: flex;
-		padding: 16upx 20upx 22upx 13upx;
+		padding: 18upx 20upx 22upx 13upx;
 		.search-bar {
 			flex: 1;
 		}