|
|
@@ -12,10 +12,10 @@
|
|
|
:max="maxStock"
|
|
|
:min="1"
|
|
|
:value="buyNum"
|
|
|
- :iconSize="36"
|
|
|
- :height="60"
|
|
|
- :width="120"
|
|
|
- :size="32"
|
|
|
+ :iconSize="48"
|
|
|
+ :height="80"
|
|
|
+ :width="160"
|
|
|
+ :size="48"
|
|
|
@change="change"
|
|
|
>
|
|
|
</number-box>
|
|
|
@@ -117,16 +117,16 @@ export default {
|
|
|
|
|
|
.tui-popup-box {
|
|
|
position: relative;
|
|
|
- padding: 60rpx 30rpx 140rpx;
|
|
|
+ padding: 60rpx 30rpx 40rpx;
|
|
|
background: #fff;
|
|
|
min-height: 300rpx;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
}
|
|
|
|
|
|
.tui-popup-btn {
|
|
|
width: 100%;
|
|
|
- position: absolute;
|
|
|
- left: 0;
|
|
|
- top: 250rpx;
|
|
|
+ margin-top: auto;
|
|
|
padding: 20rpx 30rpx 20rpx 30rpx;
|
|
|
padding-bottom: calc(40rpx + env(safe-area-inset-bottom));
|
|
|
@include disFlex(center, center);
|
|
|
@@ -156,8 +156,9 @@ export default {
|
|
|
}
|
|
|
|
|
|
.tui-popup-scroll {
|
|
|
- max-height: 400rpx;
|
|
|
+ flex: 1;
|
|
|
font-size: 28rpx;
|
|
|
+ overflow-y: auto;
|
|
|
}
|
|
|
|
|
|
.tui-scrolldiv-box {
|
|
|
@@ -169,13 +170,14 @@ export default {
|
|
|
color: #333;
|
|
|
font-size: 32rpx;
|
|
|
font-weight: 600;
|
|
|
- text-align: left;
|
|
|
+ text-align: center;
|
|
|
}
|
|
|
|
|
|
.tui-number-box {
|
|
|
display: flex;
|
|
|
+ flex-direction: column;
|
|
|
align-items: center;
|
|
|
- justify-content: space-between;
|
|
|
+ justify-content: center;
|
|
|
padding: 30rpx 0 40rpx 0;
|
|
|
box-sizing: border-box;
|
|
|
background: #fafafa;
|
|
|
@@ -193,8 +195,8 @@ export default {
|
|
|
// 覆盖 number-box 组件的样式
|
|
|
::v-deep .tui-numberbox {
|
|
|
.tui-numbox-icon {
|
|
|
- width: 60rpx;
|
|
|
- height: 60rpx;
|
|
|
+ width: 80rpx;
|
|
|
+ height: 80rpx;
|
|
|
border-radius: 50%;
|
|
|
background: #fff;
|
|
|
display: flex;
|
|
|
@@ -204,7 +206,7 @@ export default {
|
|
|
padding: 0;
|
|
|
|
|
|
&:before {
|
|
|
- font-size: 36rpx !important;
|
|
|
+ font-size: 48rpx !important;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
@@ -219,13 +221,13 @@ export default {
|
|
|
}
|
|
|
|
|
|
.tui-num-input {
|
|
|
- width: 120rpx !important;
|
|
|
- height: 60rpx !important;
|
|
|
- margin: 0 20rpx !important;
|
|
|
+ width: 160rpx !important;
|
|
|
+ height: 80rpx !important;
|
|
|
+ margin: 0 30rpx !important;
|
|
|
background: #fff !important;
|
|
|
- border-radius: 12rpx !important;
|
|
|
+ border-radius: 16rpx !important;
|
|
|
border: 2rpx solid #e8e8e8 !important;
|
|
|
- font-size: 32rpx !important;
|
|
|
+ font-size: 40rpx !important;
|
|
|
font-weight: 600 !important;
|
|
|
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.08);
|
|
|
}
|