Commit 6f6d720f by 张立顺

feat 功能开发

1 parent 39c367f7
...@@ -4,24 +4,37 @@ ...@@ -4,24 +4,37 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.outbound-popup-box { .outbound-popup-box {
height: calc(100% - var(--fontSize120)); height: calc(100% - var(--fontSize120));
.sub-title { .sub-title {
height: var(--fontSize112); height: var(--fontSize112);
line-height: var(--fontSize112); line-height: var(--fontSize112);
border-bottom: var(--fontSize1) solid #EBEDF0; border-bottom: var(--fontSize1) solid #EBEDF0;
margin-bottom: var(--fontSize20); margin-bottom: var(--fontSize20);
.text-center { .text-center {
text-align: center; text-align: center;
font-weight: 500; font-weight: 500;
color: #222222; color: #222222;
} }
} }
.tips {
text-align: center;
font-weight: 500;
font-size: 28rpx;
color: #292D33;
}
.outbound-box { .outbound-box {
height: calc(100% - var(--fontSize114)); height: calc(100% - var(--fontSize150));
.scroll-box { .scroll-box {
height: 100%; height: 100%;
} }
.qrcode-box { .qrcode-box {
margin: 0 var(--fontSize32); margin: 0 var(--fontSize32);
background: #F4F5F7; background: #F4F5F7;
...@@ -30,26 +43,31 @@ ...@@ -30,26 +43,31 @@
display: flex; display: flex;
flex-flow: column; flex-flow: column;
align-items: center; align-items: center;
image { image {
width: var(--fontSize256); width: var(--fontSize256);
height: var(--fontSize256); height: var(--fontSize256);
} }
.tips { .tips {
margin-top: var(--fontSize16); margin-top: var(--fontSize16);
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #757980; color: #757980;
} }
} }
.box { .box {
padding: var(--fontSize40) var(--fontSize32) var(--fontSize2) var(--fontSize40); padding: var(--fontSize40) var(--fontSize32) var(--fontSize2) var(--fontSize40);
position: relative; position: relative;
margin: var(--fontSize20) 0 0; margin: var(--fontSize20) 0 0;
.title { .title {
font-size: var(--fontSize28); font-size: var(--fontSize28);
color: #292D33; color: #292D33;
margin-bottom: var(--fontSize20); margin-bottom: var(--fontSize20);
position: relative; position: relative;
font-weight: 500; font-weight: 500;
&::after { &::after {
position: absolute; position: absolute;
content: ''; content: '';
...@@ -60,49 +78,60 @@ ...@@ -60,49 +78,60 @@
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
} }
.text-name { .text-name {
max-width: calc(100% - var(--fontSize100)); max-width: calc(100% - var(--fontSize100));
} }
} }
.box-item { .box-item {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
height: var(--fontSize104); height: var(--fontSize104);
font-size: var(--fontSize28); font-size: var(--fontSize28);
.label { .label {
color: #292D33; color: #292D33;
flex-shrink: 0; flex-shrink: 0;
width: var(--fontSize180); width: var(--fontSize180);
.required { .required {
color: #f00; color: #f00;
margin-left: var(--fontSize8); margin-left: var(--fontSize8);
} }
} }
.value-box { .value-box {
width: calc(100% - var(--fontSize190)); width: calc(100% - var(--fontSize190));
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: flex-end; justify-content: flex-end;
} }
.value { .value {
text-align: right; text-align: right;
width: calc(100% - var(--fontSize32)); width: calc(100% - var(--fontSize32));
.placeholder { .placeholder {
color: #BEC1C7; color: #BEC1C7;
} }
} }
.pickerArrow { .pickerArrow {
width: var(--fontSize32); width: var(--fontSize32);
height: var(--fontSize32); height: var(--fontSize32);
} }
} }
.input-box { .input-box {
.label { .label {
width: var(--fontSize330); width: var(--fontSize330);
} }
.value { .value {
width: var(--fontSize240); width: var(--fontSize240);
.input { .input {
width: 100%; width: 100%;
height: var(--fontSize68); height: var(--fontSize68);
...@@ -118,28 +147,33 @@ ...@@ -118,28 +147,33 @@
justify-content: flex-end; justify-content: flex-end;
-webkit-appearance: none; -webkit-appearance: none;
appearance: none; appearance: none;
&::placeholder { &::placeholder {
position: relative; position: relative;
top: 0; top: 0;
transform: none; transform: none;
} }
} }
.disabled { .disabled {
background: #DEE0E3; background: #DEE0E3;
} }
} }
} }
.time-box { .time-box {
padding-bottom: var(--fontSize48); padding-bottom: var(--fontSize48);
} }
} }
} }
} }
.popup-footer { .popup-footer {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: var(--fontSize20) var(--fontSize32) ; padding: var(--fontSize20) var(--fontSize32);
.btn { .btn {
height: var(--fontSize80); height: var(--fontSize80);
box-sizing: border-box; box-sizing: border-box;
...@@ -148,18 +182,21 @@ ...@@ -148,18 +182,21 @@
text-align: center; text-align: center;
line-height: var(--fontSize80); line-height: var(--fontSize80);
} }
.cancel { .cancel {
width: var(--fontSize186); width: var(--fontSize186);
height: var(--fontSize76); height: var(--fontSize76);
color: #292D33; color: #292D33;
border: var(--fontSize2) solid #DEE0E3; border: var(--fontSize2) solid #DEE0E3;
} }
.confirm { .confirm {
width: calc(100% - var(--fontSize206)); width: calc(100% - var(--fontSize206));
background: #347BFF; background: #347BFF;
color: #fff; color: #fff;
} }
} }
.popup-footer.isFullSucreen { .popup-footer.isFullSucreen {
padding-bottom: var(--fontSize68) !important; padding-bottom: var(--fontSize68) !important;
} }
\ No newline at end of file \ No newline at end of file
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
<view class="sub-title"> <view class="sub-title">
<view class="text-center">{{title}}</view> <view class="text-center">{{title}}</view>
</view> </view>
<view class="tips">返工是否产生退料返库,请与库管确认后提交返工</view>
<view class="outbound-box"> <view class="outbound-box">
<scroll-view scroll-y class="scroll-box" enhanced="{{ true }}" scroll-top="{{ scrollTop }}" show-scrollbar="{{ false }}"> <scroll-view scroll-y class="scroll-box" enhanced="{{ true }}" scroll-top="{{ scrollTop }}" show-scrollbar="{{ false }}">
<!-- <view class="qrcode-box"> <!-- <view class="qrcode-box">
......
...@@ -12,6 +12,7 @@ Page({ ...@@ -12,6 +12,7 @@ Page({
data: { data: {
IMG_URL, IMG_URL,
detailInfo: {}, detailInfo: {},
reworkVisible: true,
orderObj: [ orderObj: [
{ {
label: '施工单编号', label: '施工单编号',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!