Commit 82fd07f7 by 张立顺

fix style

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