|
|
@@ -66,7 +66,7 @@
|
|
|
<view class="limit-buy-wrap">
|
|
|
<tui-list-cell class="line-cell limit-buy-line" :hover="false">
|
|
|
<view class="tui-title">每人限购</view>
|
|
|
- <input v-model="form.limitBuy" style="width:105upx;" @focus="form.limitBuy=''" placeholder-class="phcolor" class="tui-input" name="limitBuy" placeholder="0不限购" maxlength="50" type="number" />
|
|
|
+ <input v-model="form.limitBuy" style="width:105upx;" @focus="form.limitBuy=''" placeholder-class="phcolor limit-buy-input-ph" class="tui-input limit-buy-input" name="limitBuy" placeholder="0不限购" maxlength="50" type="number" />
|
|
|
|
|
|
<button v-if="productData.id > 0" class="admin-button-com blue middle" @click.stop="clearBuyCache()" style="width:150upx;">清已购</button>
|
|
|
<button v-if="productData.id > 0" class="admin-button-com blue middle" style="width:180upx;margin-left:10upx;" @click.stop="hasBuyList">已购列表</button>
|
|
|
@@ -1646,6 +1646,17 @@ export default {
|
|
|
}
|
|
|
.limit-buy-line {
|
|
|
margin-left: -20upx;
|
|
|
+ .limit-buy-input {
|
|
|
+ margin-right: 10upx;
|
|
|
+ border: 2upx solid #dddddd;
|
|
|
+ border-radius: 8upx;
|
|
|
+ padding: 0 12upx;
|
|
|
+ box-sizing: border-box;
|
|
|
+ height: 68upx;
|
|
|
+ line-height: 68upx;
|
|
|
+ font-size: 28upx;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
&:last-child {
|
|
|
border-bottom: none !important;
|
|
|
}
|
|
|
@@ -1657,7 +1668,7 @@ export default {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
flex-wrap: nowrap;
|
|
|
- margin-left:35upx;
|
|
|
+ margin-left:40upx;
|
|
|
}
|
|
|
.limit-clear-btn {
|
|
|
margin-left: 30upx;
|
|
|
@@ -1821,4 +1832,9 @@ export default {
|
|
|
.class-popup-style {
|
|
|
z-index: 99999;
|
|
|
}
|
|
|
+</style>
|
|
|
+<style lang="scss">
|
|
|
+.limit-buy-input-ph {
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
</style>
|