Commit 7bd17126 by zhangxw

ui适配修改

1 parent 6e6f92db
Showing 49 changed files with 535 additions and 426 deletions
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="60%">
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="85%" slotStyle="height: calc(100% - var(--fontSize130));">
<view class="artificer-select-popup-box" >
<view class="box">
<view class="sub-title text-center">{{title}}</view>
......
......@@ -31,6 +31,7 @@
.list {
height: var(--fontSize88);
padding-left: var(--fontSize32);
font-size: var(--fontSize32);
font-weight: 700;
}
......
......@@ -6,7 +6,7 @@
<span class="labelName">姓名</span>
<span class="labelPhone">| 手机号</span>
</view>
<scroll-view style="height: calc(100% - 44px)" scroll-y scroll-into-view="{{letter}}">
<scroll-view style="height: calc(100% - var(--fontSize88))" scroll-y scroll-into-view="{{letter}}">
<block wx:if="{{customerList.length > 0}}">
<view class="box">
<block wx:for="{{customerList}}" wx:for-item="item" wx:key="ind" wx:for-index="ind">
......
......@@ -17,7 +17,7 @@
}
.labelName {
font-size: 16px;
font-size: var(--fontSize32);
color: #333333;
padding-right: var(--fontSize20);
}
......@@ -33,7 +33,7 @@
}
.labelPhone {
font-size: 12px;
font-size: var(--fontSize24);
color: #999999;
}
......
......@@ -150,6 +150,7 @@
font-size: var(--fontSize28);
color: #FFFFFF;
width: calc(100% - var(--fontSize100));
height: 100%;
}
.input-placeholder {
......
<!--components/tabMine/TabMine.wxml-->
<!-- src引入filter.wxs, module给模块起名 -->
<!-- <wxs src="./index.wxs" module="filter" /> -->
<view class="bg"></view>
<view class="main" style="margin-top:var(--fontSize104)">
<view class="user-box">
<view class="user-avatar">
<block wx:if="{{ userInfo.userAvatarUrl }}">
<image src="{{ userInfo.userAvatarUrl }}" bindtap="getAvatar" />
</block>
<block wx:else>
<open-data type="userAvatarUrl" />
</block>
</view>
<view class="name_box">
<view class="item name text-hide">{{userInfo.name}}</view>
<view class="change_btn" bindtap="changeAccount">切换账号</view>
</view>
<view class="user-info">
<view class="user-text">
<view class="item">所属园区:{{userInfo.merchantName}}{{userInfo.isSuper==true?'(超管)':loginRoleLabel[userInfo.loginRole]}}</view>
<view class="item">创建时间:{{userInfo.createdTime}}</view>
</view>
</view>
</view>
<block>
<view class="set_box">
<view class="set_item" bindtap="changeScene">
<view class="title">场景切换</view>
<view class="set_tips">{{selectedSceneName}}</view>
<image class="icon_image" src="./images/right.png" mode="" />
</view>
<view class="set_item" bindtap="goVersionPage">
<view class="title">更新日志</view>
<view class="set_tips">最新{{versionData.version}}版</view>
<image class="icon_image" src="./images/right.png" mode="" />
</view>
</view>
</block>
<view class="collegeCon set_box" wx:if="{{ showCollege }}">
<view class="set_item" bindtap="goCollegeScene">
<view class="title">工资绩效(员工绩效)</view>
<view class="set_tips">去查看</view>
<image class="icon_image" src="./images/right.png" mode="" />
</view>
</view>
<view class="logout text-center" bindtap="logout">退出账号</view>
<view class="message-box">
<!-- <view class="message">为保障你的合法权益,请阅读并同意</view> -->
<text catchtap="jump" data-url="privacy">《隐私协议》</text>
和
<text catchtap="jump" data-url="agreement">《用户协议》</text>
</view>
</view>
\ No newline at end of file
<view class="layout_box">
<view class="bg"></view>
<view class="main" style="margin-top:var(--fontSize104)">
<view class="user-box">
<view class="user-avatar">
<block wx:if="{{ userInfo.userAvatarUrl }}">
<image src="{{ userInfo.userAvatarUrl }}" bindtap="getAvatar" />
</block>
<block wx:else>
<open-data type="userAvatarUrl" />
</block>
</view>
<view class="name_box">
<view class="item name text-hide">{{userInfo.name}}</view>
<view class="change_btn" bindtap="changeAccount">切换账号</view>
</view>
<view class="user-info">
<view class="user-text">
<view class="item">所属园区:{{userInfo.merchantName}}{{userInfo.isSuper==true?'(超管)':loginRoleLabel[userInfo.loginRole]}}</view>
<view class="item">创建时间:{{userInfo.createdTime}}</view>
</view>
</view>
</view>
<block>
<view class="set_box">
<view class="set_item" bindtap="changeScene">
<view class="title">场景切换</view>
<view class="set_tips">{{selectedSceneName}}</view>
<image class="icon_image" src="./images/right.png" mode="" />
</view>
<view class="set_item" bindtap="goVersionPage">
<view class="title">更新日志</view>
<view class="set_tips">最新{{versionData.version}}版</view>
<image class="icon_image" src="./images/right.png" mode="" />
</view>
</view>
</block>
<view class="collegeCon">
<view class="set_box" wx:if="{{ showCollege }}">
<view class="set_item" bindtap="goCollegeScene">
<view class="title">工资绩效(员工绩效)</view>
<view class="set_tips">去查看</view>
<image class="icon_image" src="./images/right.png" mode="" />
</view>
</view>
</view>
<view class="logout-box">
<view class="logout text-center" bindtap="logout">退出账号</view>
<view class="message-box">
<!-- <view class="message">为保障你的合法权益,请阅读并同意</view> -->
<text catchtap="jump" data-url="privacy">《隐私协议》</text>
和
<text catchtap="jump" data-url="agreement">《用户协议》</text>
</view>
</view>
</view>
</view>
......@@ -7,6 +7,16 @@ page {
position: relative;
}
.layout_box{
height: 100%;
overflow: scroll;
}
.main{
/* padding-bottom: var(--fontSize100); */
height: calc(100% - var(--fontSize104));
}
.bg {
width: 100%;
height: var(--fontSize350);
......@@ -163,7 +173,8 @@ page {
box-sizing: border-box;
/* width: var(--fontSize344);
height: var(--fontSize168); */
width: var(--fontSize710);
/* width: var(--fontSize710); */
width: 100%;
height: var(--fontSize88);
padding: var(--fontSize24) var(--fontSize32);
display: flex;
......@@ -334,45 +345,31 @@ page {
border-color: transparent transparent #007bff transparent;
}
.logout {
position: absolute;
bottom: var(--fontSize106);
left: 50%;
transform: translateX(-50%);
width: var(--fontSize326);
height: var(--fontSize80);
background: #FFFFFF;
border: var(--fontSize2) solid #DCDEE0;
border-radius: var(--fontSize12);
color: #6C6C70;
font-size: var(--fontSize28);
.logout-box {
position: sticky;
top: calc(100% - var(--fontSize150));
display: flex;
align-items: center;
flex-flow: column;
justify-content: center;
align-items: center;
}
.logout {
position: absolute;
bottom: var(--fontSize50);
left: 50%;
transform: translateX(-50%);
width: var(--fontSize326);
height: var(--fontSize80);
background: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
border: var(--fontSize2) solid #DCDEE0;
border-radius: var(--fontSize12);
color: #6C6C70;
font-size: var(--fontSize28);
display: flex;
align-items: center;
justify-content: center;
}
.message-box {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
font-size: var(--fontSize24);
margin-top: var(--fontSize12);
}
.message-box text {
......
......@@ -2,6 +2,7 @@
box-sizing: border-box;
display: flex;
justify-content: space-between;
align-items: center;
/* align-items: flex-start; */
/* align-items: center; */
padding: var(--fontSize16);
......
......@@ -48,7 +48,7 @@ page {
display: flex;
flex-direction: column;
align-items: center;
width: var(--fontSize710);
width: calc(100% - var(--fontSize40));
background: #FFFFFF;
border-radius: var(--fontSize16);
margin: calc(-1 * var(--fontSize34)) auto var(--fontSize34);
......@@ -126,6 +126,7 @@ page {
color: #222222;
}
.input_content{
font-size: var(--fontSize28);
box-sizing: border-box;
flex-shrink: 0;
width: 100%;
......@@ -152,11 +153,14 @@ page {
gap: var(--fontSize20);
.payVoucher_image{
flex-shrink: 0;
width: var(--fontSize304);
height: var(--fontSize192);
width: calc((50% - var(--fontSize10)));
padding-top: 32%;
border-radius: var(--fontSize20);
position: relative;
image{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
......@@ -170,8 +174,8 @@ page {
}
.camera-box{
flex-shrink: 0;
width: var(--fontSize304);
height: var(--fontSize192);
width: calc(50% - var(--fontSize10));
padding-top: 32%;
background-image: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/pay-voucher-bg.png');
background-size: 100% 100%;
position: relative;
......@@ -227,7 +231,7 @@ page {
}
.order-box {
width: var(--fontSize702);
width: calc(100% - var(--fontSize56));
background: #FFFFFF;
box-shadow: 0 var(--fontSize10) var(--fontSize20) 0 #8192d63d, inset 0 calc(-1 * var(--fontSize2)) var(--fontSize6) 0 #ffffff66;
border-radius: var(--fontSize16);
......
......@@ -27,7 +27,7 @@
<!-- rows="1" -->
<van-field
class="textarea"
custom-style="padding: var(--fontSize20) 0; background: {{background}};"
custom-style="padding: var(--fontSize20) 0; background: {{background}};font-size: var(--fontSize28);"
border="{{ false}}"
value="{{formData[item.name]}}"
input-align="{{itme.inputAlign || 'right'}}"
......
......@@ -6,7 +6,7 @@
.textarea {
text-align: right;
font-size: var(--fontSize28);
font-size: var(--fontSize28) !important;
flex-grow: 1;
}
......@@ -55,4 +55,8 @@
.gl-form .van-field__control--disabled {
color: #666666;
-webkit-text-fill-color: #666666;
}
.input-box .textarea input{
height: var(--fontSize72);
}
\ No newline at end of file
......@@ -6,9 +6,9 @@
<view wx:else>我的</view>
</navigation-bar>
<!-- style="margin-top:{{navBarHeight}}px" -->
<view class="layout {{ waitInputCount && mode == 1 && tabIndex == 0 ?'tipsHeigh':'' }}" style="padding-top:{{ navBarHeight }}px;position: relative;">
<view class="layout {{ waitInputCount && mode == 1 && tabIndex == 0 ?'tipsHeigh':'layout_noTips' }}" style="padding-top:{{ navBarHeight }}px;position: relative;">
<block wx:if="{{ navBarHeight && showPage }}">
<home id="page-0" class="pagedetail {{ tabIndex == 0?'':'hide' }}" mode="{{ mode }}"></home>
<home id="page-0" class="pagedetail {{ tabIndex == 0?'':'hide' }}" waitInputCount="{{waitInputCount}}" mode="{{ mode }}"></home>
<quotation-list id="page-1" navBarHeight="{{ navBarHeight }}" class="pagedetail {{ tabIndex == 1?'':'hide' }}" mode="{{ mode }}" />
<equity-list id="page-2" outTabIndex="{{ tabIndex }}" navBarHeight="{{ navBarHeight }}" class="pagedetail {{ tabIndex == 2?'':'hide' }}" />
<tab-mine showCollege="{{ enableBusinessSchool }}" id="page-3" class="pagedetail {{ tabIndex == 3?'':'hide' }}" navBarHeight="{{ navBarHeight }}"></tab-mine>
......
......@@ -42,60 +42,91 @@
提单失败 ·
<text style="color: #D26F6B;">{{statisticsObj.failed}}</text>
</view> -->
<view wx:if="{{tabIndex != 3 && list.length && isShowTips}}" class="tips-box">
<tips-bottom custom-class="tips-custom" style="width: 100%;box-sizing: border-box;" tipsProps="{{tipsProps}}" bind:closeTips="closeTips" />
</view>
<view wx:if="{{flag}}" class="order-box" style="height: calc(100% - 104rpx - 104rpx - {{isShowTips ? 30 : 0}}rpx);">
<scroll-view scroll-y enable-back-to-top refresher-enabled="{{true}}" bindrefresherrefresh="search" bindscrolltolower="onBottomRefresh" class="list" scroll-top="{{scrollTop}}" style="height: calc(100% - 2rpx)" refresher-threshold="104" refresher-triggered="{{triggered}}">
<block wx:if="{{list.length > 0}}">
<view wx:for="{{list}}" wx:key="index" class="item">
<view class="item-header">{{item.customerName}} | {{item.customerPhone}}</view>
<view class="item-content">
<image class="status-icon" src="/packageEquity/images/equity-{{item.orderStatus}}.png" />
<!-- 内容 -->
<view class="order-list">
<view class="good-name">{{item.goodName || ''}}</view>
<view class="order-content">
<image mode="aspectFill" class="pro-bg" src="{{item.thumbUrl || '/packageEquity/images/pro-bg.png'}}" />
<view>
<view wx:for="{{orderObj}}" wx:key="sindex" wx:for-index="sindex" wx:for-item="i">
<view class="order {{orderObj.length == (sindex + 1) ? '' : 'm-b-16'}}">
<view class="order-label">{{i.label}}</view>
<view class="order-value">
<block wx:if="{{i.key == 'ywly'}}">车损升级</block>
<block wx:else>{{item[i.key] || ''}}{{i.suffix || ''}}</block>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- footer -->
<view class="item-footer">
<view>{{item.createdDate}}</view>
<!-- 超管isSuper/商户类型 userType 1账号不可操作 -->
<block wx:if="{{(!userInfo.isSuper && userInfo.userType == 2&&item.orderStatus!=4)||(item.orderStatus==2) }}">
<view wx:if="{{item.orderStatus == '2'}}" class="order-btn" bindtap="handlePreviewContract" data-target="{{item}}" data-type="download">
下载合同
</view>
<view wx:if="{{item.orderStatus == '2'}}" class="order-btn default-btn" bindtap="handlePreviewContract" data-target="{{item}}">
{{btnTxt[item.orderStatus]}}
</view>
<view wx:else class="order-btn" bindtap="handleRecordOrder" data-target="{{item}}">
{{btnTxt[item.orderStatus]}}
</view>
</block>
</view>
</view>
<block wx:if="{{nothing}}">
<view class="list-nothing">到底了~</view>
</block>
</block>
<view class="no-data" wx:else>
<image class="no-data-img" src="/packageEquity/images/noData.png" />
<view class="list-not">暂无数据</view>
</view>
</scroll-view>
</view>
<view wx:if="{{tabIndex != 3 && list.length && isShowTips}}" class="tips-box">
<tips-bottom
custom-class="tips-custom"
style="width: 100%;box-sizing: border-box;"
tipsProps="{{tipsProps}}"
bind:closeTips="closeTips" />
</view>
<view wx:if="{{flag}}" class="order-box" style="height: {{tabIndex != 3 && list.length && isShowTips ? 'calc(100% - var(--fontSize104) - var(--fontSize104) - var(--fontSize38))' : 'calc(100% - var(--fontSize104) - var(--fontSize74))'}}">
<scroll-view
scroll-y
enable-back-to-top
refresher-enabled="{{true}}"
bindrefresherrefresh="search"
bindscrolltolower="onBottomRefresh"
class="list"
scroll-top="{{scrollTop}}"
style="height: calc(100% - var(--fontSize2))"
refresher-threshold="104"
refresher-triggered="{{triggered}}">
<block wx:if="{{list.length > 0}}">
<view wx:for="{{list}}" wx:key="index" class="item">
<view class="item-header">{{item.customerName}} | {{item.customerPhone}}</view>
<view class="item-content">
<image class="status-icon" src="/packageEquity/images/equity-{{item.orderStatus}}.png" />
<!-- 内容 -->
<view class="order-list">
<view class="good-name">{{item.goodName || ''}}</view>
<view class="order-content">
<image mode="aspectFill" class="pro-bg" src="{{item.thumbUrl || '/packageEquity/images/pro-bg.png'}}" />
<view>
<view
wx:for="{{orderObj}}"
wx:key="sindex"
wx:for-index="sindex"
wx:for-item="i">
<view class="order {{orderObj.length == (sindex + 1) ? '' : 'm-b-16'}}">
<view class="order-label">{{i.label}}</view>
<view class="order-value">
<block wx:if="{{i.key == 'ywly'}}">车损升级</block>
<block wx:else>{{item[i.key] || ''}}{{i.suffix || ''}}</block>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- footer -->
<view class="item-footer">
<view>{{item.createdDate}}</view>
<!-- 超管isSuper/商户类型 userType 1账号不可操作 -->
<block wx:if="{{(!userInfo.isSuper && userInfo.userType == 2&&item.orderStatus!=4)||(item.orderStatus==2) }}">
<view
wx:if="{{item.orderStatus == '2'}}"
class="order-btn"
bindtap="handlePreviewContract"
data-target="{{item}}"
data-type="download">
下载合同
</view>
<view
wx:if="{{item.orderStatus == '2'}}"
class="order-btn default-btn"
bindtap="handlePreviewContract"
data-target="{{item}}">
{{btnTxt[item.orderStatus]}}
</view>
<view
wx:else
class="order-btn"
bindtap="handleRecordOrder"
data-target="{{item}}">
{{btnTxt[item.orderStatus]}}
</view>
</block>
</view>
</view>
<block wx:if="{{nothing}}">
<view class="list-nothing">到底了~</view>
</block>
</block>
<view class="no-data" wx:else>
<image class="no-data-img" src="/packageEquity/images/noData.png" />
<view class="list-not">暂无数据</view>
</view>
</scroll-view>
</view>
</view>
......@@ -138,17 +138,20 @@
.inputBox {
display: flex;
box-sizing: border-box;
width: var(--fontSize630);
width: 100%;
height: var(--fontSize88);
align-items: center; // padding: var(--fontSize24);
border: var(--fontSize2) solid #EFF0F2;
border-radius: var(--fontSize12);
overflow: hidden;
margin: var(--fontSize16) 0;
.van-field__body {
padding-left: var(--fontSize8);
width: var(--fontSize570);
van-cell{
width: 100%;
.van-field__body {
padding-left: var(--fontSize8);
font-size: var(--fontSize28);
}
}
}
......
......@@ -2,7 +2,7 @@
class="date-background"
show="{{show}}"
bindconfirm="confirm"
height="var(--fontSize800)">
height="90%">
<view class='date-container'>
<view class='date-confirm'>
<view class="search-box">
......
......@@ -42,7 +42,8 @@
line-height: var(--fontSize70);
}
.picker-box{
height: var(--fontSize450);
/* height: var(--fontSize450); */
height: calc(100% - var(--fontSize200));
display: flex;
}
.picker-box .picker{
......
......@@ -190,8 +190,7 @@
.order-box {
background-color: #fdfdfd;
height: calc(100% - var(--fontSize120) - var(--fontSize52) - var(--fontSize20));
/* height: calc(100% - 120rpx - 52rpx - 20rpx); */
height: calc(100% - var(--fontSize104) - var(--fontSize94));
}
.list {
......
......@@ -23,6 +23,7 @@ page {
overflow: hidden;
margin-top: var(--fontSize20);
height: calc(100% - var(--fontSize100));
padding-bottom: var(--fontSize30);
}
.box .remark_box{
......@@ -45,6 +46,7 @@ page {
.box .remark_box .textArea_box .textarea{
height: var(--fontSize130);
width: 100%;
}
.box .remark_box .textArea_box .currentWordNumber{
......@@ -55,6 +57,7 @@ page {
.input {
text-align: right;
font-size: var(--fontSize28);
height: 100%;
}
.placeholder-class {
......@@ -261,6 +264,7 @@ page {
box-sizing: border-box;
display: flex;
padding: var(--fontSize10) 0;
width: calc(100% - var(--fontSize80));
}
.tipsIcon,
......@@ -285,14 +289,16 @@ page {
}
.btns .save {
width: var(--fontSize186);
/* width: var(--fontSize186); */
width: 28%;
margin-right: var(--fontSize20);
color: #347BFF;
margin-right: var(--fontSize20);
}
.btns .confirm {
width: var(--fontSize480);
/* width: var(--fontSize186); */
width: 72%;
color: #fff;
background-color: #347BFF;
}
......
......@@ -33,9 +33,10 @@ page {
.userInfoCon {
position: relative;
width: var(--fontSize654);
box-sizing: border-box;
margin: 0 var(--fontSize48);
width: calc(100% - var(--fontSize96));
height: var(--fontSize366);
margin: 0 auto;
background: url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/collegeSceneCard.png') no-repeat;
background-size: 100% 100%;
......@@ -151,8 +152,9 @@ page {
}
.swiperCon {
width: var(--fontSize710);
margin: var(--fontSize32) auto 0;
margin: var(--fontSize32) var(--fontSize20) 0 ;
box-sizing: border-box;
width: calc(100% - var(--fontSize40));
background: #FFFFFF;
border-radius: var(--fontSize16);
filter: blur(0);
......@@ -233,7 +235,7 @@ page {
.wagesCon {
box-sizing: border-box;
padding: var(--fontSize20) var(--fontSize10);
width: var(--fontSize670);
width: 100%;
// height: var(--fontSize244);
background: #F6FCFE;
border-radius: var(--fontSize16);
......@@ -245,7 +247,6 @@ page {
.wagesItem {
box-sizing: border-box;
width: var(--fontSize670);
height: var(--fontSize68);
padding: var(--fontSize14) var(--fontSize22);
border-bottom: var(--fontSize1) solid #E4E8EE;
......@@ -299,7 +300,7 @@ page {
.orderItem {
box-sizing: border-box;
width: var(--fontSize710);
width: calc(100% - var(--fontSize40));
padding: var(--fontSize52) var(--fontSize40);
margin: 0 auto var(--fontSize32);
background: #FFFFFF;
......@@ -351,7 +352,7 @@ page {
.monthTitle {
box-sizing: border-box;
padding: var(--fontSize26) var(--fontSize20) var(--fontSize58);
width: var(--fontSize710);
width: calc(100% - var(--fontSize40));
height: var(--fontSize180);
margin: 0 auto calc(-1 * var(--fontSize32));
display: flex;
......@@ -438,7 +439,7 @@ page {
}
.noListText {
box-sizing: border-box;
width: var(--fontSize710);
width: calc(100% - var(--fontSize40));
margin: 0 auto;
background: #FFFFFF;
border-radius: var(--fontSize16);
......
......@@ -117,7 +117,9 @@
font-weight: 500;
font-size: var(--fontSize28);
color: #292D33;
input{
height: 100%;
}
.label {
margin-right: var(--fontSize16);
......
......@@ -13,6 +13,9 @@ Component({
properties: {
mode: {
type: Number
},
waitInputCount: {
type: Number
}
},
......
......@@ -65,6 +65,11 @@
overflow-y: scroll;
}
.constent_no_tips_box {
height: calc(100% - var(--fontSize332) - var(--constantSafeAreaInsetBottom));
height: calc(100% - var(--fontSize332) - var(--envSafeAreaInsetBottom));
}
.headerCon {
display: flex;
justify-content: space-between;
......
......@@ -13,7 +13,7 @@
</view>
</view>
</view>
<view class="content_box">
<view class="{{!waitInputCount ? 'constent_no_tips_box' : ''}} content_box">
<view class="headerCon">
<view class="tips-text text-hide">
你好,
......
......@@ -36,7 +36,7 @@
text-align: center;
width: 100%;
color: #FFFFFF;
bottom: 25%;
bottom: var(--fontSize260);
z-index: 12;
font-size: var(--fontSize28);
}
......@@ -51,7 +51,7 @@
.camerabotton-view {
height: var(--fontSize144);
width: var(--fontSize144);
bottom: 10%;
bottom: 7%;
left: 50%;
transform: translateX(-50%);
position: absolute;
......@@ -71,7 +71,7 @@
.upload-view {
height: var(--fontSize144);
width: var(--fontSize144);
bottom: 10%;
bottom: 7%;
left: 10%;
position: absolute;
display: flex;
......
......@@ -27,7 +27,7 @@ page {
.search-box .search-input {
background: #F7F8FA;
border-radius: var(--fontSize38);
width: var(--fontSize574);
width: calc(100% - var(--fontSize192));
height: var(--fontSize72);
display: flex;
align-items: center;
......@@ -47,6 +47,7 @@ page {
.search-box .search-input .input {
font-size: var(--fontSize28);
height: 100%;
width: calc(100% - var(--fontSize136));
}
......
......@@ -186,7 +186,7 @@ page {
.box .nothing {
padding: var(--fontSize60) 0 var(--fontSize40);
font-size: 12px;
font-size: var(--fontSize24);
color: #999999;
}
......
<!--tabIndex/components/recordingOrderPopup/recordingOrderPopup.wxml-->
<wxs src="index.wxs" module="filter" />
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="60%" slotStyle="{{popupSlotStyle}}">
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="80%" slotStyle="{{popupSlotStyle}}">
<view class="sub-title">
<view>{{title}}</view>
</view>
......
......@@ -124,6 +124,7 @@
text-align: center;
color: #333333;
overflow: hidden;
font-size: var(--fontSize28);
}
.option_box .option:first-child{
......
......@@ -671,6 +671,7 @@ page ::-webkit-scrollbar {
}
.table .label {
flex-shrink: 0;
display: flex;
align-items: center;
box-sizing: border-box;
......@@ -759,6 +760,7 @@ page ::-webkit-scrollbar {
}
.table-total .totalLabel {
flex-shrink: 0;
position: sticky;
left: 0;
display: flex;
......@@ -808,6 +810,7 @@ page ::-webkit-scrollbar {
}
.table .table-body .th .name {
flex-shrink: 0;
position: sticky;
left: 0;
z-index: 8;
......
......@@ -244,7 +244,7 @@
</view>
<ScrollView scroll-x scroll-y show-scrollbar="{{ false }}" bindscrolltolower="handleScrollToLower" class="table">
<view class="table-box">
<view class="table-header" style="width:{{ tableWidth }}rpx">
<view class="table-header" style="width: var(--fontSize{{ tableWidth }})">
<view class="label">合作门店</view>
<view class="values">
<block wx:for="{{ tableObj }}" wx:key="index">
......@@ -266,7 +266,7 @@
</block>
</view>
</view>
<view class="table-total" style="width:{{ tableWidth }}rpx">
<view class="table-total" style="width: var(--fontSize{{ tableWidth }})">
<view class="totalLabel average">累计</view>
<view class="values">
<block wx:for="{{ totalTableSum }}" wx:for-index="index" wx:key="index" wx:for-item="item">
......@@ -281,7 +281,7 @@
<block wx:if="{{ tableFlag }}">
<block wx:if="{{ table.length > 0 }}">
<block wx:for="{{ table }}" wx:key="index">
<view class="th" style="width:{{ tableWidth }}rpx">
<view class="th" style="width: var(--fontSize{{ tableWidth }})">
<view class="name">
<view class="labelName {{ item.merchantName.length<=10?'oneLine':'' }}">{{item.merchantName}}</view>
</view>
......
<!--tabMine/pages/completeBuild/completeBuild.wxml-->
<block>
<view class="main {{isFullSucreen?'isFullSucreen':'' }} {{showTips?'fullSucreen-tips':'' }}" style="height:calc(100vh - {{isFullSucreen?(34+71.5) : 71.5}}px);">
<view class="main {{isFullSucreen?'isFullSucreen':'' }} {{showTips?'fullSucreen-tips':'' }}" style="height:calc(100vh - {{isFullSucreen? var(--fontSize211) : var(--fontSize143)}}px);">
<view class="createData">
<view class="label">是否开启客户电子签名及评分选项</view>
<switch class=" {{userInfo.userType == 2 ?'disabled':''}}" color="#347BFF" disabled="{{!isYqdSuper}}" checked="{{saturdayFlag}}" bindchange="changeSwitch" data-target="saturdayFlag" />
......
......@@ -77,7 +77,8 @@ page {
.tableContainer .table-body .shopcon {
position: relative;
width: var(--fontSize710);
/* width: var(--fontSize710); */
width: 100%;
overflow: hidden;
border-radius: 8px;
background: #FFFFFF;
......@@ -129,7 +130,8 @@ page {
.tableContainer .table-body .shopcon .shopInfo .shopStatisticsTotal .shopStatisticsLabel,
.tableContainer .table-body .shopcon .shopInfo .shopStatisticsTotal .shopStatisticsTotalLabel {
box-sizing: border-box;
width: var(--fontSize686);
/* width: var(--fontSize686); */
width: calc(100% - var(--fontSize48));
margin: 0 auto;
height: var(--fontSize60);
display: flex;
......@@ -205,7 +207,8 @@ page {
padding-right: var(--fontSize24);
padding-left: var(--fontSize136);
background: #F9FCFF;
width: var(--fontSize686);
/* width: var(--fontSize686); */
width: calc(100% - var(--fontSize48));
margin: 0 auto;
}
......@@ -280,7 +283,8 @@ page {
.tableContainer .table-body .shopcon .shopFooter {
box-sizing: border-box;
height: var(--fontSize80);
font-size: 10px;
font-size: var(--fontSize20);
/* font-size: 10px; */
text-align: right;
color: #666666;
line-height: var(--fontSize80);
......@@ -360,7 +364,7 @@ page {
}
.img {
width: var(--fontSize710);
width: var(--fontSize610);
border-radius: var(--fontSize24);
}
......
page{background-color:#F8F9F9;font-size:var(--fontSize24)}.layout{opacity:0;height:100vh;display:flex;flex-direction:column}.opacity{opacity:1}.move{transform:rotate(-180deg) translateY(0)}.headerContainer{height:var(--fontSize306);background-color:#347BFF;width:100%}.headerContainer .businessDataContainer{display:flex;width:100%;height:var(--fontSize186);text-align:center;color:#FFFFFF}.headerContainer .businessDataContainer .turnover,.headerContainer .businessDataContainer .bill{flex:1;display:flex;justify-content:center;flex-direction:column}.headerContainer .businessDataContainer .num{margin-bottom:var(--fontSize10);font-size:var(--fontSize44);font-weight:600}.headerContainer .businessDataContainer .lab{font-size:var(--fontSize24)}.headerContainer .menu{width:var(--fontSize710);margin:0 auto;height:var(--fontSize186);background-color:#fff;box-shadow:0px 4px 20px 0px rgba(0,0,0,0.1);border-radius:var(--fontSize12);display:grid;align-items:center;grid-template-columns:repeat(4, 1fr);color:#666}.headerContainer .menu .item{display:flex;align-items:center;flex-direction:column;font-size:var(--fontSize24)}.headerContainer .menu .item image{width:var(--fontSize80);height:var(--fontSize80);margin-bottom:var(--fontSize8)}.Container{width:var(--fontSize710);flex:1;margin:var(--fontSize90) auto var(--fontSize75);overflow:hidden}.Container .dateContainer{height:var(--fontSize106);padding:0 var(--fontSize24);background-color:#fff;border-radius:var(--fontSize12)}.Container .dateContainer .date{height:100%;width:100%;position:relative;display:flex;align-items:center}.Container .dateContainer .date .onBeforeDay{flex:1;display:flex;position:relative;align-items:center;justify-content:center;height:var(--fontSize60);font-size:var(--fontSize26);color:#000}.Container .dateContainer .date .onBeforeDay .arrow{width:var(--fontSize14);height:var(--fontSize20);margin-right:var(--fontSize10)}.Container .dateContainer .date .nextDay{flex:1;display:flex;align-items:center;justify-content:center;position:relative;color:#000;font-size:var(--fontSize26);height:var(--fontSize60)}.Container .dateContainer .date .nextDay .arrow{width:var(--fontSize14);height:var(--fontSize20);margin-left:var(--fontSize10)}.Container .dateContainer .date .hidden{visibility:hidden}.Container .dateContainer .date .item .solidArrow{width:var(--fontSize14);height:var(--fontSize10);margin-left:var(--fontSize10);margin-top:var(--fontSize5)}.Container .dateContainer .date .dateNum{color:#347BFF;padding:var(--fontSize12) var(--fontSize24);border-radius:var(--fontSize8);border:1px solid #347BFF}.Container .componentContainer{height:var(--fontSize1000)}.Container .cellTab{height:88rpx;width:100%;background-color:#fff;border-radius:0 0 var(--fontSize12) var(--fontSize12)}.Container .tabContainer{display:flex;align-items:center;justify-content:space-around;width:var(--fontSize670);height:var(--fontSize64);margin:0 auto;background:#F7F7F7;border-radius:var(--fontSize8)}.Container .tabContainer .tabItem{width:var(--fontSize202);height:var(--fontSize50);text-align:center;line-height:var(--fontSize50);font-size:var(--fontSize28);color:#666;transition:all .5s}.Container .tabContainer .tabItem.active{background:#FFFFFF;font-weight:600;box-shadow:0px 0px 8px 0px rgba(0,0,0,0.06);border-radius:var(--fontSize8);color:#333}.Container .componentContainer{height:calc(100% - var(--fontSize194));background:#F8F9F9}.Container ::-webkit-scrollbar{width:0;height:0;color:transparent}.btn-box{position:fixed;bottom:0;left:0;width:100%;background-color:#fff;z-index:2}.btn-box .tips{display:flex;justify-content:center;align-items:center;height:var(--fontSize75);color:#347BFF;font-size:var(--fontSize24);font-weight:600;background-color:#EFF5FE}.btn-box .contentText{margin:0 var(--fontSize20)}.tipsIcon,.closeIcon{width:var(--fontSize32);height:var(--fontSize32)}.isFullSucreen-btn{padding-bottom:var(--fontSize68)}.navigation-title{display:flex;align-items:center;justify-content:center}.navigation-title-text{text-align:center;max-width:calc(100% - var(--fontSize24))}.navigation-title .arrow{width:var(--fontSize20);height:var(--fontSize16);margin-left:var(--fontSize74);transform:translateY(25%);transition:all 0.5s}.navigation-title .move{transform:rotate(-180deg) translateY(0)}.tipsShow .item{font-size:var(--fontSize28);margin-bottom:var(--fontSize20)}
.layout {
opacity: 0;
// height: 100%;
height: 100vh;
display: flex;
flex-direction: column;
}
.opacity {
opacity: 1;
}
.header {
box-sizing: border-box;
width: 100%;
height: var(--fontSize352);
background: #347BFF;
padding: var(--fontSize40);
display: flex;
flex-direction: column;
justify-content: space-between;
color: #fff;
font-size: var(--fontSize24);
.dateNum {
display: flex;
align-items: center;
white-space: nowrap;
font-size: var(--fontSize24);
}
.turnover {
width: 100%;
text-align: center;
.num {
font-size: var(--fontSize60);
font-weight: 600;
margin-bottom: var(--fontSize10);
}
}
.orderStatistics {
display: flex;
padding: 0 var(--fontSize40);
justify-content: space-between;
.item {
display: flex;
// display: inline-flex;
align-items: flex-end;
.unit {
display: flex;
align-items: flex-end;
height: 100%;
margin-bottom: var(--fontSize8);
}
.num {
display: inline;
font-size: var(--fontSize44);
font-weight: 600;
margin-left: var(--fontSize16);
}
}
}
}
.table {
height: calc(100vh - var(--fontSize352));
box-sizing: border-box;
// overflow: scroll;
// height: var(--fontSize400);
overflow: hidden;
// z-index: 2;
// margin-bottom: var(--fontSize34);
// padding-bottom: var(--fontSize34);
}
.tableContainer {
height: 100%;
overflow: hidden;
box-sizing: border-box;
// padding: var(--fontSize20);
padding: var(--fontSize20) var(--fontSize20) 0;
.table-header {
box-sizing: border-box;
display: flex;
padding: var(--fontSize20) var(--fontSize20) var(--fontSize24);
color: #333;
border-bottom: var(--fontSize1) solid #C3C3C3;
width: 100%;
.tableHeader-td:nth-child(1) {
// width: var(--fontSize200);
flex: 1;
// text-align: right;
// text-align: center;
text-align: left;
}
.tableHeader-td:nth-child(n+2) {
flex: 1;
// text-align: center;
text-align: right;
}
}
.list {
box-sizing: border-box;
// max-height: calc(100vh - var(--fontSize352) - var(--fontSize44));
// height: 100%;
// overflow: scroll;
}
.table-body {
// height: 100%;
height: calc(100% - var(--fontSize88));
overflow: hidden;
display: flex;
flex-direction: column;
.table-th {
display: flex;
padding: var(--fontSize16) var(--fontSize20);
box-sizing: border-box;
color: #666;
.table-td:nth-child(1) {
// width: var(--fontSize200);
flex: 1;
// text-align: right;
// text-align: center;
text-align: left;
}
.table-td:nth-child(n+2) {
flex: 1;
// text-align: center;
color: #333;
text-align: right;
}
}
.tips {
margin-top: var(--fontSize40);
text-align: center;
font-size: var(--fontSize24);
}
}
}
// .tips-nothing {
// width: 100%;
// padding: var(--fontSize50) 0;
// text-align: center;
// }
// 去除滚动条样式
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
.navigation-title {
display: flex;
align-items: center;
justify-content: center;
}
.navigation-title-text {
text-align: center;
max-width: calc(100% - var(--fontSize24));
}
.navigation-title .arrow {
width: var(--fontSize20);
height: var(--fontSize16);
margin-left: var(--fontSize4);
transform: translateY(25%);
transition: all 0.5s;
}
.arrow {
width: var(--fontSize10);
height: var(--fontSize6);
margin-left: var(--fontSize12);
transform: translateY(25%);
transition: all 0.5s;
}
.move {
transform: rotate(-180deg) translateY(0);
}
.noListText {
// padding: var(--fontSize40);
height: calc(100% - var(--fontSize88));
text-align: center;
// line-height: 100%;
display: flex;
justify-content: center;
background-color: #fff;
align-items: center;
border-radius: var(--fontSize12);
flex-direction: column;
color: #969799;
.image {
width: var(--fontSize320);
height: var(--fontSize392);
}
.text {
margin-top: calc(-1 * var(--fontSize65));
}
.layout {
opacity: 0;
// height: 100%;
height: 100vh;
display: flex;
flex-direction: column;
}
.opacity {
opacity: 1;
}
.header {
box-sizing: border-box;
width: 100%;
height: var(--fontSize352);
background: #347BFF;
padding: var(--fontSize40);
display: flex;
flex-direction: column;
justify-content: space-between;
color: #fff;
font-size: var(--fontSize24);
.dateNum {
display: flex;
align-items: center;
white-space: nowrap;
font-size: var(--fontSize24);
}
.turnover {
width: 100%;
text-align: center;
.num {
font-size: var(--fontSize60);
font-weight: 600;
margin-bottom: var(--fontSize10);
}
}
.orderStatistics {
display: flex;
padding: 0 var(--fontSize40);
justify-content: space-between;
.item {
display: flex;
// display: inline-flex;
align-items: flex-end;
.unit {
display: flex;
align-items: flex-end;
height: 100%;
margin-bottom: var(--fontSize8);
}
.num {
display: inline;
font-size: var(--fontSize44);
font-weight: 600;
margin-left: var(--fontSize16);
}
}
}
}
.table {
height: calc(100vh - var(--fontSize352));
box-sizing: border-box;
// overflow: scroll;
// height: var(--fontSize400);
overflow: hidden;
// z-index: 2;
// margin-bottom: var(--fontSize34);
// padding-bottom: var(--fontSize34);
}
.tableContainer {
height: 100%;
overflow: hidden;
box-sizing: border-box;
font-size: var(--fontSize28);
// padding: var(--fontSize20);
padding: var(--fontSize20) var(--fontSize20) 0;
.table-header {
box-sizing: border-box;
display: flex;
padding: var(--fontSize20) var(--fontSize20) var(--fontSize24);
color: #333;
border-bottom: var(--fontSize1) solid #C3C3C3;
width: 100%;
.tableHeader-td:nth-child(1) {
// width: var(--fontSize200);
flex: 1;
// text-align: right;
// text-align: center;
text-align: left;
}
.tableHeader-td:nth-child(n+2) {
flex: 1;
// text-align: center;
text-align: right;
}
}
.list {
box-sizing: border-box;
// max-height: calc(100vh - var(--fontSize352) - var(--fontSize44));
// height: 100%;
// overflow: scroll;
}
.table-body {
// height: 100%;
height: calc(100% - var(--fontSize88));
overflow: hidden;
display: flex;
flex-direction: column;
.table-th {
display: flex;
padding: var(--fontSize16) var(--fontSize20);
box-sizing: border-box;
color: #666;
.table-td:nth-child(1) {
// width: var(--fontSize200);
flex: 1;
// text-align: right;
// text-align: center;
text-align: left;
}
.table-td:nth-child(n+2) {
flex: 1;
// text-align: center;
color: #333;
text-align: right;
}
}
.tips {
margin-top: var(--fontSize40);
text-align: center;
font-size: var(--fontSize24);
}
}
}
// .tips-nothing {
// width: 100%;
// padding: var(--fontSize50) 0;
// text-align: center;
// }
// 去除滚动条样式
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
.navigation-title {
display: flex;
align-items: center;
justify-content: center;
}
.navigation-title-text {
text-align: center;
max-width: calc(100% - var(--fontSize24));
}
.navigation-title .arrow {
width: var(--fontSize20);
height: var(--fontSize16);
margin-left: var(--fontSize4);
transform: translateY(25%);
transition: all 0.5s;
}
.arrow {
width: var(--fontSize10);
height: var(--fontSize6);
margin-left: var(--fontSize12);
transform: translateY(25%);
transition: all 0.5s;
}
.move {
transform: rotate(-180deg) translateY(0);
}
.noListText {
// padding: var(--fontSize40);
height: calc(100% - var(--fontSize88));
text-align: center;
// line-height: 100%;
display: flex;
justify-content: center;
background-color: #fff;
align-items: center;
border-radius: var(--fontSize12);
flex-direction: column;
color: #969799;
.image {
width: var(--fontSize320);
height: var(--fontSize392);
}
.text {
margin-top: calc(-1 * var(--fontSize65));
}
}
\ No newline at end of file
.layout{opacity:0;height:100vh;display:flex;flex-direction:column}.opacity{opacity:1}.header{box-sizing:border-box;width:100%;height:var(--fontSize352);background:#347BFF;padding:var(--fontSize40);display:flex;flex-direction:column;justify-content:space-between;color:#fff;font-size:var(--fontSize24)}.header .dateNum{display:flex;align-items:center;white-space:nowrap;font-size:var(--fontSize24)}.header .turnover{width:100%;text-align:center}.header .turnover .num{font-size:var(--fontSize60);font-weight:600;margin-bottom:var(--fontSize10)}.header .orderStatistics{display:flex;padding:0 var(--fontSize40);justify-content:space-between}.header .orderStatistics .item{display:flex;align-items:flex-end}.header .orderStatistics .item .unit{display:flex;align-items:flex-end;height:100%;margin-bottom:var(--fontSize8)}.header .orderStatistics .item .num{display:inline;font-size:var(--fontSize44);font-weight:600;margin-left:var(--fontSize16)}.table{height:calc(100vh - var(--fontSize352));box-sizing:border-box;overflow:hidden}.tableContainer{height:100%;overflow:hidden;box-sizing:border-box;padding:var(--fontSize20) var(--fontSize20) 0}.tableContainer .table-header{box-sizing:border-box;display:flex;padding:var(--fontSize20) var(--fontSize20) var(--fontSize24);color:#333;border-bottom:1rpx solid #C3C3C3;width:100%}.tableContainer .table-header .tableHeader-td:nth-child(1){flex:1;text-align:left}.tableContainer .table-header .tableHeader-td:nth-child(n+2){flex:1;text-align:right}.tableContainer .list{box-sizing:border-box}.tableContainer .table-body{height:calc(100% - var(--fontSize88));overflow:hidden;display:flex;flex-direction:column}.tableContainer .table-body .table-th{display:flex;padding:var(--fontSize16) var(--fontSize20);box-sizing:border-box;color:#666}.tableContainer .table-body .table-th .table-td:nth-child(1){flex:1;text-align:left}.tableContainer .table-body .table-th .table-td:nth-child(n+2){flex:1;color:#333;text-align:right}.tableContainer .table-body .tips{margin-top:var(--fontSize40);text-align:center;font-size:var(--fontSize24)}::-webkit-scrollbar{width:0;height:0;color:transparent}.navigation-title{display:flex;align-items:center;justify-content:center}.navigation-title-text{text-align:center;max-width:calc(100% - var(--fontSize24))}.navigation-title .arrow{width:var(--fontSize20);height:var(--fontSize16);margin-left:var(--fontSize74);transform:translateY(25%);transition:all 0.5s}.arrow{width:var(--fontSize10);height:var(--fontSize6);margin-left:var(--fontSize12);transform:translateY(25%);transition:all 0.5s}.move{transform:rotate(-180deg) translateY(0)}.noListText{height:calc(100% - var(--fontSize88));text-align:center;display:flex;justify-content:center;background-color:#fff;align-items:center;border-radius:var(--fontSize12);flex-direction:column;color:#969799}.noListText .image{width:var(--fontSize320);height:var(--fontSize392)}.noListText .text{margin-top:calc(-1 * var(--fontSize65))}
<!--tabWorkOrder/components/filmRollNoPopup/filmRollNoPopup.wxml-->
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="60%">
<popup show="{{show}}" bindconfirm="confirm" bindcancel="cancel" height="85%" slotStyle="height: calc(100% - var(--fontSize130));">
<view class="film-roll-number-select-popup-box" >
<view class="box">
<view class="sub-title text-center">{{title}}</view>
......
......@@ -32,6 +32,7 @@ page {
.box .remark_box .textArea_box .textarea{
height: var(--fontSize130);
width: 100%;
}
.box .remark_box .textArea_box .currentWordNumber{
......@@ -73,6 +74,7 @@ page {
.input {
text-align: right;
font-size: var(--fontSize28);
height: 100%;
}
.placeholder-class {
......
......@@ -210,7 +210,9 @@
质保期
<text>{{item.warrantyPeriod}}年</text>
</view>
<image src="{{item.barCodeUrl}}" class="barCodeImg" />
<view class="codeImg-box">
<image src="{{item.barCodeUrl}}" class="barCodeImg" />
</view>
<!-- <view class="barCode">{{item.carCode}}</view> -->
</view>
</block>
......
......@@ -428,6 +428,11 @@ margin-right: auto;
margin: var(--fontSize8) 0 var(--fontSize32);
}
.warranty-card .codeImg-box {
display: flex;
justify-content: center;
}
.warranty-card .barCodeImg {
width: var(--fontSize600);
height: var(--fontSize158);
......
......@@ -2,7 +2,7 @@
<!-- 订单补录 -->
<!-- wx:if="{{flag}}" -->
<block>
<view class="main {{isFullSucreen?'isFullSucreen':'' }} {{showTips?'fullSucreen-tips':'' }}" style="height:calc(100vh - {{isFullSucreen?(34+71.5) : 71.5}}px);">
<view class="main {{isFullSucreen?'isFullSucreen':'' }} {{showTips?'fullSucreen-tips':'' }}" style="height:calc(100vh - {{isFullSucreen? var(--fontSize211) : var(--fontSize143)}});">
<view class="createData">
<view class="label">选择建档日期</view>
<calendar
......
......@@ -48,6 +48,7 @@ scroll-view ::-webkit-scrollbar {
.input {
text-align: right;
font-size: var(--fontSize28);
height: 100%;
}
.placeholder-class {
......@@ -212,6 +213,7 @@ scroll-view ::-webkit-scrollbar {
border-radius: var(--fontSize12);
border: var(--fontSize2) solid #347BFF;
font-weight: 500;
font-size: var(--fontSize32);
}
.list {
......@@ -278,6 +280,7 @@ scroll-view ::-webkit-scrollbar {
height: var(--fontSize80);
background-color: #347BFF;
border-radius: var(--fontSize12);
font-size: var(--fontSize32);
/* margin: 0 var(--fontSize32); */
}
......
......@@ -5,7 +5,7 @@ page {
}
.main {
padding: 0 var(--fontSize20) var(--fontSize136);
padding: 0 var(--fontSize20) var(--fontSize176);
}
.isFullSucreen {
......@@ -48,6 +48,7 @@ page {
.box .remark_box .textArea_box .textarea{
height: var(--fontSize130);
width: 100%;
}
.box .remark_box .textArea_box .currentWordNumber{
......@@ -68,6 +69,7 @@ page {
.input {
text-align: right;
font-size: var(--fontSize28);
height: 100%;
}
.placeholder-class {
......@@ -346,6 +348,7 @@ page {
box-sizing: border-box;
display: flex;
padding: var(--fontSize10) 0;
width: calc(100% - var(--fontSize80));
}
.tipsIcon,
......@@ -370,14 +373,16 @@ page {
}
.btns .save {
width: var(--fontSize186);
/* width: var(--fontSize186); */
width: 28%;
margin-right: var(--fontSize20);
color: #347BFF;
margin-right: var(--fontSize20);
}
.btns .confirm {
width: var(--fontSize480);
/* width: var(--fontSize480); */
width: 72%;
color: #fff;
background-color: #347BFF;
}
......
......@@ -3,7 +3,7 @@
<block>
<view
class="main {{ isFullSucreen?'isFullSucreen':'' }} {{showTips?'fullSucreen-tips':'' }}"
style="height:calc(100vh - {{ isFullSucreen?(34+71.5) : 71.5 }}px);"
style="height:calc(100vh - {{ isFullSucreen? var(--fontSize211) : var(--fontSize143) }});"
>
<view class="createData">
<view class="label">选择战败日期</view>
......
......@@ -34,6 +34,7 @@ scroll-view ::-webkit-scrollbar {
.input {
text-align: right;
font-size: var(--fontSize28);
height: 100%;
}
.placeholder-class {
......@@ -287,6 +288,7 @@ scroll-view ::-webkit-scrollbar {
border-radius: var(--fontSize12);
border: var(--fontSize2) solid #347BFF;
font-weight: 500;
font-size: var(--fontSize32);
}
.list {
......@@ -443,7 +445,7 @@ scroll-view ::-webkit-scrollbar {
background: #F7F7F7;
border: var(--fontSize1) solid #C3C3C3;
border-radius: var(--fontSize12);
width: var(--fontSize600);
width: calc(100% - var(--fontSize80));
height: var(--fontSize240);
box-sizing: border-box;
margin: 0 auto var(--fontSize20);
......
......@@ -175,7 +175,9 @@
质保期
<text>{{item.warrantyPeriod}}年</text>
</view>
<image src="{{item.barCodeUrl}}" class="barCodeImg" />
<view class="codeImg-box">
<image src="{{item.barCodeUrl}}" class="barCodeImg" />
</view>
<!-- <view class="barCode">{{item.carCode}}</view> -->
</view>
</block>
......
......@@ -362,6 +362,11 @@ page {
margin: var(--fontSize8) 0 var(--fontSize32);
}
.warranty-card .codeImg-box {
display: flex;
justify-content: center;
}
.warranty-card .barCodeImg {
width: var(--fontSize600);
height: var(--fontSize158);
......
......@@ -5,7 +5,7 @@ page {
}
.main {
padding: 0 var(--fontSize20) var(--fontSize136);
padding: 0 var(--fontSize20) var(--fontSize176);
}
.isFullSucreen {
......@@ -48,6 +48,7 @@ page {
.box .remark_box .textArea_box .textarea{
height: var(--fontSize130);
width: 100%;
}
.box .remark_box .textArea_box .currentWordNumber{
......@@ -68,6 +69,7 @@ page {
.input {
text-align: right;
font-size: var(--fontSize28);
height: 100%;
}
.placeholder-class {
......@@ -346,6 +348,7 @@ page {
box-sizing: border-box;
display: flex;
padding: var(--fontSize10) 0;
width: calc(100% - var(--fontSize80));
}
.tipsIcon,
......@@ -370,14 +373,16 @@ page {
}
.btns .save {
width: var(--fontSize186);
/* width: var(--fontSize186); */
width: 28%;
margin-right: var(--fontSize20);
color: #347BFF;
margin-right: var(--fontSize20);
}
.btns .confirm {
width: var(--fontSize480);
/* width: var(--fontSize480); */
width: 72%;
color: #fff;
background-color: #347BFF;
}
......
......@@ -5,7 +5,7 @@ page {
}
.main {
padding: 0 var(--fontSize20) var(--fontSize136);
padding: 0 var(--fontSize20) var(--fontSize176);
}
.isFullSucreen {
......@@ -45,6 +45,7 @@ page {
.box .remark_box .textArea_box .textarea{
height: var(--fontSize130);
width: 100%;
}
.box .remark_box .textArea_box .currentWordNumber{
......@@ -55,6 +56,7 @@ page {
.input {
text-align: right;
font-size: var(--fontSize28);
height: 100%;
}
.placeholder-class {
......@@ -262,6 +264,7 @@ page {
box-sizing: border-box;
display: flex;
padding: var(--fontSize10) 0;
width: calc(100% - var(--fontSize80));
}
.tipsIcon,
......@@ -286,14 +289,16 @@ page {
}
.btns .save {
width: var(--fontSize186);
/* width: var(--fontSize186); */
width: 28%;
margin-right: var(--fontSize20);
color: #347BFF;
margin-right: var(--fontSize20);
}
.btns .confirm {
width: var(--fontSize480);
/* width: var(--fontSize480); */
width: 72%;
color: #fff;
background-color: #347BFF;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!