|
|
@@ -96,38 +96,38 @@ export default {
|
|
|
<style lang="scss" scoped>
|
|
|
::v-deep.popup-wrap {
|
|
|
.tui-popup-class {
|
|
|
- border-top-left-radius: 24upx;
|
|
|
- border-top-right-radius: 24upx;
|
|
|
+ border-top-left-radius: 24rpx;
|
|
|
+ border-top-right-radius: 24rpx;
|
|
|
// 适配iphoneX
|
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
|
}
|
|
|
|
|
|
.tui-popup-box {
|
|
|
position: relative;
|
|
|
- padding: 60upx 30upx 140upx;
|
|
|
+ padding: 60rpx 30rpx 140rpx;
|
|
|
background: #fff;
|
|
|
- min-height: 300upx;
|
|
|
+ min-height: 300rpx;
|
|
|
}
|
|
|
|
|
|
.tui-popup-btn {
|
|
|
width: 100%;
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
- bottom: 0;
|
|
|
- padding: 20upx 30upx 40upx 30upx;
|
|
|
- padding-bottom: calc(40upx + env(safe-area-inset-bottom));
|
|
|
+ top: 250rpx;
|
|
|
+ padding: 20rpx 30rpx 20rpx 30rpx;
|
|
|
+ padding-bottom: calc(40rpx + env(safe-area-inset-bottom));
|
|
|
@include disFlex(center, center);
|
|
|
- border-top: 1upx solid $borderColor;
|
|
|
+ border-top: 1rpx solid $borderColor;
|
|
|
background: #fff;
|
|
|
|
|
|
.button-com {
|
|
|
width: 100%;
|
|
|
- font-size: 36upx;
|
|
|
- height: 110upx;
|
|
|
- border-radius: 55upx;
|
|
|
+ font-size: 36rpx;
|
|
|
+ height: 110rpx;
|
|
|
+ border-radius: 55rpx;
|
|
|
font-weight: 600;
|
|
|
- letter-spacing: 2upx;
|
|
|
- box-shadow: 0 8upx 24upx rgba(228, 31, 25, 0.3);
|
|
|
+ letter-spacing: 2rpx;
|
|
|
+ box-shadow: 0 8rpx 24rpx rgba(228, 31, 25, 0.3);
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
@@ -144,19 +144,19 @@ export default {
|
|
|
|
|
|
|
|
|
.tui-popup-scroll {
|
|
|
- max-height: 400upx;
|
|
|
- font-size: 28upx;
|
|
|
+ max-height: 400rpx;
|
|
|
+ font-size: 28rpx;
|
|
|
}
|
|
|
|
|
|
.tui-scrolldiv-box {
|
|
|
- padding: 10upx 0;
|
|
|
+ padding: 10rpx 0;
|
|
|
}
|
|
|
|
|
|
|
|
|
.tui-attr-title {
|
|
|
- padding: 0 0 20upx 0;
|
|
|
+ padding: 0 0 20rpx 0;
|
|
|
color: #333;
|
|
|
- font-size: 32upx;
|
|
|
+ font-size: 32rpx;
|
|
|
font-weight: 600;
|
|
|
text-align: left;
|
|
|
}
|
|
|
@@ -166,12 +166,12 @@ export default {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
- padding: 30upx 0 40upx 0;
|
|
|
+ padding: 30rpx 0 40rpx 0;
|
|
|
box-sizing: border-box;
|
|
|
background: #fafafa;
|
|
|
- border-radius: 16upx;
|
|
|
- margin: 20upx 0;
|
|
|
- padding: 40upx 30upx;
|
|
|
+ border-radius: 16rpx;
|
|
|
+ margin: 20rpx 0;
|
|
|
+ padding: 40rpx 30rpx;
|
|
|
}
|
|
|
|
|
|
.number-box-wrapper {
|
|
|
@@ -183,18 +183,18 @@ export default {
|
|
|
// 覆盖 number-box 组件的样式
|
|
|
::v-deep .tui-numberbox {
|
|
|
.tui-numbox-icon {
|
|
|
- width: 60upx;
|
|
|
- height: 60upx;
|
|
|
+ width: 60rpx;
|
|
|
+ height: 60rpx;
|
|
|
border-radius: 50%;
|
|
|
background: #fff;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- box-shadow: 0 2upx 8upx rgba(0, 0, 0, 0.1);
|
|
|
+ box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
|
|
|
padding: 0;
|
|
|
|
|
|
&:before {
|
|
|
- font-size: 36upx !important;
|
|
|
+ font-size: 36rpx !important;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
@@ -209,15 +209,15 @@ export default {
|
|
|
}
|
|
|
|
|
|
.tui-num-input {
|
|
|
- width: 120upx !important;
|
|
|
- height: 60upx !important;
|
|
|
- margin: 0 20upx !important;
|
|
|
+ width: 120rpx !important;
|
|
|
+ height: 60rpx !important;
|
|
|
+ margin: 0 20rpx !important;
|
|
|
background: #fff !important;
|
|
|
- border-radius: 12upx !important;
|
|
|
- border: 2upx solid #e8e8e8 !important;
|
|
|
- font-size: 32upx !important;
|
|
|
+ border-radius: 12rpx !important;
|
|
|
+ border: 2rpx solid #e8e8e8 !important;
|
|
|
+ font-size: 32rpx !important;
|
|
|
font-weight: 600 !important;
|
|
|
- box-shadow: 0 2upx 8upx rgba(0, 0, 0, 0.08);
|
|
|
+ box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.08);
|
|
|
}
|
|
|
}
|
|
|
}
|