Commit 8c45612a by 李伟康

style(css): 统一使用toRpx函数替换rpx单位

- 将所有CSS样式中的rpx单位替换为toRpx()函数调用
- 包括padding、margin、width、height、font-size、border-radius等属性
- 添加了新的line-height样式定义
- 统一了组件间的尺寸单位处理方式
1 parent cd4d85e5
...@@ -219,14 +219,14 @@ export default { ...@@ -219,14 +219,14 @@ export default {
.popup-box { .popup-box {
width: 56.265985vw; width: 56.265985vw;
height: 79.947917vh; height: 79.947917vh;
border-radius: 32rpx; border-radius: toRpx(32);
background: linear-gradient(180deg, #E6F0FF 0%, #FFFFFF 40%, #FFFFFF 100%); background: linear-gradient(180deg, #E6F0FF 0%, #FFFFFF 40%, #FFFFFF 100%);
.title { .title {
font-size: 40rpx; font-size: toRpx(40);
font-weight: 500; font-weight: 500;
color: #292D33; color: #292D33;
height: 128rpx; height: toRpx(128);
justify-content: center; justify-content: center;
position: relative; position: relative;
...@@ -243,26 +243,25 @@ export default { ...@@ -243,26 +243,25 @@ export default {
.customer-detail { .customer-detail {
background: #FFFFFF; background: #FFFFFF;
border: 2rpx solid #F5F7FA; border: toRpx(2) solid #F5F7FA;
margin: 0 64rpx; margin: 0 toRpx(64);
// height: 232rpx; border-radius: toRpx(32);
border-radius: 32rpx;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 24rpx 40rpx; gap: toRpx(24) toRpx(40);
box-sizing: border-box; box-sizing: border-box;
padding: 28rpx 40rpx; padding: toRpx(28) toRpx(40);
.customer-item { .customer-item {
width: calc(50% - #{toRpx(20)}); width: calc(50% - #{toRpx(20)});
box-sizing: border-box; box-sizing: border-box;
font-size: 26rpx; font-size: toRpx(26);
gap: 16rpx; gap: toRpx(16);
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
.item-title { .item-title {
width: 120rpx; width: toRpx(120);
color: #999EA8; color: #999EA8;
} }
...@@ -275,11 +274,11 @@ export default { ...@@ -275,11 +274,11 @@ export default {
.block { .block {
display: inline-block; display: inline-block;
padding: 0 16rpx; padding: 0 toRpx(16);
border-radius: 8rpx; border-radius: toRpx(8);
font-size: 24rpx; font-size: toRpx(24);
line-height: 44rpx; line-height: toRpx(44);
height: 44rpx; height: toRpx(44);
&.success { &.success {
background-color: #EAF9F1; background-color: #EAF9F1;
...@@ -306,31 +305,31 @@ export default { ...@@ -306,31 +305,31 @@ export default {
} }
.sub-title { .sub-title {
font-size: 34rpx; font-size: toRpx(34);
font-weight: 500; font-weight: 500;
color: #292D33; color: #292D33;
height: 124rpx; height: toRpx(124);
margin: 0 64rpx; margin: 0 toRpx(64);
.sprite-icon { .sprite-icon {
margin-right: 18rpx; margin-right: toRpx(18);
} }
.btn { .btn {
margin-left: auto; margin-left: auto;
background-color: #2C66F7; background-color: #2C66F7;
color: #FFFFFF; color: #FFFFFF;
padding: 0 32rpx; padding: 0 toRpx(32);
border-radius: 16rpx; border-radius: toRpx(16);
height: 64rpx; height: toRpx(64);
line-height: 64rpx; line-height: toRpx(64);
font-size: 28rpx; font-size: toRpx(28);
} }
} }
.p-b { .p-b {
height: 28rpx; height: toRpx(28);
} }
} }
.scroll-content{ .scroll-content{
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<view class="row-item tag-col"> <view class="row-item tag-col">
<view class="tag-list" :id="`tag-list-${index}`"> <view class="tag-list" :id="`tag-list-${index}`">
<view v-for="(tag, tagIndex) in item.tagList" :key="tagIndex" class="tag" <view v-for="(tag, tagIndex) in item.tagList" :key="tagIndex" class="tag flex"
:id="`tag-${index}-${tagIndex}`"> :id="`tag-${index}-${tagIndex}`">
{{ tag }} {{ tag }}
</view> </view>
...@@ -188,33 +188,33 @@ export default { ...@@ -188,33 +188,33 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
background-color: #F5F7FA; background-color: #F5F7FA;
font-size: 26rpx; font-size: toRpx(26);
color: #6C6F75; color: #6C6F75;
font-weight: 500; font-weight: 500;
height: 72rpx; height: toRpx(72);
border-radius: 16rpx; border-radius: toRpx(16);
.header-item { .header-item {
text-align: center; text-align: center;
&.customer-col { &.customer-col {
width: 588rpx; width: toRpx(588);
} }
&.order-col { &.order-col {
width: 226rpx; width: toRpx(226);
} }
&.tag-col { &.tag-col {
width: 656rpx; width: toRpx(656);
} }
&.follower-col { &.follower-col {
width: 224rpx; width: toRpx(224);
} }
&.action-col { &.action-col {
width: 284rpx; width: toRpx(284);
} }
} }
...@@ -226,38 +226,38 @@ export default { ...@@ -226,38 +226,38 @@ export default {
.table-row { .table-row {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 32rpx 0; padding: toRpx(32) 0;
border-bottom: 1rpx solid #F0F1F5; border-bottom: toRpx(1) solid #F0F1F5;
&:last-child { &:last-child {
// border-bottom: none; // border-bottom: none;
} }
.row-item { .row-item {
font-size: 26rpx; font-size: toRpx(26);
color: #333333; color: #333333;
&.customer-col { &.customer-col {
width: 588rpx; width: toRpx(588);
box-sizing: border-box; box-sizing: border-box;
padding: 0 32rpx; padding: 0 toRpx(32);
.customer-info { .customer-info {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
.avatar { .avatar {
width: 64rpx; width: toRpx(64);
height: 64rpx; height: toRpx(64);
border-radius: 50%; border-radius: 50%;
background: #2C66F71A; background: #2C66F71A;
color: #2C66F7; color: #2C66F7;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-size: 28rpx; font-size: toRpx(28);
font-weight: 500; font-weight: 500;
margin-right: 20rpx; margin-right: toRpx(20);
flex-shrink: 0; flex-shrink: 0;
} }
...@@ -268,37 +268,37 @@ export default { ...@@ -268,37 +268,37 @@ export default {
.name-row { .name-row {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 16rpx; margin-bottom: toRpx(16);
.name { .name {
font-size: 32rpx; font-size: toRpx(32);
font-weight: 500; font-weight: 500;
color: #1A1A2E; color: #1A1A2E;
margin-right: 12rpx; margin-right: toRpx(12);
max-width: 20%; max-width: 20%;
} }
.car-model { .car-model {
font-size: 24rpx; font-size: toRpx(24);
color: #6C6F75; color: #6C6F75;
padding: 0 16rpx; padding: 0 toRpx(16);
box-sizing: border-box; box-sizing: border-box;
border-radius: 8rpx; border-radius: toRpx(8);
border: 1px solid #DCE1E6; border: 1px solid #DCE1E6;
max-width: calc(80% - #{toRpx(8)}); max-width: calc(80% - #{toRpx(8)});
margin-left: 8rpx; margin-left: toRpx(8);
} }
} }
.phone { .phone {
font-size: 26rpx; font-size: toRpx(26);
color: #999EA8; color: #999EA8;
margin-bottom: 16rpx; margin-bottom: toRpx(16);
} }
.customer-group { .customer-group {
font-size: 26rpx; font-size: toRpx(26);
color: #999EA8; color: #999EA8;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -309,18 +309,18 @@ export default { ...@@ -309,18 +309,18 @@ export default {
} }
&.order-col { &.order-col {
width: 226rpx; width: toRpx(226);
box-sizing: border-box; box-sizing: border-box;
padding-left: 32rpx; padding-left: toRpx(32);
.order-status { .order-status {
display: inline-block; display: inline-block;
padding: 0 16rpx; padding: 0 toRpx(16);
border-radius: 8rpx; border-radius: toRpx(8);
font-size: 24rpx; font-size: toRpx(24);
margin-bottom: 16rpx; margin-bottom: toRpx(16);
line-height: 44rpx; line-height: toRpx(44);
height: 44rpx; height: toRpx(44);
&.success { &.success {
background-color: #EAF9F1; background-color: #EAF9F1;
...@@ -344,71 +344,72 @@ export default { ...@@ -344,71 +344,72 @@ export default {
} }
.order-date { .order-date {
font-size: 26rpx; font-size: toRpx(26);
color: #999EA8; color: #999EA8;
} }
} }
&.tag-col { &.tag-col {
width: 656rpx; width: toRpx(656);
box-sizing: border-box; box-sizing: border-box;
padding: 0 32rpx; padding: 0 toRpx(32);
.tag-list { .tag-list {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 16rpx; gap: toRpx(16);
color: #6C6F75; color: #6C6F75;
font-size: 26rpx; font-size: toRpx(26);
max-height: 100rpx; max-height: toRpx(100);
overflow: hidden; overflow: hidden;
// align-content: center; // align-content: center;
.tag { .tag {
padding: 0 16rpx; padding: 0 toRpx(16);
border-radius: 8rpx; border-radius: toRpx(8);
border: 1px solid #DCE1E6; border: toRpx(2) solid #DCE1E6;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
line-height: toRpx(38);
} }
.more-tags { .more-tags {
border: 1px solid #DCE1E6; border: toRpx(2) solid #DCE1E6;
} }
} }
} }
&.follower-col { &.follower-col {
width: 224rpx; width: toRpx(224);
font-size: 26rpx; font-size: toRpx(26);
color: #292D33; color: #292D33;
text-align: center; text-align: center;
word-break: break-all; word-break: break-all;
.date { .date {
color: #999EA8; color: #999EA8;
margin-top: 10rpx; margin-top: toRpx(10);
} }
} }
&.action-col { &.action-col {
width: 284rpx; width: toRpx(284);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 20rpx; gap: toRpx(20);
box-sizing: border-box; box-sizing: border-box;
padding: 0 32rpx; padding: 0 toRpx(32);
.action-btn { .action-btn {
padding: 0 24rpx; padding: 0 toRpx(24);
border-radius: 8rpx; border-radius: toRpx(8);
font-size: 24rpx; font-size: toRpx(24);
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: all 0.2s;
height: 56rpx; height: toRpx(56);
line-height: 56rpx; line-height: toRpx(56);
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -417,7 +418,7 @@ export default { ...@@ -417,7 +418,7 @@ export default {
&.primary-btn { &.primary-btn {
background-color: #2C66F70D; background-color: #2C66F70D;
color: #2C66F7; color: #2C66F7;
border: 2rpx solid #2C66F71A; border: toRpx(2) solid #2C66F71A;
&:active { &:active {
background-color: #D4E4FF; background-color: #D4E4FF;
...@@ -427,7 +428,7 @@ export default { ...@@ -427,7 +428,7 @@ export default {
&.secondary-btn { &.secondary-btn {
background-color: #FFFFFF; background-color: #FFFFFF;
color: #292D33; color: #292D33;
border: 2rpx solid #DCE1E6; border: toRpx(2) solid #DCE1E6;
&:active { &:active {
background-color: #F5F7FA; background-color: #F5F7FA;
...@@ -444,6 +445,6 @@ export default { ...@@ -444,6 +445,6 @@ export default {
font-size: toRpx(26); font-size: toRpx(26);
color: #808291; color: #808291;
text-align: center; text-align: center;
line-height: 80rpx; line-height: toRpx(80);
} }
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -164,32 +164,32 @@ export default { ...@@ -164,32 +164,32 @@ export default {
</script> </script>
<style scoped lang='scss'> <style scoped lang='scss'>
.task-item { .task-item {
border-radius: 32rpx; border-radius: toRpx(32);
padding: 28rpx; padding: toRpx(28);
background-color: #F8FAFC; background-color: #F8FAFC;
margin: 0 64rpx 28rpx; margin: 0 toRpx(64) toRpx(28);
&-title { &-title {
margin-bottom: 16rpx; margin-bottom: toRpx(16);
.tag { .tag {
border: 2rpx solid #DCE1E6; border: toRpx(2) solid #DCE1E6;
padding: 0 16rpx; padding: 0 toRpx(16);
border-radius: 8rpx; border-radius: toRpx(8);
color: #6C6F75; color: #6C6F75;
font-size: 26rpx; font-size: toRpx(26);
margin-right: 16rpx; margin-right: toRpx(16);
} }
.text { .text {
font-size: 30rpx; font-size: toRpx(30);
color: #292D33; color: #292D33;
} }
.line { .line {
width: 2rpx; width: toRpx(2);
height: 32rpx; height: toRpx(32);
margin: 0 16rpx; margin: 0 toRpx(16);
background-color: #999EA8; background-color: #999EA8;
} }
} }
...@@ -198,14 +198,14 @@ export default { ...@@ -198,14 +198,14 @@ export default {
margin-left: auto; margin-left: auto;
.btn { .btn {
margin-left: 16rpx; margin-left: toRpx(16);
padding: 0 32rpx; padding: 0 toRpx(32);
border-radius: 8rpx; border-radius: toRpx(8);
border: 2rpx solid #DCE1E6; border: toRpx(2) solid #DCE1E6;
color: #292D33; color: #292D33;
font-size: 26rpx; font-size: toRpx(26);
height: 56rpx; height: toRpx(56);
line-height: 56rpx; line-height: toRpx(56);
} }
.primary-btn { .primary-btn {
...@@ -216,11 +216,11 @@ export default { ...@@ -216,11 +216,11 @@ export default {
.status { .status {
display: inline-block; display: inline-block;
padding: 0 32rpx; padding: 0 toRpx(32);
border-radius: 8rpx; border-radius: toRpx(8);
font-size: 24rpx; font-size: toRpx(24);
line-height: 56rpx; line-height: toRpx(56);
height: 56rpx; height: toRpx(56);
background-color: #ECECEC; background-color: #ECECEC;
color: #999EA8; color: #999EA8;
...@@ -238,27 +238,27 @@ export default { ...@@ -238,27 +238,27 @@ export default {
&-content { &-content {
background-color: #fff; background-color: #fff;
padding: 28rpx 32rpx; padding: toRpx(28) toRpx(32);
border-radius: 32rpx; border-radius: toRpx(32);
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 28rpx 40rpx; gap: toRpx(28) toRpx(40);
.content-item { .content-item {
width: calc(50% - 20rpx); width: calc(50% - #{toRpx(20)});
font-size: 26rpx; font-size: toRpx(26);
&-title { &-title {
color: #999EA8; color: #999EA8;
flex-shrink: 0; flex-shrink: 0;
width: 120rpx; width: toRpx(120);
} }
&-content { &-content {
width: calc(100% - 136rpx); width: calc(100% - #{toRpx(136)});
color: #292D33; color: #292D33;
flex-shrink: 0; flex-shrink: 0;
margin-left: 16rpx; margin-left: toRpx(16);
.link { .link {
&-text { &-text {
...@@ -266,7 +266,7 @@ export default { ...@@ -266,7 +266,7 @@ export default {
} }
.copy { .copy {
margin-left: 16rpx; margin-left: toRpx(16);
color: #2C66F7; color: #2C66F7;
flex-shrink: 0; flex-shrink: 0;
} }
...@@ -274,16 +274,16 @@ export default { ...@@ -274,16 +274,16 @@ export default {
.video, .video,
.image { .image {
width: 160rpx; width: toRpx(160);
height: 160rpx; height: toRpx(160);
border-radius: 16rpx; border-radius: toRpx(16);
} }
.img-box { .img-box {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 24rpx; gap: toRpx(24);
} }
} }
} }
......
...@@ -141,21 +141,23 @@ export default { ...@@ -141,21 +141,23 @@ export default {
.customer-box { .customer-box {
width: 100%; width: 100%;
height: 100%; height: 100%;
padding: 32rpx 40rpx 0; padding: toRpx(32) toRpx(40) 0;
box-sizing: border-box; box-sizing: border-box;
.sprite-icon { .sprite-icon {
margin-right: 8rpx; margin-right: toRpx(8);
} }
.tips { .tips {
height: 64rpx; height: toRpx(64);
background: #2C66F70D; background: #2C66F70D;
padding: 0 24rpx; padding: 0 toRpx(24);
font-size: 26rpx; font-size: toRpx(26);
color: #6C6F75; color: #6C6F75;
border-radius: 20rpx; border-radius: toRpx(20);
.today{
line-height: toRpx(38);
}
.text { .text {
margin-left: auto; margin-left: auto;
} }
...@@ -163,15 +165,16 @@ export default { ...@@ -163,15 +165,16 @@ export default {
.tabs-box { .tabs-box {
display: flex; display: flex;
margin: 28rpx 0; margin: toRpx(28) 0;
gap: 28rpx; gap: toRpx(28);
.tab { .tab {
height: 64rpx; line-height: toRpx(64);
padding: 0 32rpx; height: toRpx(64);
border-radius: 16rpx; padding: 0 toRpx(32);
border-radius: toRpx(16);
background: #F2F2F2; background: #F2F2F2;
font-size: 28rpx; font-size: toRpx(28);
color: #292D33; color: #292D33;
justify-content: center; justify-content: center;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
......
...@@ -169,7 +169,7 @@ export default { ...@@ -169,7 +169,7 @@ export default {
font-size: toRpx(24); font-size: toRpx(24);
justify-content: center; justify-content: center;
background: linear-gradient(90deg, #5C8AFF 0%, #49B6FF 100%); background: linear-gradient(90deg, #5C8AFF 0%, #49B6FF 100%);
padding: 0 20rpx; padding: 0 toRpx(20);
border-radius: 0 toRpx(16) 0 toRpx(16); border-radius: 0 toRpx(16) 0 toRpx(16);
} }
...@@ -223,8 +223,8 @@ export default { ...@@ -223,8 +223,8 @@ export default {
&::after { &::after {
position: absolute; position: absolute;
content: ''; content: '';
width: 296rpx; width: toRpx(296);
height: 228rpx; height: toRpx(228);
top: 0; top: 0;
right: 0; right: 0;
background: url('https://img02.glsx.com.cn/weapp/resource/app-tape/common/goods-status-1.webp') no-repeat center center; background: url('https://img02.glsx.com.cn/weapp/resource/app-tape/common/goods-status-1.webp') no-repeat center center;
......
...@@ -474,7 +474,7 @@ export default { ...@@ -474,7 +474,7 @@ export default {
.img-bg-1 { .img-bg-1 {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 718rpx; height: toRpx(718);
background: #fff; background: #fff;
opacity: 0.6; opacity: 0.6;
z-index: -1; z-index: -1;
...@@ -483,7 +483,7 @@ export default { ...@@ -483,7 +483,7 @@ export default {
.img-bg-2 { .img-bg-2 {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 766rpx; height: toRpx(766);
background: #fff; background: #fff;
opacity: 0.3; opacity: 0.3;
z-index: -2; z-index: -2;
...@@ -498,7 +498,7 @@ export default { ...@@ -498,7 +498,7 @@ export default {
zoom: 2; zoom: 2;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
z-index: -3; z-index: -3;
filter: blur(64rpx); filter: blur(toRpx(64));
.icon { .icon {
width: 100%; width: 100%;
...@@ -608,7 +608,7 @@ export default { ...@@ -608,7 +608,7 @@ export default {
background: #fff; background: #fff;
border-radius: toRpx(16); border-radius: toRpx(16);
transition: all 0.15s; transition: all 0.15s;
box-shadow: 0px 2rpx 6rpx 0px #0000001A; box-shadow: 0px toRpx(2) toRpx(6) 0px #0000001A;
} }
.block-0 { .block-0 {
...@@ -645,14 +645,14 @@ export default { ...@@ -645,14 +645,14 @@ export default {
z-index: -1; z-index: -1;
.icon { .icon {
width: 300rpx; width: toRpx(300);
height: 236rpx; height: toRpx(236);
margin-bottom: 8rpx; margin-bottom: toRpx(8);
} }
.text { .text {
font-size: 26rpx; font-size: toRpx(26);
line-height: 28rpx; line-height: toRpx(28);
color: #999EA8; color: #999EA8;
} }
} }
......
...@@ -213,17 +213,17 @@ export default { ...@@ -213,17 +213,17 @@ export default {
.box { .box {
width: 46vw; width: 46vw;
height: 100vh; height: 100vh;
border-radius: 32rpx 0 0 32rpx; border-radius: toRpx(32) 0 0 toRpx(32);
background-color: #fff; background-color: #fff;
.popup-title { .popup-title {
height: 112rpx; height: toRpx(112);
position: relative; position: relative;
justify-content: center; justify-content: center;
color: #333333; color: #333333;
font-size: 36rpx; font-size: toRpx(36);
font-weight: 500; font-weight: 500;
line-height: 48rpx; line-height: toRpx(48);
.text { .text {
max-width: 50%; max-width: 50%;
...@@ -242,9 +242,9 @@ export default { ...@@ -242,9 +242,9 @@ export default {
.popup-calendar { .popup-calendar {
position: relative; position: relative;
height: 96rpx; height: toRpx(96);
justify-content: center; justify-content: center;
font-size: 32rpx; font-size: toRpx(32);
font-weight: 700; font-weight: 700;
color: #37393D; color: #37393D;
...@@ -257,62 +257,62 @@ export default { ...@@ -257,62 +257,62 @@ export default {
position: absolute; position: absolute;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
width: 56rpx; width: toRpx(56);
height: 56rpx; height: toRpx(56);
border-radius: 16rpx; border-radius: toRpx(16);
justify-content: center; justify-content: center;
border: 2rpx solid #DCDFE6; border: toRpx(2) solid #DCDFE6;
font-weight: 400; font-weight: 400;
} }
&-right { &-right {
right: 90rpx; right: toRpx(90);
} }
&-left { &-left {
left: 90rpx; left: toRpx(90);
} }
} }
.popup-content { .popup-content {
height: calc(100vh - 368rpx); height: calc(100vh - #{toRpx(368)});
overflow-y: auto; overflow-y: auto;
box-sizing: border-box; box-sizing: border-box;
padding: 0; padding: 0;
.customer-list { .customer-list {
width: 100%; width: 100%;
padding: 0 16rpx; padding: 0 toRpx(16);
.list-header { .list-header {
display: flex; display: flex;
align-items: center; align-items: center;
background-color: #EDF3FF; background-color: #EDF3FF;
padding: 0; padding: 0;
border-bottom: 2rpx solid #F5F7FA; border-bottom: toRpx(2) solid #F5F7FA;
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 10; z-index: 10;
.header-item { .header-item {
font-size: 28rpx; font-size: toRpx(28);
color: #000; color: #000;
font-weight: 500; font-weight: 500;
padding: 28rpx 0 28rpx 24rpx; padding: toRpx(28) 0 toRpx(28) toRpx(24);
} }
.checkbox-col { .checkbox-col {
width: 102rpx; width: toRpx(102);
min-width: 102rpx; min-width: toRpx(102);
flex-shrink: 0; flex-shrink: 0;
display: flex; display: flex;
align-items: center; align-items: center;
.custom-checkbox { .custom-checkbox {
width: 28rpx; width: toRpx(28);
height: 28rpx; height: toRpx(28);
border: 2.4rpx solid #DCDFE6; border: toRpx(2) solid #DCDFE6;
border-radius: 8rpx; border-radius: toRpx(8);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
...@@ -330,8 +330,8 @@ export default { ...@@ -330,8 +330,8 @@ export default {
border-color: #2c66f7; border-color: #2c66f7;
.partial-indicator { .partial-indicator {
width: 16rpx; width: toRpx(16);
height: 3rpx; height: toRpx(3);
background-color: #ffffff; background-color: #ffffff;
} }
} }
...@@ -351,7 +351,7 @@ export default { ...@@ -351,7 +351,7 @@ export default {
} }
.phone-col { .phone-col {
width: 224rpx; width: toRpx(224);
flex-shrink: 0; flex-shrink: 0;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -359,7 +359,7 @@ export default { ...@@ -359,7 +359,7 @@ export default {
} }
.car-col { .car-col {
width: 208rpx; width: toRpx(208);
flex-shrink: 0; flex-shrink: 0;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -367,7 +367,7 @@ export default { ...@@ -367,7 +367,7 @@ export default {
} }
.date-col { .date-col {
width: 218rpx; width: toRpx(218);
flex-shrink: 0; flex-shrink: 0;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -380,7 +380,7 @@ export default { ...@@ -380,7 +380,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 0; padding: 0;
border-bottom: 1rpx solid #F5F7FA; border-bottom: toRpx(2) solid #F5F7FA;
transition: background-cols; transition: background-cols;
&.selected { &.selected {
...@@ -392,24 +392,24 @@ export default { ...@@ -392,24 +392,24 @@ export default {
} }
.row-item { .row-item {
font-size: 28rpx; font-size: toRpx(28);
color: #333333; color: #333333;
padding: 28rpx 0 28rpx 24rpx; padding: toRpx(28) 0 toRpx(28) toRpx(24);
line-height: 40rpx; line-height: toRpx(40);
} }
.checkbox-col { .checkbox-col {
width: 102rpx; width: toRpx(102);
min-width: 102rpx; min-width: toRpx(102);
flex-shrink: 0; flex-shrink: 0;
display: flex; display: flex;
align-items: center; align-items: center;
.custom-checkbox { .custom-checkbox {
width: 28rpx; width: toRpx(28);
height: 28rpx; height: toRpx(28);
border: 2.4rpx solid #DCDFE6; border: toRpx(2) solid #DCDFE6;
border-radius: 8rpx; border-radius: toRpx(8);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
...@@ -427,8 +427,8 @@ export default { ...@@ -427,8 +427,8 @@ export default {
border-color: #2c66f7; border-color: #2c66f7;
.partial-indicator { .partial-indicator {
width: 16rpx; width: toRpx(16);
height: 3rpx; height: toRpx(3);
background-color: #ffffff; background-color: #ffffff;
} }
} }
...@@ -444,7 +444,7 @@ export default { ...@@ -444,7 +444,7 @@ export default {
} }
.phone-col { .phone-col {
width: 224rpx; width: toRpx(224);
flex-shrink: 0; flex-shrink: 0;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -452,7 +452,7 @@ export default { ...@@ -452,7 +452,7 @@ export default {
} }
.car-col { .car-col {
width: 208rpx; width: toRpx(208);
flex-shrink: 0; flex-shrink: 0;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -460,7 +460,7 @@ export default { ...@@ -460,7 +460,7 @@ export default {
} }
.date-col { .date-col {
width: 218rpx; width: toRpx(218);
flex-shrink: 0; flex-shrink: 0;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -472,15 +472,15 @@ export default { ...@@ -472,15 +472,15 @@ export default {
} }
.popup-footer { .popup-footer {
padding: 16rpx 0 64rpx 0; padding: toRpx(16) 0 toRpx(64) 0;
justify-content: center; justify-content: center;
gap: 0 32rpx; gap: 0 toRpx(32);
margin: 0 48rpx; margin: 0 toRpx(48);
.del { .del {
border-radius: 64rpx; border-radius: toRpx(64);
background: #2c66f71a; background: #2c66f71a;
padding: 20rpx 32rpx; padding: toRpx(20) toRpx(32);
} }
.popup-btn { .popup-btn {
...@@ -488,11 +488,11 @@ export default { ...@@ -488,11 +488,11 @@ export default {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 100%; width: 100%;
height: 80rpx; height: toRpx(80);
border-radius: 64rpx; border-radius: toRpx(64);
background: #f0f1f5; background: #f0f1f5;
color: #333333; color: #333333;
font-size: 32rpx; font-size: toRpx(32);
font-weight: 500; font-weight: 500;
transition: all 0.2s; transition: all 0.2s;
} }
......
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
.daily-report { .daily-report {
height: 100%; height: 100%;
position: relative; position: relative;
padding: 48rpx 0; padding: toRpx(48) 0;
.common-title { .common-title {
position: absolute; position: absolute;
top: 0; top: 0;
...@@ -121,20 +121,20 @@ export default { ...@@ -121,20 +121,20 @@ export default {
.report-content { .report-content {
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
border-radius: 32rpx; border-radius: toRpx(32);
background: #fff; background: #fff;
margin: 0 48rpx; margin: 0 toRpx(48);
box-sizing: border-box; box-sizing: border-box;
padding-bottom: 32rpx; padding-bottom: toRpx(32);
} }
.list-box { .list-box {
padding-left: 32rpx; padding-left: toRpx(32);
overflow-x: auto; overflow-x: auto;
.list-title { .list-title {
font-size: 32rpx; font-size: toRpx(32);
font-weight: 600; font-weight: 600;
line-height: 44rpx; line-height: toRpx(44);
padding: 32rpx 0 24rpx; padding: toRpx(32) 0 toRpx(24);
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 50; z-index: 50;
......
...@@ -212,51 +212,51 @@ export default { ...@@ -212,51 +212,51 @@ export default {
position: relative; position: relative;
.fixed-box { .fixed-box {
height: 144rpx; height: toRpx(144);
box-sizing: border-box; box-sizing: border-box;
padding: 48rpx 48rpx 32rpx; padding: toRpx(48) toRpx(48) toRpx(32);
position: relative; position: relative;
z-index: 2; z-index: 2;
.fixed-title { .fixed-title {
font-size: 34rpx; font-size: toRpx(34);
font-weight: 500; font-weight: 500;
line-height: 40rpx; line-height: toRpx(40);
color: #292D33; color: #292D33;
.sprite-icon { .sprite-icon {
margin-right: 18rpx; margin-right: toRpx(18);
} }
.text-primary { .text-primary {
margin-left: 18rpx; margin-left: toRpx(18);
color: #2c66f7; color: #2c66f7;
font-size: 32rpx; font-size: toRpx(32);
font-weight: 700; font-weight: 700;
} }
} }
.fixed-btn { .fixed-btn {
margin-left: auto; margin-left: auto;
height: 64rpx; height: toRpx(64);
border-radius: 16rpx; border-radius: toRpx(16);
border: 2rpx solid #2C66F71A; border: toRpx(2) solid #2C66F71A;
font-size: 32rpx; font-size: toRpx(32);
font-weight: 500; font-weight: 500;
color: #2C66F7; color: #2C66F7;
font-size: 28rpx; font-size: toRpx(28);
padding: 0 32rpx; padding: 0 toRpx(32);
gap: 8rpx; gap: toRpx(8);
background-color: #2C66F70D; background-color: #2C66F70D;
} }
} }
&-container { &-container {
height: calc(100% - #{toRpx(280)}); height: calc(100% - #{toRpx(280)});
padding: 0 48rpx; padding: 0 toRpx(48);
box-sizing: border-box; box-sizing: border-box;
overflow-y: auto; overflow-y: auto;
// transform: translateY(48rpx); // transform: translateY(toRpx(48));
} }
.common-title { .common-title {
...@@ -271,35 +271,35 @@ export default { ...@@ -271,35 +271,35 @@ export default {
.list-box { .list-box {
width: 100%; width: 100%;
border-radius: 16rpx; border-radius: toRpx(16);
background: #fff; background: #fff;
padding: 0 0 32rpx 32rpx; padding: 0 0 toRpx(32) toRpx(32);
margin-bottom: 32rpx; margin-bottom: toRpx(32);
.list-title { .list-title {
font-size: 32rpx; font-size: toRpx(32);
font-weight: 600; font-weight: 600;
line-height: 44rpx; line-height: toRpx(44);
padding: 32rpx 32rpx 24rpx 0; padding: toRpx(32) toRpx(32) toRpx(24) 0;
transition: all .25s ease-in-out; transition: all .25s ease-in-out;
.add { .add {
margin-left: auto; margin-left: auto;
height: 64rpx; height: toRpx(64);
padding: 20rpx 32rpx; padding: toRpx(20) toRpx(32);
justify-content: center; justify-content: center;
align-items: center; align-items: center;
border-radius: 32rpx; border-radius: toRpx(32);
background: #2c66f71a; background: #2c66f71a;
font-size: 30rpx; font-size: toRpx(30);
font-weight: 500; font-weight: 500;
color: #2c66f7; color: #2c66f7;
&-icon { &-icon {
position: relative; position: relative;
width: 28rpx; width: toRpx(28);
height: 28rpx; height: toRpx(28);
margin-right: 10rpx; margin-right: toRpx(10);
&::before, &::before,
&::after { &::after {
...@@ -309,17 +309,17 @@ export default { ...@@ -309,17 +309,17 @@ export default {
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
background: #4673ff; background: #4673ff;
border-radius: 4rpx; border-radius: toRpx(4);
} }
&::before { &::before {
width: 4rpx; width: toRpx(4);
height: 28rpx; height: toRpx(28);
} }
&::after { &::after {
width: 28rpx; width: toRpx(28);
height: 4rpx; height: toRpx(4);
} }
} }
} }
...@@ -334,25 +334,25 @@ export default { ...@@ -334,25 +334,25 @@ export default {
padding-bottom: 0; padding-bottom: 0;
.list-title { .list-title {
padding-bottom: 32rpx; padding-bottom: toRpx(32);
} }
} }
.footer { .footer {
// transform: translateY(48rpx); // transform: translateY(toRpx(48));
height: 136rpx; height: toRpx(136);
.btn { .btn {
margin: 0 168rpx; margin: 0 toRpx(168);
width: 100%; width: 100%;
height: 80rpx; height: toRpx(80);
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
border-radius: 80rpx; border-radius: toRpx(80);
background: linear-gradient(0deg, #2c66f7 0%, #48a6ff 100%); background: linear-gradient(0deg, #2c66f7 0%, #48a6ff 100%);
color: #ffffff; color: #ffffff;
font-size: 28rpx; font-size: toRpx(28);
font-weight: 500; font-weight: 500;
} }
......
...@@ -137,25 +137,25 @@ export default { ...@@ -137,25 +137,25 @@ export default {
.content { .content {
height: calc(100% - #{toRpx(120)}); height: calc(100% - #{toRpx(120)});
overflow-y: auto; overflow-y: auto;
padding: 0 48rpx 32rpx; padding: 0 toRpx(48) toRpx(32);
box-sizing: border-box; box-sizing: border-box;
} }
.divider { .divider {
color: #333333; color: #333333;
font-size: 32rpx; font-size: toRpx(32);
font-weight: 500; font-weight: 500;
line-height: 48rpx; line-height: toRpx(48);
margin-bottom: 24rpx; margin-bottom: toRpx(24);
padding-top: 16rpx; padding-top: toRpx(16);
} }
.item { .item {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
gap: 32rpx; gap: toRpx(32);
background-color: #fff; background-color: #fff;
box-sizing: border-box; box-sizing: border-box;
padding: 0 32rpx 16rpx; padding: 0 toRpx(32) toRpx(16);
font-size: 28rpx; font-size: toRpx(28);
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
.label, .label,
...@@ -168,29 +168,29 @@ export default { ...@@ -168,29 +168,29 @@ export default {
} }
} }
.item.before-divider { .item.before-divider {
padding-bottom: 28rpx; padding-bottom: toRpx(28);
border-radius: 0 0 16rpx 16rpx; border-radius: 0 0 toRpx(16) toRpx(16);
} }
.frist { .frist {
padding-top: 28rpx; padding-top: toRpx(28);
border-radius: 16rpx 16rpx 0 0; border-radius: toRpx(16) toRpx(16) 0 0;
} }
.group-box { .group-box {
width: 100%; width: 100%;
margin-top: 16rpx; margin-top: toRpx(16);
.group-title { .group-title {
font-size: 32rpx; font-size: toRpx(32);
font-weight: 600; font-weight: 600;
line-height: 44rpx; line-height: toRpx(44);
padding: 16rpx 0 24rpx; padding: toRpx(16) 0 toRpx(24);
} }
.group-list { .group-list {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 12rpx; gap: toRpx(12);
border-radius: 16rpx; border-radius: toRpx(16);
background: #fff; background: #fff;
padding: 28rpx 32rpx; padding: toRpx(28) toRpx(32);
.item { .item {
padding: 0; padding: 0;
} }
......
...@@ -192,17 +192,17 @@ export default { ...@@ -192,17 +192,17 @@ export default {
&-container { &-container {
height: calc(100% - #{toRpx(256)}); height: calc(100% - #{toRpx(256)});
padding: 0 48rpx; padding: 0 toRpx(48);
box-sizing: border-box; box-sizing: border-box;
overflow-y: auto; overflow-y: auto;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 24rpx 32rpx; gap: toRpx(24) toRpx(32);
align-content: start; align-content: start;
.list-item, .list-item,
.form-item { .form-item {
width: calc((100% - 32rpx) / 2); width: calc((100% - #{toRpx(32)}) / 2);
} }
.block { .block {
...@@ -211,14 +211,14 @@ export default { ...@@ -211,14 +211,14 @@ export default {
.divider { .divider {
color: #999999; color: #999999;
font-size: 24rpx; font-size: toRpx(24);
line-height: 32rpx; line-height: toRpx(32);
position: relative; position: relative;
justify-content: center; justify-content: center;
.text { .text {
position: relative; position: relative;
padding: 0 24rpx; padding: 0 toRpx(24);
} }
&::before, &::before,
...@@ -243,18 +243,18 @@ export default { ...@@ -243,18 +243,18 @@ export default {
.list-box { .list-box {
width: 100%; width: 100%;
border-radius: 32rpx; border-radius: toRpx(32);
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 24rpx 32rpx; gap: toRpx(24) toRpx(32);
.list-title { .list-title {
color: #333333; color: #333333;
width: 100%; width: 100%;
font-size: 32rpx; font-size: toRpx(32);
font-weight: 500; font-weight: 500;
line-height: 48rpx; line-height: toRpx(48);
padding: 8rpx 32rpx 0 0; padding: toRpx(8) toRpx(32) 0 0;
} }
} }
...@@ -267,19 +267,19 @@ export default { ...@@ -267,19 +267,19 @@ export default {
position: absolute; position: absolute;
width: calc(100% - #{toRpx(96)}); width: calc(100% - #{toRpx(96)});
height: calc(100% - #{toRpx(80)}); height: calc(100% - #{toRpx(80)});
border-radius: 32rpx; border-radius: toRpx(32);
background: #fff; background: #fff;
top: 48rpx; top: toRpx(48);
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
padding: 0 0 32rpx 32rpx; padding: 0 0 toRpx(32) toRpx(32);
overflow-x: auto; overflow-x: auto;
.list-title { .list-title {
font-size: 32rpx; font-size: toRpx(32);
font-weight: 600; font-weight: 600;
line-height: 44rpx; line-height: toRpx(44);
padding: 32rpx 0 24rpx; padding: toRpx(32) 0 toRpx(24);
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 50; z-index: 50;
...@@ -288,19 +288,19 @@ export default { ...@@ -288,19 +288,19 @@ export default {
} }
.footer { .footer {
height: 136rpx; height: toRpx(136);
.btn { .btn {
margin: 0 168rpx; margin: 0 toRpx(168);
width: 100%; width: 100%;
height: 80rpx; height: toRpx(80);
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
border-radius: 80rpx; border-radius: toRpx(80);
background: linear-gradient(0deg, #2c66f7 0%, #48a6ff 100%); background: linear-gradient(0deg, #2c66f7 0%, #48a6ff 100%);
color: #ffffff; color: #ffffff;
font-size: 28rpx; font-size: toRpx(28);
font-weight: 500; font-weight: 500;
} }
......
...@@ -132,27 +132,27 @@ export default { ...@@ -132,27 +132,27 @@ export default {
.content { .content {
height: calc(100% - #{toRpx(120)}); height: calc(100% - #{toRpx(120)});
overflow-y: auto; overflow-y: auto;
padding: 0 48rpx 32rpx; padding: 0 toRpx(48) toRpx(32);
box-sizing: border-box; box-sizing: border-box;
} }
.divider { .divider {
color: #333333; color: #333333;
font-size: 32rpx; font-size: toRpx(32);
font-weight: 500; font-weight: 500;
line-height: 48rpx; line-height: toRpx(48);
margin-bottom: 24rpx; margin-bottom: toRpx(24);
padding-top: 16rpx; padding-top: toRpx(16);
} }
.item { .item {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
gap: 32rpx; gap: toRpx(32);
background-color: #fff; background-color: #fff;
box-sizing: border-box; box-sizing: border-box;
padding: 0 32rpx 16rpx; padding: 0 toRpx(32) toRpx(16);
font-size: 28rpx; font-size: toRpx(28);
font-weight: 400; font-weight: 400;
color: #333333; color: #333333;
...@@ -168,30 +168,30 @@ export default { ...@@ -168,30 +168,30 @@ export default {
} }
.item.before-divider { .item.before-divider {
padding-bottom: 28rpx; padding-bottom: toRpx(28);
border-radius: 0 0 16rpx 16rpx; border-radius: 0 0 toRpx(16) toRpx(16);
} }
.divider+.item, .divider+.item,
.frist { .frist {
padding-top: 28rpx; padding-top: toRpx(28);
border-radius: 16rpx 16rpx 0 0; border-radius: toRpx(16) toRpx(16) 0 0;
} }
.list-box { .list-box {
// position: absolute; // position: absolute;
width: 100%; width: 100%;
border-radius: 16rpx; border-radius: toRpx(16);
background: #fff; background: #fff;
padding: 0 0 32rpx 32rpx; padding: 0 0 toRpx(32) toRpx(32);
overflow-x: auto; overflow-x: auto;
margin-top: 16rpx; margin-top: toRpx(16);
.list-title { .list-title {
font-size: 32rpx; font-size: toRpx(32);
font-weight: 600; font-weight: 600;
line-height: 44rpx; line-height: toRpx(44);
padding: 32rpx 0 24rpx; padding: toRpx(32) 0 toRpx(24);
} }
} }
} }
......
...@@ -235,15 +235,15 @@ export default { ...@@ -235,15 +235,15 @@ export default {
&-container { &-container {
height: calc(100% - #{toRpx(256)}); height: calc(100% - #{toRpx(256)});
padding: 0 48rpx; padding: 0 toRpx(48);
box-sizing: border-box; box-sizing: border-box;
overflow-y: auto; overflow-y: auto;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 24rpx 32rpx; gap: toRpx(24) toRpx(32);
align-content: start; align-content: start;
.list-item { .list-item {
width: calc(50% - 16rpx); width: calc(50% - #{toRpx(16)});
} }
.block { .block {
...@@ -252,14 +252,14 @@ export default { ...@@ -252,14 +252,14 @@ export default {
.divider { .divider {
color: #999999; color: #999999;
font-size: 24rpx; font-size: toRpx(24);
line-height: 32rpx; line-height: toRpx(32);
position: relative; position: relative;
justify-content: center; justify-content: center;
.text { .text {
position: relative; position: relative;
padding: 0 24rpx; padding: 0 toRpx(24);
flex-shrink: 0; flex-shrink: 0;
} }
...@@ -275,35 +275,35 @@ export default { ...@@ -275,35 +275,35 @@ export default {
.list-box { .list-box {
width: 100%; width: 100%;
border-radius: 16rpx; border-radius: toRpx(16);
background: #fff; background: #fff;
padding: 0 0 32rpx 32rpx; padding: 0 0 toRpx(32) toRpx(32);
margin-top: 8rpx; margin-top: toRpx(8);
.list-title { .list-title {
font-size: 32rpx; font-size: toRpx(32);
font-weight: 600; font-weight: 600;
line-height: 44rpx; line-height: toRpx(44);
padding: 32rpx 32rpx 24rpx 0; padding: toRpx(32) toRpx(32) toRpx(24) 0;
transition: all .25s ease-in-out; transition: all .25s ease-in-out;
.add { .add {
margin-left: auto; margin-left: auto;
height: 64rpx; height: toRpx(64);
padding: 20rpx 32rpx; padding: toRpx(20) toRpx(32);
justify-content: center; justify-content: center;
align-items: center; align-items: center;
border-radius: 32rpx; border-radius: toRpx(32);
background: #2c66f71a; background: #2c66f71a;
font-size: 30rpx; font-size: toRpx(30);
font-weight: 500; font-weight: 500;
color: #2c66f7; color: #2c66f7;
&-icon { &-icon {
position: relative; position: relative;
width: 28rpx; width: toRpx(28);
height: 28rpx; height: toRpx(28);
margin-right: 10rpx; margin-right: toRpx(10);
&::before, &::before,
&::after { &::after {
...@@ -313,17 +313,17 @@ export default { ...@@ -313,17 +313,17 @@ export default {
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
background: #4673ff; background: #4673ff;
border-radius: 4rpx; border-radius: toRpx(4);
} }
&::before { &::before {
width: 4rpx; width: toRpx(4);
height: 28rpx; height: toRpx(28);
} }
&::after { &::after {
width: 28rpx; width: toRpx(28);
height: 4rpx; height: toRpx(4);
} }
} }
} }
...@@ -337,7 +337,7 @@ export default { ...@@ -337,7 +337,7 @@ export default {
padding-bottom: 0; padding-bottom: 0;
.list-title { .list-title {
padding-bottom: 32rpx; padding-bottom: toRpx(32);
} }
} }
} }
...@@ -346,19 +346,19 @@ export default { ...@@ -346,19 +346,19 @@ export default {
position: absolute; position: absolute;
width: calc(100% - #{toRpx(96)}); width: calc(100% - #{toRpx(96)});
height: calc(100% - #{toRpx(80)}); height: calc(100% - #{toRpx(80)});
border-radius: 32rpx; border-radius: toRpx(32);
background: #fff; background: #fff;
top: 48rpx; top: toRpx(48);
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
padding: 0 0 32rpx 32rpx; padding: 0 0 toRpx(32) toRpx(32);
overflow-x: auto; overflow-x: auto;
.list-title { .list-title {
font-size: 32rpx; font-size: toRpx(32);
font-weight: 600; font-weight: 600;
line-height: 44rpx; line-height: toRpx(44);
padding: 32rpx 0 24rpx; padding: toRpx(32) 0 toRpx(24);
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 50; z-index: 50;
...@@ -367,7 +367,7 @@ export default { ...@@ -367,7 +367,7 @@ export default {
} }
.footer { .footer {
height: 136rpx; height: toRpx(136);
.footer-container { .footer-container {
justify-content: space-between; justify-content: space-between;
...@@ -375,14 +375,14 @@ export default { ...@@ -375,14 +375,14 @@ export default {
.btn { .btn {
width: calc(100% / 3 - #{toRpx(32)}); width: calc(100% / 3 - #{toRpx(32)});
height: 80rpx; height: toRpx(80);
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
border-radius: 80rpx; border-radius: toRpx(80);
background: linear-gradient(0deg, #2c66f7 0%, #48a6ff 100%); background: linear-gradient(0deg, #2c66f7 0%, #48a6ff 100%);
color: #ffffff; color: #ffffff;
font-size: 28rpx; font-size: toRpx(28);
font-weight: 500; font-weight: 500;
} }
......
...@@ -189,19 +189,19 @@ export default { ...@@ -189,19 +189,19 @@ export default {
flex-direction: row; flex-direction: row;
flex-wrap: nowrap; flex-wrap: nowrap;
overflow-x: auto; overflow-x: auto;
gap: 16rpx; gap: toRpx(16);
padding: 48rpx 48rpx 32rpx; padding: toRpx(48) toRpx(48) toRpx(32);
.name-item { .name-item {
padding: 0 48rpx; padding: 0 toRpx(48);
height: 72rpx; height: toRpx(72);
color: #6c6f75; color: #6c6f75;
font-size: 28rpx; font-size: toRpx(28);
line-height: 40rpx; line-height: toRpx(40);
border-radius: 16rpx; border-radius: toRpx(16);
background: #f5f7fa; background: #f5f7fa;
box-sizing: border-box; box-sizing: border-box;
border: 2rpx solid #f5f7fa; border: toRpx(2) solid #f5f7fa;
} }
.active { .active {
...@@ -215,17 +215,17 @@ export default { ...@@ -215,17 +215,17 @@ export default {
.content { .content {
height: calc(100% - #{toRpx(152)}); height: calc(100% - #{toRpx(152)});
box-sizing: border-box; box-sizing: border-box;
margin: 0 48rpx; margin: 0 toRpx(48);
padding: 0 32rpx 32rpx; padding: 0 toRpx(32) toRpx(32);
border-radius: 32rpx; border-radius: toRpx(32);
background: #fff; background: #fff;
overflow-y: auto; overflow-y: auto;
.table-title { .table-title {
font-size: 32rpx; font-size: toRpx(32);
font-weight: 600; font-weight: 600;
line-height: 44rpx; line-height: toRpx(44);
padding: 32rpx 0 24rpx; padding: toRpx(32) 0 toRpx(24);
position: sticky; position: sticky;
top: 0; top: 0;
z-index: 50; z-index: 50;
...@@ -235,19 +235,19 @@ export default { ...@@ -235,19 +235,19 @@ export default {
} }
.footer { .footer {
height: 136rpx; height: toRpx(136);
.btn { .btn {
margin: 0 168rpx; margin: 0 toRpx(168);
width: 100%; width: 100%;
height: 80rpx; height: toRpx(80);
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
border-radius: 80rpx; border-radius: toRpx(80);
background: #3b73ff1a; background: #3b73ff1a;
color: #4673ff; color: #4673ff;
font-size: 28rpx; font-size: toRpx(28);
font-weight: 500; font-weight: 500;
} }
} }
......
...@@ -285,8 +285,8 @@ export default { ...@@ -285,8 +285,8 @@ export default {
line-height: toRpx(40); line-height: toRpx(40);
width: 100%; width: 100%;
flex-shrink: 0; flex-shrink: 0;
margin: 16rpx 0; margin: toRpx(16) 0;
padding-left: 10rpx; padding-left: toRpx(10);
} }
.series-name { .series-name {
color: #555; color: #555;
...@@ -294,8 +294,8 @@ export default { ...@@ -294,8 +294,8 @@ export default {
line-height: toRpx(40); line-height: toRpx(40);
width: 100%; width: 100%;
flex-shrink: 0; flex-shrink: 0;
margin-bottom: 16rpx; margin-bottom: toRpx(16);
padding-left: 20rpx; padding-left: toRpx(20);
} }
} }
} }
...@@ -306,7 +306,7 @@ export default { ...@@ -306,7 +306,7 @@ export default {
display: flex; display: flex;
// gap: toRpx(32) 0; // gap: toRpx(32) 0;
flex-wrap: wrap; flex-wrap: wrap;
padding: 0 20rpx; padding: 0 toRpx(20);
.item { .item {
width: calc((100% - #{toRpx(96)}) / 4); width: calc((100% - #{toRpx(96)}) / 4);
justify-content: center; justify-content: center;
...@@ -317,7 +317,7 @@ export default { ...@@ -317,7 +317,7 @@ export default {
position: relative; position: relative;
color: #333333; color: #333333;
font-size: toRpx(32); font-size: toRpx(32);
padding: 10rpx 20rpx; padding: toRpx(10) toRpx(20);
box-sizing: border-box; box-sizing: border-box;
.sprite-icon { .sprite-icon {
display: none; display: none;
......
...@@ -211,17 +211,17 @@ export default { ...@@ -211,17 +211,17 @@ export default {
.box { .box {
width: 46vw; width: 46vw;
height: 100vh; height: 100vh;
border-radius: 32rpx 0 0 32rpx; border-radius: toRpx(32) 0 0 toRpx(32);
background-color: #fff; background-color: #fff;
.popup-title { .popup-title {
height: 112rpx; height: toRpx(112);
position: relative; position: relative;
justify-content: center; justify-content: center;
color: #333333; color: #333333;
font-size: 36rpx; font-size: toRpx(36);
font-weight: 500; font-weight: 500;
line-height: 48rpx; line-height: toRpx(48);
.popup-close { .popup-close {
position: absolute; position: absolute;
...@@ -235,19 +235,19 @@ export default { ...@@ -235,19 +235,19 @@ export default {
} }
.popup-content { .popup-content {
height: calc(100vh - 272rpx); height: calc(100vh - #{toRpx(272)});
overflow-y: auto; overflow-y: auto;
box-sizing: border-box; box-sizing: border-box;
padding: 16rpx 0; padding: toRpx(16) 0;
.form-box { .form-box {
margin: 0 48rpx; margin: 0 toRpx(48);
padding: 32rpx; padding: toRpx(32);
border-radius: 24rpx; border-radius: toRpx(24);
background: #94c2ff33; background: #94c2ff33;
.form-item { .form-item {
margin-bottom: 16rpx; margin-bottom: toRpx(16);
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
...@@ -257,27 +257,27 @@ export default { ...@@ -257,27 +257,27 @@ export default {
} }
.popup-footer { .popup-footer {
padding: 16rpx 0 64rpx 0; padding: toRpx(16) 0 toRpx(64) 0;
justify-content: center; justify-content: center;
gap: 0 32rpx; gap: 0 toRpx(32);
margin: 0 48rpx; margin: 0 toRpx(48);
.del { .del {
border-radius: 64rpx; border-radius: toRpx(64);
background: #2c66f71a; background: #2c66f71a;
padding: 20rpx 32rpx; padding: toRpx(20) toRpx(32);
} }
.popup-btn { .popup-btn {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 412rpx; width: toRpx(412);
height: 80rpx; height: toRpx(80);
border-radius: 64rpx; border-radius: toRpx(64);
background: #f0f1f5; background: #f0f1f5;
color: #333333; color: #333333;
font-size: 32rpx; font-size: toRpx(32);
font-weight: 500; font-weight: 500;
} }
......
...@@ -24,6 +24,6 @@ ...@@ -24,6 +24,6 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
height: 100%; height: 100%;
padding: 28rpx 32rpx; padding: toRpx(28) toRpx(32);
} }
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -315,18 +315,18 @@ export default { ...@@ -315,18 +315,18 @@ export default {
<style scoped lang='scss'> <style scoped lang='scss'>
.item { .item {
width: 100%; width: 100%;
height: 96rpx; height: toRpx(96);
padding: 0 32rpx; padding: 0 toRpx(32);
border-radius: 16rpx; border-radius: toRpx(16);
background: #fff; background: #fff;
&-label { &-label {
color: #333333; color: #333333;
font-size: 28rpx; font-size: toRpx(28);
font-weight: 400; font-weight: 400;
line-height: 40rpx; line-height: toRpx(40);
flex-shrink: 0; flex-shrink: 0;
padding-right: 8rpx; padding-right: toRpx(8);
.required { .required {
color: #f24724; color: #f24724;
...@@ -343,14 +343,14 @@ export default { ...@@ -343,14 +343,14 @@ export default {
text-align: right; text-align: right;
.radio { .radio {
margin-left: 28rpx; margin-left: toRpx(28);
::v-deep .uni-radio-input { ::v-deep .uni-radio-input {
width: 28rpx; width: toRpx(28);
height: 28rpx; height: toRpx(28);
&:before { &:before {
font-size: 20rpx; font-size: toRpx(20);
} }
} }
} }
...@@ -359,7 +359,7 @@ export default { ...@@ -359,7 +359,7 @@ export default {
.sprite-icon, .sprite-icon,
.unit { .unit {
flex-shrink: 0; flex-shrink: 0;
margin-left: 8rpx; margin-left: toRpx(8);
} }
} }
...@@ -369,7 +369,7 @@ export default { ...@@ -369,7 +369,7 @@ export default {
.picker, .picker,
.radio-group { .radio-group {
width: 100%; width: 100%;
font-size: 28rpx; font-size: toRpx(28);
border: none; border: none;
&::placeholder { &::placeholder {
...@@ -388,9 +388,9 @@ export default { ...@@ -388,9 +388,9 @@ export default {
} }
.textarea-item { .textarea-item {
height: 312rpx; height: toRpx(312);
flex-direction: column; flex-direction: column;
padding-bottom: 40rpx; padding-bottom: toRpx(40);
box-sizing: border-box; box-sizing: border-box;
.item-label, .item-label,
...@@ -404,16 +404,16 @@ export default { ...@@ -404,16 +404,16 @@ export default {
} }
.item-label { .item-label {
height: 80rpx; height: toRpx(80);
} }
.item-content { .item-content {
max-width: 100%; max-width: 100%;
height: 192rpx; height: toRpx(192);
border-radius: 16rpx; border-radius: toRpx(16);
border: 2rpx solid #eff0f2; border: toRpx(2) solid #eff0f2;
background: #f4f5f7; background: #f4f5f7;
padding: 24rpx; padding: toRpx(24);
box-sizing: border-box; box-sizing: border-box;
.select{ .select{
width: 100%; width: 100%;
......
...@@ -37,13 +37,13 @@ export default { ...@@ -37,13 +37,13 @@ export default {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.icon { .icon {
width: 300rpx; width: toRpx(300);
height: 236rpx; height: toRpx(236);
margin-bottom: 8rpx; margin-bottom: toRpx(8);
} }
.text { .text {
font-size: 24rpx; font-size: toRpx(24);
line-height: 28rpx; line-height: toRpx(28);
color: #999; color: #999;
} }
} }
......
...@@ -211,15 +211,15 @@ export default { ...@@ -211,15 +211,15 @@ export default {
.table-cell { .table-cell {
display: table-cell; display: table-cell;
padding: 24rpx; padding: toRpx(24);
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
font-size: 26rpx; font-size: toRpx(26);
color: #333; color: #333;
box-sizing: border-box; box-sizing: border-box;
border-right: 1rpx solid #fff; border-right: toRpx(2) solid #fff;
max-width: 800rpx; max-width: toRpx(800);
min-width: 200rpx; min-width: toRpx(200);
} }
.table-cell:last-child { .table-cell:last-child {
...@@ -233,8 +233,8 @@ export default { ...@@ -233,8 +233,8 @@ export default {
left: 0; left: 0;
z-index: 30; z-index: 30;
background-color: #f0f4ff; background-color: #f0f4ff;
border-bottom: 2rpx solid #fff; border-bottom: toRpx(2) solid #fff;
border-right: 1rpx solid #fff; border-right: toRpx(2) solid #fff;
} }
.required-text { .required-text {
...@@ -251,9 +251,9 @@ export default { ...@@ -251,9 +251,9 @@ export default {
.header-cell { .header-cell {
background-color: #f0f4ff; background-color: #f0f4ff;
color: #000; color: #000;
font-size: 28rpx; font-size: toRpx(28);
font-weight: 500; font-weight: 500;
border-bottom: 2rpx solid #fff; border-bottom: toRpx(2) solid #fff;
} }
.fixed-header { .fixed-header {
...@@ -270,10 +270,10 @@ export default { ...@@ -270,10 +270,10 @@ export default {
background-color: #f9fafc; background-color: #f9fafc;
color: #303133; color: #303133;
text-align: left; text-align: left;
padding-left: 20rpx; padding-left: toRpx(20);
padding-right: 32rpx; padding-right: toRpx(32);
border-bottom: 1rpx solid #fff; border-bottom: toRpx(2) solid #fff;
border-right: 1rpx solid #fff; border-right: toRpx(2) solid #fff;
} }
.fixed-left { .fixed-left {
...@@ -285,7 +285,7 @@ export default { ...@@ -285,7 +285,7 @@ export default {
// 数据单元格 // 数据单元格
.data-cell { .data-cell {
background-color: #f9fafc; background-color: #f9fafc;
border-bottom: 1rpx solid #fff; border-bottom: toRpx(2) solid #fff;
word-break: break-all; word-break: break-all;
} }
...@@ -317,22 +317,22 @@ export default { ...@@ -317,22 +317,22 @@ export default {
.footer-row { .footer-row {
width: 100%; width: 100%;
height: 88rpx; height: toRpx(88);
padding: 16rpx 24rpx; padding: toRpx(16) toRpx(24);
border-top: 2rpx solid #fff; border-top: toRpx(2) solid #fff;
background: #f9fafc; background: #f9fafc;
.add { .add {
width: 56rpx; width: toRpx(56);
height: 56rpx; height: toRpx(56);
border-radius: 16rpx; border-radius: toRpx(16);
border: 1.6rpx solid #4673ff33; border: toRpx(2) solid #4673ff33;
background: #4673ff14; background: #4673ff14;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
position: sticky; position: sticky;
left: 24rpx; left: toRpx(24);
&::before, &::before,
&::after { &::after {
...@@ -342,17 +342,17 @@ export default { ...@@ -342,17 +342,17 @@ export default {
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
background: #4673ff; background: #4673ff;
border-radius: 4rpx; border-radius: toRpx(4);
} }
&::before { &::before {
width: 4rpx; width: toRpx(4);
height: 28rpx; height: toRpx(28);
} }
&::after { &::after {
width: 28rpx; width: toRpx(28);
height: 4rpx; height: toRpx(4);
} }
} }
} }
......
...@@ -261,7 +261,7 @@ export default { ...@@ -261,7 +261,7 @@ export default {
box-sizing: border-box; box-sizing: border-box;
margin: 0 toRpx(48); margin: 0 toRpx(48);
// width: toRpx(988); // width: toRpx(988);
width: calc(100% - toRpx(96)); width: calc(100% - #{toRpx(96)});
height: toRpx(128); height: toRpx(128);
border-radius: toRpx(24); border-radius: toRpx(24);
background: transparent; background: transparent;
......
...@@ -1242,7 +1242,7 @@ export default { ...@@ -1242,7 +1242,7 @@ export default {
} }
.list .item .order .order-value { .list .item .order .order-value {
width: calc(100% - toRpx(136)); width: calc(100% - #{toRpx(136)});
display: flex; display: flex;
align-items: center; align-items: center;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!