Commit a957019d by zhangquan

横屏适配

1 parent 551fc01e
Showing 27 changed files with 64 additions and 29 deletions
...@@ -163,7 +163,7 @@ page { ...@@ -163,7 +163,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;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<!-- rows="1" --> <!-- rows="1" -->
<van-field <van-field
class="textarea" class="textarea"
custom-style="padding: var(--fontSize20) 0;" custom-style="padding: var(--fontSize20) 0;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'}}"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
.input-box { .input-box {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
--cell-line-height: calc(28vmin / 7.5)!important;
} }
.textarea { .textarea {
......
/* packageCrowdFunding/pages/balanceNote/balanceNote.wxss */ /* packageCrowdFunding/pages/balanceNote/balanceNote.wxss */
.navigation-title-text, .confirm-butn{
font-size: var(--fontSize28);
}
.big-img{ .big-img{
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
</view> </view>
</view> </view>
<view class="cofirm" bind:tap="confirm"> <view class="cofirm confirm-butn" bind:tap="confirm">
确定 确定
</view> </view>
......
...@@ -101,6 +101,8 @@ ...@@ -101,6 +101,8 @@
.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(--fontSize29);
line-height: var(--fontSize29);
} }
.input-placeholder { .input-placeholder {
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
border-radius: var(--fontSize16); border-radius: var(--fontSize16);
padding: var(--fontSize16); padding: var(--fontSize16);
margin-bottom: var(--fontSize20); margin-bottom: var(--fontSize20);
--cell-line-height: calc(28vmin / 7.5)!important;
} }
.btn-box{ .btn-box{
......
...@@ -138,6 +138,8 @@ ...@@ -138,6 +138,8 @@
.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(--fontSize29);
line-height: var(--fontSize29);
} }
.input-placeholder { .input-placeholder {
......
...@@ -10,11 +10,15 @@ ...@@ -10,11 +10,15 @@
background-size: 100% 100%; background-size: 100% 100%;
.tips{ .tips{
font-size: 600 font-size: var(--fontSize20);
} }
.sum{ .sum{
padding-top: var(--fontSize10); padding-top: var(--fontSize10);
font-size: var(--fontSize24); font-size: var(--fontSize24);
} }
} }
.orderInfo{
display: flex;
justify-content: center;
}
/* packageCrowdFunding/pages/homePage/index/index.wxss */ /* packageCrowdFunding/pages/homePage/index/index.wxss */
.layout_box{ .layout_box{
width: 100%; width: 100%;
height: 100vh; height: 100%;
background: #FAFBFF; background: #FAFBFF;
padding-top: var(--fontSize6); padding-top: var(--fontSize6);
overflow: scroll; overflow: scroll;
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
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(--fontSize238)); height: fit-content;
padding: var(--fontSize30) var(--fontSize36); padding: var(--fontSize30) var(--fontSize36);
} }
...@@ -144,6 +144,6 @@ ...@@ -144,6 +144,6 @@
.menu_box .menu_item .text{ .menu_box .menu_item .text{
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: var(--fontSize24);
color: #292D33; color: #292D33;
} }
...@@ -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(--fontSize30) 0; font-size: var(--fontSize28); background: {{background}};"
border="{{ false}}" border="{{ false}}"
value="{{formData[item.name]}}" value="{{formData[item.name]}}"
input-align="{{itme.inputAlign || 'right'}}" input-align="{{itme.inputAlign || 'right'}}"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
.input-box { .input-box {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
--cell-line-height: calc(28vmin / 7.5)!important;
} }
.textarea { .textarea {
......
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
<block wx:if="{{brandList.length}}"> <block wx:if="{{brandList.length}}">
<block wx:for="{{brandList}}" wx:key="index"> <block wx:for="{{brandList}}" wx:key="index">
<view id="{{item.letter}}"> <view id="{{item.letter}}">
<view class="title y-center">{{item.letter}}</view> <view class="title car-y-center">{{item.letter}}</view>
<view class="box"> <view class="box">
<block wx:for="{{item.list}}" wx:for-item="i" wx:key="ind" wx:for-index="ind"> <block wx:for="{{item.list}}" wx:for-item="i" wx:key="ind" wx:for-index="ind">
<view class="brands" catchtap="showCarSeries" data-item="{{i}}"> <view class="brands" catchtap="showCarSeries" data-item="{{i}}">
<view class="list y-center"> <view class="list car-y-center">
<image src="{{i.logoUrl}}" class="icon" /> <image src="{{i.logoUrl}}" class="icon" />
{{i.name}} {{i.name}}
</view> </view>
......
/* packageEquity/pages/carEquity/carBrands/carBrands.wxss */ /* packageEquity/pages/carEquity/carBrands/carBrands.wxss */
.y-center { .car-y-center {
display: flex; display: flex;
align-items: center; align-items: center;
transform: translateY(0); transform: translateY(0);
...@@ -53,9 +53,9 @@ ...@@ -53,9 +53,9 @@
.side-bar { .side-bar {
z-index: 999; z-index: 999;
position: fixed; position: absolute;
top: 50%; top: 0;
transform: translateY(-50%); /* transform: translateY(-50%); */
font-size: var(--fontSize24); font-size: var(--fontSize24);
color: #4c4c4c; color: #4c4c4c;
width: 10%; width: 10%;
......
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
<scroll-view style="height:100%;" scroll-y scroll-into-view="{{letter}}"> <scroll-view style="height:100%;" scroll-y scroll-into-view="{{letter}}">
<block wx:for="{{list}}" wx:key="index"> <block wx:for="{{list}}" wx:key="index">
<view id="series-{{index}}"> <view id="series-{{index}}">
<view class="title y-center">{{item.name}}</view> <view class="title car-y-center">{{item.name}}</view>
<view class="box"> <view class="box">
<block wx:if="{{item.done}}"> <block wx:if="{{item.done}}">
<block wx:for="{{item.childs}}" wx:for-item="i" wx:key="ind" wx:for-index="ind"> <block wx:for="{{item.childs}}" wx:for-item="i" wx:key="ind" wx:for-index="ind">
<view class="brands" catchtap="showCarType" data-item="{{item}}" data-i="{{i}}"> <view class="brands" catchtap="showCarType" data-item="{{item}}" data-i="{{i}}">
<view class="list y-center"> <view class="list car-y-center">
{{i.name}} {{i.name}}
</view> </view>
</view> </view>
......
/* packageEquity/pages/carEquity/carSeries/carSeries.wxss */ /* packageEquity/pages/carEquity/carSeries/carSeries.wxss */
@import "../carBrands/carBrands.wxss"; @import "../carBrands/carBrands.wxss";
.car-y-center{
display: flex;
align-items: center;
transform: translateY(0);
}
.side-bar { .side-bar {
width: auto; width: auto;
} }
......
...@@ -151,6 +151,8 @@ ...@@ -151,6 +151,8 @@
.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(--fontSize29);
line-height: var(--fontSize29);
} }
.input-placeholder { .input-placeholder {
...@@ -200,6 +202,8 @@ ...@@ -200,6 +202,8 @@
.tips-custom { .tips-custom {
height: var(--fontSize48) !important; height: var(--fontSize48) !important;
padding: 0 var(--fontSize16);
align-items: center;
line-height: var(--fontSize48); line-height: var(--fontSize48);
border-radius: var(--fontSize12); border-radius: var(--fontSize12);
} }
......
...@@ -59,9 +59,9 @@ ...@@ -59,9 +59,9 @@
<!-- itemsCode标识:YB0001-延保-6大件,YB0002-延保-3电,YB0003-延保-油车 --> <!-- itemsCode标识:YB0001-延保-6大件,YB0002-延保-3电,YB0003-延保-油车 -->
<gl-form wx:if="{{item.itemsCode == 'YB0003'}}" id="{{'oil' + index}}" background="#F4F5F7" formData="{{item}}" dataAttrName="{{'serviceInfo.goodInfoList[' + index +']'}}" formDataList="{{secondObj.productFormList[0].oilProFormList}}"> <gl-form wx:if="{{item.itemsCode == 'YB0003'}}" id="{{'oil' + index}}" background="#F4F5F7" formData="{{item}}" dataAttrName="{{'serviceInfo.goodInfoList[' + index +']'}}" formDataList="{{secondObj.productFormList[0].oilProFormList}}">
<view slot="warranty" class="warranty"> <view slot="warranty" class="warranty">
<van-field class="textarea" custom-style="width: var(--fontSize100); padding: var(--fontSize20) 0; background: #F4F5F7;" border="{{false}}" value="{{item.warrantyPeriod}}" input-align="right" autosize hold-keyboard type="number" placeholder="请输入" maxlength="140" data-attr="warrantyPeriod" data-idx="{{index}}" data-curitem="{{item}}" bindinput="handleWarrantyInput" /> <van-field class="textarea" custom-style="width: var(--fontSize100);font-size: var(--fontSize28); padding: var(--fontSize30) 0; background: #F4F5F7;" border="{{false}}" value="{{item.warrantyPeriod}}" input-align="right" autosize hold-keyboard type="number" placeholder="请输入" maxlength="140" data-attr="warrantyPeriod" data-idx="{{index}}" data-curitem="{{item}}" bindinput="handleWarrantyInput" />
<text class="input-suffix">年或</text> <text class="input-suffix">年或</text>
<van-field class="textarea" custom-style="width: var(--fontSize100); padding: var(--fontSize20) 0 var(--fontSize20) var(--fontSize12); background: #F4F5F7;" border="{{false}}" value="{{item.warrantyKm}}" input-align="right" autosize hold-keyboard type="number" placeholder="请输入" maxlength="140" data-attr="warrantyKm" data-idx="{{index}}" data-curitem="{{item}}" bindinput="handleWarrantyInput" /> <van-field class="textarea" custom-style="width: var(--fontSize100);font-size: var(--fontSize28); padding: var(--fontSize30) 0 var(--fontSize30) var(--fontSize12); background: #F4F5F7;" border="{{false}}" value="{{item.warrantyKm}}" input-align="right" autosize hold-keyboard type="number" placeholder="请输入" maxlength="140" data-attr="warrantyKm" data-idx="{{index}}" data-curitem="{{item}}" bindinput="handleWarrantyInput" />
<text class="input-suffix">万公里</text> <text class="input-suffix">万公里</text>
</view> </view>
<view slot="gearbox" class="selectItem gearbox" data-attr="gearbox" data-idx="{{index}}" data-typename="gearboxtype" catchtap="handlePopupShow"> <view slot="gearbox" class="selectItem gearbox" data-attr="gearbox" data-idx="{{index}}" data-typename="gearboxtype" catchtap="handlePopupShow">
...@@ -71,9 +71,9 @@ ...@@ -71,9 +71,9 @@
</gl-form> </gl-form>
<gl-form wx:else id="{{'energy' + index}}" background="#F4F5F7" formData="{{item}}" dataAttrName="{{'serviceInfo.goodInfoList[' + index +']'}}" formDataList="{{secondObj.productFormList[0].energyProFormList}}"> <gl-form wx:else id="{{'energy' + index}}" background="#F4F5F7" formData="{{item}}" dataAttrName="{{'serviceInfo.goodInfoList[' + index +']'}}" formDataList="{{secondObj.productFormList[0].energyProFormList}}">
<view slot="warranty" class="warranty"> <view slot="warranty" class="warranty">
<van-field class="textarea" custom-style="width: var(--fontSize100); padding: var(--fontSize20) 0; background: #F4F5F7;" border="{{false}}" value="{{item.warrantyPeriod}}" input-align="right" autosize hold-keyboard type="number" placeholder="请输入" maxlength="140" data-attr="warrantyPeriod" data-idx="{{index}}" data-curitem="{{item}}" bindinput="handleWarrantyInput" /> <van-field class="textarea" custom-style="width: var(--fontSize100);font-size: var(--fontSize28); padding: var(--fontSize30) 0; background: #F4F5F7;" border="{{false}}" value="{{item.warrantyPeriod}}" input-align="right" autosize hold-keyboard type="number" placeholder="请输入" maxlength="140" data-attr="warrantyPeriod" data-idx="{{index}}" data-curitem="{{item}}" bindinput="handleWarrantyInput" />
<text class="input-suffix">年或</text> <text class="input-suffix">年或</text>
<van-field class="textarea" custom-style="width: var(--fontSize100); padding: var(--fontSize20) 0 var(--fontSize20) var(--fontSize12); background: #F4F5F7;" border="{{false}}" value="{{item.warrantyKm}}" input-align="right" autosize hold-keyboard type="number" placeholder="请输入" maxlength="140" data-attr="warrantyKm" data-curitem="{{item}}" data-idx="{{index}}" bindinput="handleWarrantyInput" /> <van-field class="textarea" custom-style="width: var(--fontSize100);font-size: var(--fontSize28); padding: var(--fontSize30) 0 var(--fontSize30) var(--fontSize12); background: #F4F5F7;" border="{{false}}" value="{{item.warrantyKm}}" input-align="right" autosize hold-keyboard type="number" placeholder="请输入" maxlength="140" data-attr="warrantyKm" data-curitem="{{item}}" data-idx="{{index}}" bindinput="handleWarrantyInput" />
<text class="input-suffix">万公里</text> <text class="input-suffix">万公里</text>
</view> </view>
</gl-form> </gl-form>
......
...@@ -250,6 +250,7 @@ ...@@ -250,6 +250,7 @@
justify-content: flex-end; justify-content: flex-end;
height: var(--fontSize80); height: var(--fontSize80);
line-height: var(--fontSize80); line-height: var(--fontSize80);
--cell-line-height: calc(28vmin / 7.5)!important;
} }
.warranty .input-suffix { .warranty .input-suffix {
......
...@@ -294,7 +294,7 @@ const secondObj = { ...@@ -294,7 +294,7 @@ const secondObj = {
label: ' ', label: ' ',
name: 'goodInfoList', name: 'goodInfoList',
type: 'slot', type: 'slot',
labelWidth: '0', labelWidth: '0rpx',
noCellHeight: true, noCellHeight: true,
// 权益表单 // 权益表单
equityProFormList: [ equityProFormList: [
...@@ -517,7 +517,7 @@ const secondObj = { ...@@ -517,7 +517,7 @@ const secondObj = {
label: '', label: '',
name: 'tire', name: 'tire',
type: 'slot', type: 'slot',
labelWidth: '0', labelWidth: '0rpx',
noCellHeight: true, noCellHeight: true,
tireObj: { tireObj: {
tire: '' tire: ''
...@@ -623,7 +623,7 @@ const secondObj = { ...@@ -623,7 +623,7 @@ const secondObj = {
label: ' ', label: ' ',
name: 'upload', name: 'upload',
type: 'slot', type: 'slot',
labelWidth: '0', labelWidth: '0rpx',
noCellHeight: true noCellHeight: true
} }
], ],
...@@ -654,7 +654,7 @@ const secondObj = { ...@@ -654,7 +654,7 @@ const secondObj = {
label: ' ', label: ' ',
name: 'upload', name: 'upload',
type: 'slot', type: 'slot',
labelWidth: '0', labelWidth: '0rpx',
noCellHeight: true, noCellHeight: true,
}] }]
} }
......
...@@ -49,6 +49,8 @@ page{ ...@@ -49,6 +49,8 @@ page{
.input { .input {
font-size: var(--fontSize28); font-size: var(--fontSize28);
height: var(--fontSize29);
line-height: var(--fontSize29);
width: calc(100% - var(--fontSize136)); width: calc(100% - var(--fontSize136));
} }
......
...@@ -138,6 +138,8 @@ ...@@ -138,6 +138,8 @@
.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(--fontSize29);
line-height: var(--fontSize29);
} }
.input-placeholder { .input-placeholder {
......
.conversion-list-wrap{ .conversion-list-wrap{
width: 100%; width: 100%;
height: 100vh; height: 100%;
background: #FAFBFF; background: #FAFBFF;
padding-top: var(--fontSize6); padding-top: var(--fontSize6);
overflow: scroll; overflow: scroll;
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
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(--fontSize238)); height: fit-content;
padding: var(--fontSize30) var(--fontSize36); padding: var(--fontSize30) var(--fontSize36);
} }
.production-list{ .production-list{
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
.business-title{ .business-title{
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-weight: 400; font-weight: 400;
font-size: 12px; font-size: var(--fontSize24);
color: #292D33; color: #292D33;
} }
} }
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
background-size: 100% 100%; background-size: 100% 100%;
} }
.successPay .tips{ .successPay .tips{
font-size: 600 font-size: var(--fontSize20)
} }
.successPay .sum{ .successPay .sum{
padding-top: var(--fontSize10); padding-top: var(--fontSize10);
......
/* subvehicleConversion/pages/relatedFinalPayment/relatedFinalPayment.wxss */ /* subvehicleConversion/pages/relatedFinalPayment/relatedFinalPayment.wxss */
.navigation-title-text, .confirm-butn{
font-size: var(--fontSize28);
}
.big-img{ .big-img{
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
......
...@@ -132,6 +132,8 @@ transform: rotate(-90deg); ...@@ -132,6 +132,8 @@ transform: rotate(-90deg);
.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(--fontSize29);
line-height: var(--fontSize29);
} }
.input-placeholder { .input-placeholder {
......
...@@ -3,7 +3,9 @@ page { ...@@ -3,7 +3,9 @@ page {
height: 100vh; height: 100vh;
background-color: #f3f5f7 background-color: #f3f5f7
} }
.navigation-title-text{
font-size: var(--fontSize28);
}
.big-img { .big-img {
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!