Commit 82fd07f7 by 张立顺

fix style

1 parent 23fe8b07
/* pages/tabRepairOrder/components/Screening/index.wxss */ /* pages/tabRepairOrder/components/Screening/index.wxss */
@keyframes show-confirm-box { @keyframes show-confirm-box {
0%{ 0% {
right: -100%; right: -100%;
} }
100%{
100% {
right: 0; right: 0;
} }
} }
.confirm-box { .confirm-box {
position: fixed; position: fixed;
top: 0; top: 0;
...@@ -16,11 +18,14 @@ ...@@ -16,11 +18,14 @@
box-sizing: border-box; box-sizing: border-box;
background-color: #fff; background-color: #fff;
animation: show-confirm-box .5s forwards; animation: show-confirm-box .5s forwards;
.main{
.main {
box-sizing: border-box; box-sizing: border-box;
} }
.box { .box {
margin: 0 var(--fontSize32); margin: 0 var(--fontSize32);
.title { .title {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -34,23 +39,28 @@ ...@@ -34,23 +39,28 @@
top: 0; top: 0;
background: #fff; background: #fff;
z-index: 2; z-index: 2;
.title-left{
.title-left {
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
} }
.collapse-btn{
.collapse-btn {
width: var(--fontSize48); width: var(--fontSize48);
height: var(--fontSize48); height: var(--fontSize48);
&.rotate-180{
&.rotate-180 {
transform: rotate(180deg); transform: rotate(180deg);
} }
} }
} }
.list-box { .list-box {
display: flex; display: flex;
border-bottom: var(--fontSize2) solid rgba(195, 195, 195, .3); border-bottom: var(--fontSize2) solid rgba(195, 195, 195, .3);
flex-wrap: wrap; flex-wrap: wrap;
padding-bottom: var(--fontSize20); padding-bottom: var(--fontSize20);
.item { .item {
width: calc(234 / 750 * 100%); width: calc(234 / 750 * 100%);
min-height: var(--fontSize68); min-height: var(--fontSize68);
...@@ -65,44 +75,57 @@ ...@@ -65,44 +75,57 @@
color: #292D33; color: #292D33;
transition: all .2s; transition: all .2s;
margin: 0 calc(20 / 750 * 100%) calc(20 / 750 * 100%) 0; margin: 0 calc(20 / 750 * 100%) calc(20 / 750 * 100%) 0;
.text-item{
.text-item {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
.inline-block{
.inline-block {
display: inline-block; display: inline-block;
} }
&:nth-of-type(3n+3) { &:nth-of-type(3n+3) {
margin-right: 0; margin-right: 0;
} }
} }
.active { .active {
background: rgba(53, 130, 238, 0.08); background: rgba(53, 130, 238, 0.08);
border: var(--fontSize2) solid #347BFF; border: var(--fontSize2) solid #347BFF;
color: #347BFF; color: #347BFF;
} }
.grey{
.grey {
color: #999EA8; color: #999EA8;
} }
.custom-time{
.custom-time {
width: calc(316 / 750 * 100%); width: calc(316 / 750 * 100%);
margin-bottom: 0; margin-bottom: 0;
&:last-child{
&:last-child {
margin-right: 0; margin-right: 0;
margin-left: var(--fontSize20); margin-left: var(--fontSize20);
} }
} }
.calendar { .calendar {
.item { .item {
margin-right: 0; margin-right: 0;
} }
} }
} }
.endbox {
border: none;
}
} }
} }
.btn-box { .btn-box {
position: sticky; position: sticky;
padding: var(--fontSize10) var(--fontSize32); padding: var(--fontSize10) var(--fontSize32);
...@@ -116,31 +139,37 @@ ...@@ -116,31 +139,37 @@
box-sizing: border-box; box-sizing: border-box;
z-index: 9; z-index: 9;
background-color: #fff; background-color: #fff;
.btn { .btn {
border-radius: var(--fontSize12); border-radius: var(--fontSize12);
border: var(--fontSize2) solid #0075F9; border: var(--fontSize2) solid #0075F9;
box-sizing: border-box; box-sizing: border-box;
height: var(--fontSize80); height: var(--fontSize80);
} }
.clear { .clear {
border: var(--fontSize2) solid #DEE0E3; border: var(--fontSize2) solid #DEE0E3;
width: var(--fontSize186); width: var(--fontSize186);
color: #292D33; color: #292D33;
} }
.done { .done {
background: #347BFF; background: #347BFF;
color: #fff; color: #fff;
width: var(--fontSize480); width: var(--fontSize480);
} }
} }
.isFullSucreen-btn { .isFullSucreen-btn {
padding-bottom: var(--fontSize68); padding-bottom: var(--fontSize68);
} }
.text-center { .text-center {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.text-hide { .text-hide {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
......
...@@ -58,11 +58,11 @@ ...@@ -58,11 +58,11 @@
</block> </block>
</view> </view>
</view> </view>
<view class="box"> <view class="box ">
<view class="title"> <view class="title">
施工状态 施工状态
</view> </view>
<view class="list-box"> <view class="list-box endbox">
<block wx:for="{{form.statusList}}" wx:key="index"> <block wx:for="{{form.statusList}}" wx:key="index">
<view class="item text-center {{item.active?'active':''}} {{item.disabled ?'disabled':''}}" bindtap="choose" data-list-name="statusList" data-index="{{index}}">{{item.name}}</view> <view class="item text-center {{item.active?'active':''}} {{item.disabled ?'disabled':''}}" bindtap="choose" data-list-name="statusList" data-index="{{index}}">{{item.name}}</view>
</block> </block>
......
...@@ -58,10 +58,11 @@ page { ...@@ -58,10 +58,11 @@ page {
.box .customer-list .item .label { .box .customer-list .item .label {
width: var(--fontSize140); width: var(--fontSize140);
flex-shrink: 0; flex-shrink: 0;
color: #999EA8;
} }
.box .customer-list .item .value { .box .customer-list .item .value {
color: #888888; color: #292D33;
} }
.box .icon { .box .icon {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<block wx:for="{{ customerObj }}" wx:key="index"> <block wx:for="{{ customerObj }}" wx:key="index">
<view class="item"> <view class="item">
<view class="label">{{item.label}}</view> <view class="label">{{item.label}}</view>
<view class="value {{ item.key != 'userPortrait' ? 'text-hide' : '' }}" style="color:{{ item.color }};" catchtap="item.callBack" data-data="{{ detail[item.key] }}"> <view class="value {{ item.key != 'userPortrait' ? 'text-hide' : '' }}" style="color:{{ item.color||'#292D33' }};" catchtap="item.callBack" data-data="{{ detail[item.key] }}">
<!-- <view>{{item.key}}</view> --> <!-- <view>{{item.key}}</view> -->
<block wx:if="{{ item.key=='carName' }}"> <block wx:if="{{ item.key=='carName' }}">
<block wx:if="{{ detail.customer.carSeriesName }}"> <block wx:if="{{ detail.customer.carSeriesName }}">
......
...@@ -758,6 +758,7 @@ page .isFullSucreen { ...@@ -758,6 +758,7 @@ page .isFullSucreen {
/* min-height: var(--fontSize100); */ /* min-height: var(--fontSize100); */
background-color: #fff; background-color: #fff;
padding-bottom: var(--fontSize10); padding-bottom: var(--fontSize10);
padding-top: 24rpx;
.btn { .btn {
height: var(--fontSize80); height: var(--fontSize80);
......
...@@ -21,6 +21,12 @@ page { ...@@ -21,6 +21,12 @@ page {
overflow: hidden; overflow: hidden;
margin-top: var(--fontSize20); margin-top: var(--fontSize20);
} }
.techic-value {
display: flex;
align-items: center;
justify-content: flex-end;
}
} }
...@@ -292,6 +298,7 @@ page { ...@@ -292,6 +298,7 @@ page {
} }
.item-box { .item-box {
box-sizing: border-box;
background: #F7F8FA; background: #F7F8FA;
border-radius: var(--fontSize12); border-radius: var(--fontSize12);
padding: var(--fontSize24) var(--fontSize32) var(--fontSize24) var(--fontSize24); padding: var(--fontSize24) var(--fontSize32) var(--fontSize24) var(--fontSize24);
...@@ -300,9 +307,10 @@ page { ...@@ -300,9 +307,10 @@ page {
justify-content: space-between; justify-content: space-between;
margin-bottom: var(--fontSize16); margin-bottom: var(--fontSize16);
&:last-child { // &:last-child {
margin-bottom: 0; // margin-bottom: 0;
} // }
.cellBox { .cellBox {
width: calc(100% - var(--fontSize56)); width: calc(100% - var(--fontSize56));
...@@ -344,6 +352,11 @@ page { ...@@ -344,6 +352,11 @@ page {
} }
} }
} }
.active {
border: 2rpx solid #347BFF;
background: #347bff14;
}
} }
.bottom { .bottom {
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
</view> </view>
<block wx:for="{{ item.detailList }}" wx:key="sindex" wx:for-item="i" wx:for-index="sindex"> <block wx:for="{{ item.detailList }}" wx:key="sindex" wx:for-item="i" wx:for-index="sindex">
<view hidden="{{ !item.showItemFlag }}" class="mt"> <view hidden="{{ !item.showItemFlag }}" class="mt">
<view class="item-box"> <view class="item-box {{i.active?'active':''}}">
<view class="cellBox"> <view class="cellBox">
<view class="ser-name text-hide">{{i.serviceItemsName}}</view> <view class="ser-name text-hide">{{i.serviceItemsName}}</view>
<view class="other"> <view class="other">
......
...@@ -361,6 +361,7 @@ page { ...@@ -361,6 +361,7 @@ page {
min-height: var(--fontSize100); min-height: var(--fontSize100);
background: #FFFFFF; background: #FFFFFF;
padding-bottom: var(--fontSize10); padding-bottom: var(--fontSize10);
padding-top: 24rpx;
} }
.btn-box .tips { .btn-box .tips {
...@@ -756,4 +757,8 @@ page { ...@@ -756,4 +757,8 @@ page {
.meal-bd-bottom .count { .meal-bd-bottom .count {
margin-left: var(--fontSize12); margin-left: var(--fontSize12);
}
.warrantyCardList {
margin-bottom: 120rpx;
} }
\ No newline at end of file \ No newline at end of file
...@@ -218,7 +218,7 @@ ...@@ -218,7 +218,7 @@
<!-- 没有屏蔽质保卡 就显示 --> <!-- 没有屏蔽质保卡 就显示 -->
<!-- wx:if="{{!warrantyCardVisible&&orderInfo.selectPayType==0}}" --> <!-- wx:if="{{!warrantyCardVisible&&orderInfo.selectPayType==0}}" -->
<block wx:if="{{ warrantyCardList.length || warrantyCardVisible }}"> <block wx:if="{{ warrantyCardList.length || warrantyCardVisible }}">
<view class="box"> <view class="box warrantyCardList">
<view class="title">{{orderInfo.selectPayType==0? '客服' :'质保'}}</view> <view class="title">{{orderInfo.selectPayType==0? '客服' :'质保'}}</view>
<view class="warranty-box"> <view class="warranty-box">
<block wx:for="{{ warrantyCardList }}" wx:key="index"> <block wx:for="{{ warrantyCardList }}" wx:key="index">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!