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