Commit a957019d by zhangquan

横屏适配

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