Commit 67210623 by zhangxw

样式修改

1 parent af090e19
......@@ -286,6 +286,7 @@
background: #347BFF;
border-radius: var(--fontSize12);
margin-bottom: var(--fontSize28);
font-size: var(--fontSize28);
}
.wx_title {
......
......@@ -65,10 +65,10 @@ Component({
// 判断是否是华为平板设备
// && pixelRatio >= 2
let isPad = screenWidth >= 600
// if (isLandscape) statusBarHeight = 0
if (isLandscape) statusBarHeight = 0
console.log(isPad, screenWidth, 'screenWidth');
// let navigationBarHeight = height + (top - statusBarHeight) * 2 + 5
let navigationBarHeight = `var(--fontSize${(height + (top - isLandscape ? 0 : statusBarHeight) * 2 + 5) * (isPad ? 1 : 2)})`
let navigationBarHeight = `var(--fontSize${(height + (top - statusBarHeight) * 2 + 5) * (isPad ? 1 : 2)})`
let navigationBarPadding = screenWidth - right
let navigationBarWidth = screenWidth - (navigationBarPadding * 2 + width) - width
......
......@@ -12,8 +12,10 @@
}
.input-suffix {
height: var(--fontSize88);
line-height: var(--fontSize88);
/* height: var(--fontSize88);
line-height: var(--fontSize88); */
height: var(--fontSize132);
line-height: var(--fontSize132);
margin-left: var(--fontSize4);
}
......
......@@ -296,6 +296,7 @@
background: #347BFF;
border-radius: var(--fontSize12);
margin-bottom: var(--fontSize28);
font-size: var(--fontSize28);
}
.wx_title {
......
......@@ -2,7 +2,7 @@
title="添加其他商业险"
show="{{show}}"
bindconfirm="confirm"
height="var(--fontSize800)">
height="85%">
<view class="popBox">
<view class="title">商业险名称</view>
<van-field
......
......@@ -12,7 +12,8 @@
.inputBox {
display: flex;
box-sizing: border-box;
width: var(--fontSize630);
/* width: var(--fontSize630); */
width: 100%;
height: var(--fontSize88);
align-items: center;
border: var(--fontSize2) solid #EFF0F2;
......@@ -26,6 +27,10 @@
font-size: var(--fontSize24);
}
.inputBox van-cell{
width: 100%;
}
.inputBox .van-field__body {
padding-left: var(--fontSize8);
/* width: var(--fontSize570); */
......
......@@ -40,7 +40,7 @@ Component({
orderInfo: {},
companytype: {
name: '保险公司',
height: 'var(--fontSize900)',
height: '85%',
optionsList: [
{
value: '中国人保'
......@@ -70,7 +70,7 @@ Component({
},
threetype: {
name: '第三方责任险',
height: 'var(--fontSize800)',
height: '85%',
optionsList: [
{
value: '100万'
......@@ -96,7 +96,7 @@ Component({
},
drivertype: {
name: '车上人员责任险(司机)',
height: 'var(--fontSize650)',
height: '85%',
optionsList: [
{
value: '1万'
......@@ -116,7 +116,7 @@ Component({
},
passengertype: {
name: '车上人员责任险(乘客)',
height: 'var(--fontSize650)',
height: '85%',
optionsList: [
{
value: '1万'
......@@ -136,7 +136,7 @@ Component({
},
gearboxtype: {
name: '变速箱类型',
height: 'var(--fontSize810)',
height: '85%',
optionsList: [
{
value: 'MT变速箱'
......
......@@ -3,7 +3,7 @@
show="{{show}}"
bindconfirm="confirm"
height="{{optionsObj.height}}">
<view class="box">
<scroll-view scroll-y class="box">
<block
wx:for="{{optionsList}}"
wx:for-item="item"
......@@ -31,6 +31,6 @@
</view>
</view>
</block>
</view>
</scroll-view>
</popup>
......@@ -19,6 +19,10 @@
align-items: center;
}
.box{
height: calc(100%);
}
.list {
box-sizing: border-box;
height: var(--fontSize88);
......
......@@ -234,7 +234,7 @@
.goodsInfo {
// flex: 1;
width: 80%;
width: 100%;
}
}
.errorMessage {
......
<!--pages/tabDateIndex/components/DateScreen/DateScreen.wxml-->
<scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{height}}px);margin-top:{{navBarHeight}}px;"
<scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{navBarHeight}}px);margin-top:{{navBarHeight}}px;"
hidden="{{!show}}">
<view class="main" style="min-height:calc(100% - {{btnHeight}}px)">
<!-- 非超管转化人员 -->
......
<!--pages/tabWorkOrder/components/OrderScreen/OrderScreen.wxml-->
<scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{height}}px);margin-top:{{navBarHeight}}px;"
<scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{navBarHeight}}px);margin-top:{{navBarHeight}}px;"
hidden="{{!show}}">
<view class="main" style="padding-bottom:{{btnHeight}}px">
<!-- 非超管转化人员 -->
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!