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