小程序修正

This commit is contained in:
2025-12-23 13:27:36 +08:00
parent cfb160cf09
commit ce66812c82
48 changed files with 766 additions and 735 deletions

View File

@@ -8,45 +8,45 @@
top: 0;
left: 0;
right: 0;
height: 176rpx;
padding-top: 88rpx;
background: #fff;
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
align-items: flex-end;
padding-left: 24rpx;
padding-right: 24rpx;
padding-bottom: 16rpx;
box-sizing: border-box;
z-index: 100;
}
.nav-back {
width: 60rpx;
height: 60rpx;
height: 64rpx;
display: flex;
align-items: center;
justify-content: center;
}
.back-arrow {
.nav-back-icon {
width: 20rpx;
height: 20rpx;
border-left: 4rpx solid #222;
border-bottom: 4rpx solid #222;
border-left: 4rpx solid #333;
border-bottom: 4rpx solid #333;
transform: rotate(45deg);
}
.nav-title {
flex: 1;
font-size: 34rpx;
font-weight: 600;
color: #222;
font-weight: 500;
color: #333;
text-align: center;
line-height: 64rpx;
}
.nav-capsule {
width: 174rpx;
height: 64rpx;
background: #f5f5f5;
border-radius: 32rpx;
}
.content {
@@ -66,6 +66,7 @@
.section-title {
display: flex;
flex-direction: row;
align-items: center;
font-size: 30rpx;
font-weight: 600;
@@ -94,6 +95,7 @@
.info-item {
display: flex;
flex-direction: row;
align-items: center;
padding: 16rpx 0;
}
@@ -215,6 +217,7 @@
.timeline-item {
display: flex;
flex-direction: row;
position: relative;
padding-bottom: 32rpx;
}
@@ -248,10 +251,12 @@
.timeline-content {
flex: 1;
flex-direction: column;
}
.timeline-header {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 8rpx;
}

View File

@@ -6,7 +6,7 @@
<!-- 自定义导航栏 -->
<view class="nav" :style="{ paddingTop: headerPaddingTop + 'px', height: headerTotalHeight + 'px' }">
<view class="nav-back" @tap="goBack">
<text class="nav-back-icon"></text>
<view class="nav-back-icon"></view>
</view>
<text class="nav-title">工单详情</text>
<view class="nav-capsule"></view>

View File

@@ -8,49 +8,45 @@
top: 0;
left: 0;
right: 0;
height: 176rpx;
padding-top: 88rpx;
background: #fff;
display: flex;
align-items: center;
justify-content: flex-start;
flex-direction: row;
align-items: flex-end;
padding-left: 24rpx;
padding-right: 24rpx;
padding-bottom: 16rpx;
box-sizing: border-box;
z-index: 100;
}
.nav-back {
width: 60rpx;
height: 60rpx;
height: 64rpx;
display: flex;
align-items: center;
justify-content: center;
}
.back-arrow {
.nav-back-icon {
width: 20rpx;
height: 20rpx;
border-left: 4rpx solid #222;
border-bottom: 4rpx solid #222;
border-left: 4rpx solid #333;
border-bottom: 4rpx solid #333;
transform: rotate(45deg);
}
.nav-title {
font-size: 34rpx;
font-weight: 600;
color: #222;
flex: 1;
font-size: 34rpx;
font-weight: 500;
color: #333;
text-align: center;
padding-right: 174rpx;
box-sizing: border-box;
line-height: 64rpx;
}
.nav-capsule {
width: 174rpx;
height: 64rpx;
border-radius: 32rpx;
margin-left: auto;
}
.tabs {
@@ -61,6 +57,7 @@
height: 100rpx;
background: #fff;
display: flex;
flex-direction: row;
align-items: center;
z-index: 100;
}
@@ -115,6 +112,7 @@
.card-header {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 24rpx;
@@ -123,6 +121,7 @@
.card-title {
display: flex;
flex-direction: row;
align-items: center;
font-size: 30rpx;
font-weight: 600;
@@ -184,10 +183,13 @@
.card-body {
padding: 24rpx;
display: flex;
flex-direction: column;
}
.fault-row {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-bottom: 20rpx;
@@ -231,6 +233,7 @@
.info-row {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 16rpx;
}
@@ -249,6 +252,7 @@
.card-footer {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 20rpx 24rpx;

View File

@@ -6,7 +6,7 @@
<!-- 自定义导航栏 -->
<view class="nav" :style="{ paddingTop: headerPaddingTop + 'px', height: headerTotalHeight + 'px' }">
<view class="nav-back" @tap="goBack">
<text class="nav-back-icon"></text>
<view class="nav-back-icon"></view>
</view>
<text class="nav-title">我的工单</text>
<view class="nav-capsule"></view>