Commit 63d198dc by 张立顺

Merge branch 'SAAS-V4.37.0' of http://192.168.3.233:8090/saas_plus/dj-car-boutiq…

…ue-work-wechat into SAAS-V4.37.0
2 parents 8aedfb40 985cd952
...@@ -44,14 +44,14 @@ ...@@ -44,14 +44,14 @@
color: #8A8C90; color: #8A8C90;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: calc(100vh - var(--fontSize100) - env(safe-area-inset-bottom)); height: calc(100vh - var(--fontSize100) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - constant(safe-area-inset-bottom)); height: calc(100vh - var(--fontSize100) - var(--envSafeAreaInsetBottom));
overflow: hidden; overflow: hidden;
} }
.tipsHeigh{ .tipsHeigh{
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - env(safe-area-inset-bottom)); height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - constant(safe-area-inset-bottom)); height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
} }
.layout .pagedetail { .layout .pagedetail {
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
position: absolute; position: absolute;
/* bottom: env(safe-area-inset-bottom); */ /* bottom: env(safe-area-inset-bottom); */
bottom: constant(safe-area-inset-bottom); bottom: constant(safe-area-inset-bottom);
/* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - env(safe-area-inset-bottom)); /* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - constant(safe-area-inset-bottom)); */ height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--constantSafeAreaInsetBottom)); */
width: 100%; width: 100%;
} }
\ No newline at end of file \ No newline at end of file
...@@ -44,14 +44,15 @@ ...@@ -44,14 +44,15 @@
color: #8A8C90; color: #8A8C90;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: calc(100vh - var(--fontSize100) - env(safe-area-inset-bottom)); height: calc(100vh - var(--fontSize100) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - constant(safe-area-inset-bottom)); height: calc(100vh - var(--fontSize100) - var(--envSafeAreaInsetBottom));
overflow: hidden; overflow: hidden;
} }
.tipsHeigh{ .tipsHeigh{
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - env(safe-area-inset-bottom)); height: calc(100vh - var(--fontSize100) - var(--fontSize72) var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - constant(safe-area-inset-bottom)); height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
} }
.layout .pagedetail { .layout .pagedetail {
...@@ -62,7 +63,7 @@ ...@@ -62,7 +63,7 @@
position: absolute; position: absolute;
/* bottom: env(safe-area-inset-bottom); */ /* bottom: env(safe-area-inset-bottom); */
bottom: constant(safe-area-inset-bottom); bottom: constant(safe-area-inset-bottom);
/* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - env(safe-area-inset-bottom)); /* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - constant(safe-area-inset-bottom)); */ height: calc(100vh - var(--fontSize100) - var(--fontSize72) var(--constantSafeAreaInsetBottom)); */
width: 100%; width: 100%;
} }
\ No newline at end of file \ No newline at end of file
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0 var(--fontSize4) var(--fontSize20) 0 #0000001a; box-shadow: 0 var(--fontSize4) var(--fontSize20) 0 #0000001a;
border-radius: var(--fontSize32) var(--fontSize32) 0 0; border-radius: var(--fontSize32) var(--fontSize32) 0 0;
height: calc(100% - var(--fontSize490) - constant(safe-area-inset-bottom)); height: calc(100% - var(--fontSize490) - var(--constantSafeAreaInsetBottom));
height: calc(100% - var(--fontSize490) - env(safe-area-inset-bottom)); height: calc(100% - var(--fontSize490) - var(--envSafeAreaInsetBottom));
padding: var(--fontSize30) var(--fontSize36) var(--fontSize80); padding: var(--fontSize30) var(--fontSize36) var(--fontSize80);
overflow-y: scroll; overflow-y: scroll;
} }
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
align-items: center; align-items: center;
padding-left: var(--fontSize90); /* padding-left: var(--fontSize90); */
} }
/* .tips text { /* .tips text {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
align-items: center; align-items: center;
padding-left: var(--fontSize90); /* padding-left: var(--fontSize90); */
} }
.tips text { .tips text {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
} }
.user-box { .user-box {
padding: 16px; padding: var(--fontSize32);
font-size: var(--fontSize28); font-size: var(--fontSize28);
color: #333333; color: #333333;
} }
...@@ -220,6 +220,7 @@ color: #999999; ...@@ -220,6 +220,7 @@ color: #999999;
.search-box .search-input .input { .search-box .search-input .input {
font-size: var(--fontSize28); font-size: var(--fontSize28);
width: calc(100% - var(--fontSize136)); width: calc(100% - var(--fontSize136));
height: var(--fontSize28);
} }
.input-placeholder { .input-placeholder {
...@@ -356,12 +357,12 @@ color: #999999; ...@@ -356,12 +357,12 @@ color: #999999;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
font-size: 14px; font-size: var(--fontSize28);
color: #181A1F; color: #181A1F;
} }
.items .left .text_box .text_no{ .items .left .text_box .text_no{
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: var(--fontSize24);
color: #999EA8; color: #999EA8;
margin-top: var(--fontSize16); margin-top: var(--fontSize16);
} }
...@@ -418,9 +419,6 @@ color: #999999; ...@@ -418,9 +419,6 @@ color: #999999;
/* letter-spacing: var(--fontSize13); */ /* letter-spacing: var(--fontSize13); */
} }
.isFullSucreen-btn {
padding-bottom: 34px !important;
}
.btn { .btn {
width: calc(100% - var(--fontSize80)); width: calc(100% - var(--fontSize80));
......
<!-- pages/sceneIndex/sceneIndex.wxml --> <!-- pages/sceneIndex/sceneIndex.wxml -->
<view class="layout"> <view class="layout">
<scroll-view wx:if="{{showPage}}" class="scene-box" scroll-y style="height: calc(100vh - var(--fontSize140) - {{isFullSucreen ? 34 : 0}}px - var(--fontSize60));"> <scroll-view wx:if="{{showPage}}" class="scene-box" scroll-y >
<block wx:for="{{sceneList}}" wx:key="index"> <block wx:for="{{sceneList}}" wx:key="index">
<view class="scene-item {{item.actived ? 'active' : ''}}" bindtap="selectScene" data-scene="{{item.sceneType}}" data-index="{{index}}"> <view class="scene-item {{item.actived ? 'active' : ''}}" bindtap="selectScene" data-scene="{{item.sceneType}}" data-index="{{index}}">
<view class="left"> <view class="left">
......
...@@ -3,6 +3,9 @@ page { ...@@ -3,6 +3,9 @@ page {
background-color: #F7F8FA; background-color: #F7F8FA;
height: 100vh; height: 100vh;
} }
.layout{
padding-top: var(--fontSize32);
}
.user-box { .user-box {
padding: 16px; padding: 16px;
font-size: var(--fontSize28); font-size: var(--fontSize28);
...@@ -42,9 +45,11 @@ page { ...@@ -42,9 +45,11 @@ page {
} }
.scene-box{ .scene-box{
padding: var(--fontSize32); /* padding: var(--fontSize32); */
overflow: hidden; overflow: hidden;
box-sizing: border-box; box-sizing: border-box;
height: calc(100vh - var(--fontSize140) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize140) - var(--envSafeAreaInsetBottom));
} }
.scene-box .scene-item{ .scene-box .scene-item{
...@@ -57,7 +62,7 @@ page { ...@@ -57,7 +62,7 @@ page {
/* box-shadow: 0 var(--fontSize48) var(--fontSize20) calc(-1 * var(--fontSize40)) #D8D9E6; */ /* box-shadow: 0 var(--fontSize48) var(--fontSize20) calc(-1 * var(--fontSize40)) #D8D9E6; */
border-radius: var(--fontSize24); border-radius: var(--fontSize24);
padding: var(--fontSize32); padding: var(--fontSize32);
margin: var(--fontSize24) 0; margin: var(--fontSize24) var(--fontSize32);
position: relative; position: relative;
} }
......
...@@ -28,7 +28,7 @@ page { ...@@ -28,7 +28,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(574 / 750 * 100%);
height: var(--fontSize72); height: var(--fontSize72);
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -49,6 +49,7 @@ page { ...@@ -49,6 +49,7 @@ page {
.search-box .search-input .input { .search-box .search-input .input {
font-size: var(--fontSize28); font-size: var(--fontSize28);
width: calc(100% - var(--fontSize136)); width: calc(100% - var(--fontSize136));
height: var(--fontSize28);
} }
.input-placeholder { .input-placeholder {
...@@ -56,7 +57,7 @@ page { ...@@ -56,7 +57,7 @@ page {
} }
.search-box .search { .search-box .search {
width: var(--fontSize144); width: calc(144 / 750 * 100%);
height: 100%; height: 100%;
color: #666; color: #666;
box-sizing: border-box; box-sizing: border-box;
...@@ -410,7 +411,7 @@ page { ...@@ -410,7 +411,7 @@ page {
/* border-bottom: .5px solid #d8d4d4; */ /* border-bottom: .5px solid #d8d4d4; */
} }
.touch-item:first-child{ .touch-item:first-child {
margin-top: var(--fontSize4); margin-top: var(--fontSize4);
} }
...@@ -558,7 +559,7 @@ page { ...@@ -558,7 +559,7 @@ page {
border-radius: var(--fontSize32); border-radius: var(--fontSize32);
} }
.control-item.disabled{ .control-item.disabled {
background: #DEE0E3; background: #DEE0E3;
} }
...@@ -571,4 +572,3 @@ page { ...@@ -571,4 +572,3 @@ page {
width: var(--fontSize48); width: var(--fontSize48);
height: var(--fontSize48); height: var(--fontSize48);
} }
\ No newline at end of file \ No newline at end of file
...@@ -166,7 +166,7 @@ page { ...@@ -166,7 +166,7 @@ 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: 100%;
height: var(--fontSize88); height: var(--fontSize88);
padding: var(--fontSize24) var(--fontSize32); padding: var(--fontSize24) var(--fontSize32);
display: flex; display: flex;
......
...@@ -96,6 +96,7 @@ page { ...@@ -96,6 +96,7 @@ page {
color: #347BFF; color: #347BFF;
text-align: center; text-align: center;
line-height: var(--fontSize100); line-height: var(--fontSize100);
font-size: var(--fontSize32);
} }
.auth-dialog-class { .auth-dialog-class {
...@@ -200,9 +201,9 @@ page { ...@@ -200,9 +201,9 @@ page {
} }
.auth_box{ .auth_box{
padding-top: var(--fontSize30); padding: var(--fontSize30) 0;
position: fixed; /* position: fixed; */
width: 100%; width: 100%;
left: 50%; /* left: 50%; */
transform: translateX(-50%); /* transform: translateX(-50%); */
} }
...@@ -44,14 +44,14 @@ ...@@ -44,14 +44,14 @@
color: #8A8C90; color: #8A8C90;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: calc(100vh - var(--fontSize100) - env(safe-area-inset-bottom)); height: calc(100vh - var(--fontSize100) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - constant(safe-area-inset-bottom)); height: calc(100vh - var(--fontSize100) - var(--envSafeAreaInsetBottom));
overflow: hidden; overflow: hidden;
} }
.tipsHeigh{ .tipsHeigh{
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - env(safe-area-inset-bottom)); height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--constantSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - constant(safe-area-inset-bottom)); height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
} }
.layout .pagedetail { .layout .pagedetail {
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
position: absolute; position: absolute;
/* bottom: env(safe-area-inset-bottom); */ /* bottom: env(safe-area-inset-bottom); */
bottom: constant(safe-area-inset-bottom); bottom: constant(safe-area-inset-bottom);
/* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - env(safe-area-inset-bottom)); /* height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--envSafeAreaInsetBottom));
height: calc(100vh - var(--fontSize100) - var(--fontSize72) - constant(safe-area-inset-bottom)); */ height: calc(100vh - var(--fontSize100) - var(--fontSize72) - var(--constantSafeAreaInsetBottom)); */
width: 100%; width: 100%;
} }
\ No newline at end of file \ No newline at end of file
...@@ -134,12 +134,11 @@ ...@@ -134,12 +134,11 @@
font-size: var(--fontSize28); font-size: var(--fontSize28);
color: #347BFF; color: #347BFF;
max-width: var(--fontSize150); max-width: var(--fontSize150);
/* max-width: 150rpx; */
white-space: nowrap; white-space: nowrap;
/* 不换行 */ /* 不换行 */
overflow: hidden; overflow: hidden;
/* 控制溢出部分的显示与否 */ /* 控制溢出部分的显示与否 */
text-overflow: ellipsis; text-overflow: ellipsis;
/* 添加省略号 */ /* 添加省略号 */
/* font-size: 28rpx; */
/* color: #347BFF; */
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!