Commit 5d6a6825 by 李伟康

fix(delivery-management): 优化交付流程组件样式与功能

- 调整 Step1 和 DetailInfo 中图标尺寸及布局样式
- 修复 Step2 图片上传 loading 提示重复显示问题
- 统一 Step2 中 CSS 类名书写格式(增加空格)
- 优化 Steps 组件步骤数字样式实现方式,提升可维护性
- 修改 index.vue 搜索框 input 事件绑定逻辑
- 将 overflow-y 样式从 scroll 改为 auto 以提升体验
1 parent 3259561a
......@@ -132,6 +132,8 @@ export default {
right: calc(100% + #{toRpx(8)});
top: 50%;
transform: translateY(-50%) rotate(180deg);
width: toRpx(32);
height: toRpx(32);
}
}
}
......
......@@ -122,8 +122,8 @@ export default {
throw '图片上传最大10MB'
}
}
uni.showLoading({ title: '上传中...', mask: true })
for (let i = 0; i < res.tempFilePaths.length; i++) {
uni.showLoading({ title: '上传中...', mask: true })
const url = await uploadFile(res.tempFiles[i], res.tempFilePaths[i])
_this.imgList.push(url)
}
......@@ -250,7 +250,7 @@ export default {
}
.remark-box {
padding-bottom: toRpx(28);
.title{
.title {
padding-bottom: toRpx(24);
}
.remark {
......@@ -312,7 +312,7 @@ export default {
opacity: 0.5;
}
}
.block{
.block {
width: 100%;
height: toRpx(24);
}
......
......@@ -66,38 +66,22 @@ export default {
.serial-num {
width: toRpx(46);
height: toRpx(46);
border-radius: 50%;
border-radius: 100%;
box-sizing: border-box;
margin-right: toRpx(12);
position: relative;
border: toRpx(3) solid #b1b1b1;
justify-content: center;
.num {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: toRpx(38);
height: toRpx(38);
width: 100%;
height: 100%;
border: toRpx(3) solid #fff;
background: #b1b1b1;
color: #fff;
border-radius: 50%;
border-radius: 100%;
justify-content: center;
font-size: toRpx(28);
font-weight: 700;
overflow: hidden;
z-index: 3;
}
&::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 100%;
height: 100%;
transform: translate(-50%, -50%);
border-radius: 100%;
z-index: 2;
box-sizing: border-box;
border: toRpx(2) solid #b1b1b1;
}
}
.line {
......@@ -110,9 +94,7 @@ export default {
.active-item {
color: #4673ff;
.serial-num {
&::after {
border-color: #4673ff;
}
border-color: #4673ff;
box-shadow: toRpx(3) toRpx(3) toRpx(4) #d7e3ff;
.num {
background: #4673ff;
......
......@@ -95,7 +95,7 @@ export default {
height: 100%;
.step-component {
height: calc(100% - #{toRpx(128)});
overflow-y: scroll;
overflow-y: auto;
position: relative;
.step-view {
position: absolute; //验证
......
......@@ -199,7 +199,12 @@ export default {
position: absolute;
top: toRpx(16);
left: toRpx(16);
transform: rotate(180deg);
transform: rotate(180deg);
width: toRpx(32);
height: toRpx(32);
display: flex;
align-items: center;
justify-content: center;
}
}
.item {
......
......@@ -43,7 +43,6 @@
:maxlength="50"
v-model="searchText"
class="input"
@input="inputCustomer"
placeholder="请输入车型/客户姓名/客户联系方式"
@focus="focusIndex = 1"
@blur="resetFocusIndex"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!