shish 2 месяцев назад
Родитель
Сommit
51f76541df
1 измененных файлов с 20 добавлено и 0 удалено
  1. 20 0
      ghsApp/src/pagesPurchase/components/pageSuccess.vue

+ 20 - 0
ghsApp/src/pagesPurchase/components/pageSuccess.vue

@@ -52,6 +52,10 @@
 											class="cancel-limit-btn"
 											@click.stop="cancelLimitBuyFn(i)"
 										>取消限购</view>
+										<text
+											v-if="Number(res.limitBuy) > 0"
+											class="limit-buy-tip"
+										>限购{{ res.limitBuy }}</text>
 									</view>
 								</view>
 							</view>
@@ -414,6 +418,7 @@ export default {
 			/* #endif */
 		}
 		.price-input-row{
+			position:relative;
 			display:flex;
 			flex-direction:row;
 			flex-wrap:nowrap;
@@ -443,6 +448,9 @@ export default {
 				border:1upx solid #3385FF;
 				color:#3385FF;
 			}
+			&.has-cancel-limit{
+				padding-right:72upx;
+			}
 			&.has-cancel-limit .price-input:last-of-type{
 				margin-right:10upx;
 			}
@@ -459,6 +467,18 @@ export default {
 				border-radius:6upx;
 				white-space:nowrap;
 			}
+			.limit-buy-tip{
+				position:absolute;
+				right:0;
+				top:0;
+				height:60upx;
+				line-height:60upx;
+				color:#ff4d4f;
+				font-size:24upx;
+				font-weight:bold;
+				white-space:nowrap;
+				z-index:1;
+			}
 		}
 	}
 	.second-area{