Commit 67210623 by zhangxw

样式修改

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