Commit e061768e authored by jiacheng.mao's avatar jiacheng.mao

针对ios端安全区域的title高度进行优化

parent 1d6590dd
...@@ -62,6 +62,9 @@ export default { ...@@ -62,6 +62,9 @@ export default {
//overflow: auto; //overflow: auto;
//-webkit-overflow-scrolling: touch; //-webkit-overflow-scrolling: touch;
//overflow-scrolling: touch; //overflow-scrolling: touch;
.bar-custom {
height: 1.5rem
}
} }
.weui-dialog { .weui-dialog {
......
...@@ -346,12 +346,13 @@ export default { ...@@ -346,12 +346,13 @@ export default {
.search { .search {
background-color: #fff; background-color: #fff;
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: fixed;
width: 100%; width: 100%;
height: 1.02rem; height: 1.02rem;
z-index: 100; z-index: 100;
margin-top: 52px; margin-top: 52px;
margin-bottom: 8px; margin-bottom: 8px;
top: 2rem;
input { input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat; background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px; background-size: 16px 16px;
...@@ -484,56 +485,4 @@ export default { ...@@ -484,56 +485,4 @@ export default {
position: absolute; position: absolute;
} }
} }
.platform-ios {
#confirmList {
.scrollContent {
padding-top: 3.32rem;
padding-bottom: 1.2rem;
}
}
}
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#confirmList {
.scrollContent {
padding-top: 3.72rem;
padding-bottom: 1.2rem;
}
.check-bottom {
bottom: 32px;
}
}
}
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#confirmList {
.scrollContent {
padding-top: 3.72rem;
padding-bottom: 1.2rem;
}
.search {
input {
background: url("../../assets/contractStart/search1.png") 320px
no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding: 8px 12px;
border-radius: 4px;
width: 100%;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
}
}
.check-bottom {
bottom: 32px;
}
}
}
}
</style> </style>
...@@ -381,9 +381,9 @@ export default { ...@@ -381,9 +381,9 @@ export default {
align-items: center; align-items: center;
background-color: #fff; background-color: #fff;
box-shadow:0 2px 3px 0 rgba(220,220,221,0.50); box-shadow:0 2px 3px 0 rgba(220,220,221,0.50);
position: absolute; position: fixed;
z-index: 999; z-index: 999;
top: 1.5rem;
div{ div{
position: relative; position: relative;
height: 32px; height: 32px;
...@@ -420,11 +420,12 @@ export default { ...@@ -420,11 +420,12 @@ export default {
.search { .search {
background-color: #fff; background-color: #fff;
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: fixed;
width: 100%; width: 100%;
z-index: 100; z-index: 100;
margin-bottom: 8px; margin-bottom: 8px;
margin-top: 52px; margin-top: 52px;
top: 1.5rem;
input { input {
padding-left: 12px; padding-left: 12px;
border-radius: 4px; border-radius: 4px;
......
...@@ -695,6 +695,9 @@ export default { ...@@ -695,6 +695,9 @@ export default {
</script> </script>
<style lang='less' > <style lang='less' >
#contract-records { #contract-records {
.has-header {
top: 1.5rem;
}
.null{ .null{
height:100%; height:100%;
} }
......
...@@ -469,8 +469,9 @@ export default { ...@@ -469,8 +469,9 @@ export default {
align-items: center; align-items: center;
background-color: #fff; background-color: #fff;
box-shadow: 0 2px 3px 0 rgba(220, 220, 221, 0.5); box-shadow: 0 2px 3px 0 rgba(220, 220, 221, 0.5);
position: absolute; position: fixed;
z-index: 999; z-index: 999;
top:1.5rem;
div { div {
position: relative; position: relative;
...@@ -584,11 +585,12 @@ export default { ...@@ -584,11 +585,12 @@ export default {
.search { .search {
background-color: #fff; background-color: #fff;
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: fixed;
width: 100%; width: 100%;
z-index: 100; z-index: 100;
margin-bottom: 8px; margin-bottom: 8px;
margin-top: 52px; margin-top: 52px;
top: 1.5rem;
input { input {
padding-left: 12px; padding-left: 12px;
border-radius: 4px; border-radius: 4px;
...@@ -724,56 +726,4 @@ export default { ...@@ -724,56 +726,4 @@ export default {
padding-bottom: 20px; padding-bottom: 20px;
} }
} }
.platform-ios {
#contract-signing {
.scrollContent {
padding-top: 3.4rem;
padding-bottom: 1.2rem;
}
}
}
// iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#contract-signing {
.scrollContent {
padding-top: 3.8rem;
padding-bottom: 1.2rem;
}
.check-bottom {
bottom: 32px;
}
}
}
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#contract-signing {
.scrollContent {
padding-top: 3.8rem;
padding-bottom: 1.2rem;
}
.search {
input {
background: url("../../assets/contractStart/search1.png") 320px
no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding: 8px 12px;
border-radius: 4px;
width: 100%;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
}
}
.check-bottom {
bottom: 32px;
}
}
}
}
</style> </style>
...@@ -214,13 +214,13 @@ export default { ...@@ -214,13 +214,13 @@ export default {
.search { .search {
background-color: #fff; background-color: #fff;
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: fixed;
width: 100%; width: 100%;
height: 1.02rem; height: 1.02rem;
z-index: 100; z-index: 100;
margin-top: 52px; margin-top: 52px;
margin-bottom: 8px; margin-bottom: 8px;
top: 2rem;
input { input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat; background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px; background-size: 16px 16px;
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
<h-view id="contract-details" class="public-style"> <h-view id="contract-details" class="public-style">
<h-header :proportion="[5, 1, 1]" class="bar-custom"> <h-header :proportion="[5, 1, 1]" class="bar-custom">
<div slot="left" class="h-header-btn"> <div slot="left" class="h-header-btn" @click="$routeGo()">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()"> <img src="@/assets/userBind/arrow.png" >
<span>融租申请审批明细</span> <span>融租申请审批明细</span>
</div> </div>
</h-header> </h-header>
...@@ -412,7 +412,7 @@ export default { ...@@ -412,7 +412,7 @@ export default {
button { button {
height: 40px; height: 40px;
padding: 0 5vw; padding: 10px 1rem;
border-radius: 10px; border-radius: 10px;
} }
......
...@@ -291,10 +291,11 @@ export default { ...@@ -291,10 +291,11 @@ export default {
.search { .search {
background-color: #fff; background-color: #fff;
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: fixed;
width: 100%; width: 100%;
z-index: 100; z-index: 100;
margin-bottom: 8px; margin-bottom: 8px;
top: 1.5rem;
input { input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat; background: url("../../assets/contractStart/search1.png") 320px no-repeat;
...@@ -410,45 +411,4 @@ export default { ...@@ -410,45 +411,4 @@ export default {
padding-bottom: 20px; padding-bottom: 20px;
} }
} }
.platform-ios {
#trial {
.scrollContent {
padding-top: 2.32rem;
}
}
}
// iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#trial {
.scrollContent {
padding-top: 2.72rem;
}
}
}
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#trial {
.scrollContent {
padding-top: 2.72rem;
}
.search {
input {
background: url("../../assets/contractStart/search1.png") 320px
no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding: 8px 12px;
border-radius: 4px;
width: 100%;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
}
}
}
}
}
</style> </style>
...@@ -309,8 +309,12 @@ export default { ...@@ -309,8 +309,12 @@ export default {
.wrap { .wrap {
width: 100%; width: 100%;
position: absolute; position: fixed;
z-index: 100; z-index: 100;
top: 1.6rem;
}
.vue-better-scroll {
top: 2.2rem;
} }
.tab { .tab {
...@@ -696,6 +700,7 @@ export default { ...@@ -696,6 +700,7 @@ export default {
} }
} }
} }
} }
</style> </style>
......
...@@ -31,12 +31,12 @@ ...@@ -31,12 +31,12 @@
</swipe> </swipe>
<div class="functions"> <div class="functions">
<div class="title">资讯动态</div> <div class="title">资讯动态</div>
<ul> <ul @click="gotoNews()">
<li v-for="item in newsList" :key="item.index"><img src="@/assets/homePage/inform.png" alt="">{{ <li v-for="item in newsList" :key="item.index"><img src="@/assets/homePage/inform.png" alt="">{{
item.new_title }} item.new_title }}
</li> </li>
</ul> </ul>
<img src="@/assets/functionCenter/in@2x.png" @click="gotoNews()"> <img src="@/assets/functionCenter/in@2x.png" >
<!-- <function-item <!-- <function-item
v-for="item in moduleSeparateList.slice(0,4)" :key="item.moduleId" :functionIcon="item.moduleIcon" v-for="item in moduleSeparateList.slice(0,4)" :key="item.moduleId" :functionIcon="item.moduleIcon"
:functionName="item.moduleName" :functionName="item.moduleName"
......
...@@ -540,6 +540,9 @@ export default { ...@@ -540,6 +540,9 @@ export default {
transform: scale(1, 1); transform: scale(1, 1);
} }
} }
.connect {
height: 100%;
}
} }
.platform-ios { .platform-ios {
......
...@@ -392,40 +392,11 @@ export default { ...@@ -392,40 +392,11 @@ export default {
top: 0; top: 0;
} }
.scrollContent { .scrollContent {
padding-top: 1rem; padding-top: 1.2rem;
padding-bottom: 20px; padding-bottom: 20px;
} }
} .vue-better-scroll {
.platform-ios { top: 0.2rem;
#message-center {
.scrollContent {
padding-top: 1.4rem;
}
}
}
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#message-center {
.scrollContent {
padding-top: 2rem;
}
.display{
top:1.68rem;
}
}
}
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#message-center {
.scrollContent {
padding-top: 2rem;
}
.display{
top:1.68rem;
}
}
} }
} }
</style> </style>
...@@ -314,9 +314,6 @@ export default { ...@@ -314,9 +314,6 @@ export default {
.scrollContent { .scrollContent {
background-color: rgb(242, 242, 242); background-color: rgb(242, 242, 242);
} }
.h-header-left{
height: 200%;
}
.bp_name { .bp_name {
width: 100%; width: 100%;
......
...@@ -229,10 +229,11 @@ export default { ...@@ -229,10 +229,11 @@ export default {
.search { .search {
background-color: #fff; background-color: #fff;
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: fixed;
width: 100%; width: 100%;
z-index: 100; z-index: 100;
margin-bottom: 8px; margin-bottom: 8px;
top: 1.5rem;
input { input {
padding-left: 12px; padding-left: 12px;
height: 36px; height: 36px;
......
...@@ -218,11 +218,11 @@ export default { ...@@ -218,11 +218,11 @@ export default {
.search { .search {
background-color: #fff; background-color: #fff;
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: fixed;
width: 100%; width: 100%;
z-index: 100; z-index: 100;
margin-bottom: 8px; margin-bottom: 8px;
top: 1.5rem;
input { input {
padding-left: 12px; padding-left: 12px;
height: 36px; height: 36px;
...@@ -324,45 +324,4 @@ export default { ...@@ -324,45 +324,4 @@ export default {
padding-bottom: 20px; padding-bottom: 20px;
} }
} }
.platform-ios {
#prolist {
.scrollContent {
padding-top: 2.32rem;
}
}
}
// iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#prolist {
.scrollContent {
padding-top: 2.72rem;
}
}
}
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#prolist {
.scrollContent {
padding-top: 2.72rem;
}
.search {
input {
background: url("../../assets/contractStart/search1.png") 320px
no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding: 8px 12px;
border-radius: 4px;
width: 100%;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
}
}
}
}
}
</style> </style>
...@@ -243,11 +243,11 @@ export default { ...@@ -243,11 +243,11 @@ export default {
.search { .search {
background-color: #fff; background-color: #fff;
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: fixed;
width: 100%; width: 100%;
z-index: 100; z-index: 100;
margin-bottom: 8px; margin-bottom: 8px;
top: 1.5rem;
input { input {
padding-left: 12px; padding-left: 12px;
height: 36px; height: 36px;
......
...@@ -227,7 +227,7 @@ export default { ...@@ -227,7 +227,7 @@ export default {
.search { .search {
background-color: #fff; background-color: #fff;
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: fixed;
width: 100%; width: 100%;
z-index: 100; z-index: 100;
margin-bottom: 8px; margin-bottom: 8px;
...@@ -260,6 +260,9 @@ export default { ...@@ -260,6 +260,9 @@ export default {
border: 2px solid #bcc6ff; border: 2px solid #bcc6ff;
} }
} }
.has-header {
top: 1.5rem;
}
.scroll-box { .scroll-box {
padding: 8px; padding: 8px;
...@@ -305,57 +308,15 @@ export default { ...@@ -305,57 +308,15 @@ export default {
} }
.content { .content {
position: absolute; position: fixed;
top: 0; top: 0;
}
.scrollContent { .scrollContent {
//padding-top: 1.92rem; //padding-top: 0rem;
padding-bottom: 20px; padding-bottom: 20px;
} }
} }
.vue-better-scroll {
.platform-ios { //top: 2.7rem;
#query {
.scrollContent {
padding-top: 2.32rem;
}
}
}
// iPhoneX适配
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#query {
.scrollContent {
padding-top: 2.72rem;
}
}
}
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#query {
.scrollContent {
padding-top: 2.72rem;
}
.search {
input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px;
background-color: rgba(239, 239, 239, 0.55);
padding: 8px 12px;
border-radius: 4px;
width: 100%;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #888c8f;
}
}
}
} }
} }
</style> </style>
...@@ -216,6 +216,7 @@ export default { ...@@ -216,6 +216,7 @@ export default {
.header { .header {
background-color: @headerColor; background-color: @headerColor;
color: #fff; color: #fff;
height: 1.5rem;
.h-header-btn { .h-header-btn {
img { img {
width: 16px; width: 16px;
......
...@@ -210,12 +210,13 @@ export default { ...@@ -210,12 +210,13 @@ export default {
.search { .search {
background-color: #fff; background-color: #fff;
padding: 8px 12px; padding: 8px 12px;
position: absolute; position: fixed;
width: 100%; width: 100%;
height: 1.02rem; height: 1.02rem;
z-index: 100; z-index: 100;
// margin-top: 52px; // margin-top: 52px;
margin-bottom: 8px; margin-bottom: 8px;
top: 1.5rem;
input { input {
background: url("../../assets/contractStart/search1.png") 320px no-repeat; background: url("../../assets/contractStart/search1.png") 320px no-repeat;
background-size: 16px 16px; background-size: 16px 16px;
......
...@@ -140,6 +140,9 @@ export default { ...@@ -140,6 +140,9 @@ export default {
} }
} }
} }
.weui-tabbar {
padding-bottom: 20px;
}
} }
// iPhoneX适配 // iPhoneX适配
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment