Commit 6f6d720f by 张立顺

feat 功能开发

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