Commit f2a394e9 authored by linxin's avatar linxin

Merge branch 'liuxin' into develop

parents dcfcc465 80bebf08
Pipeline #3982 canceled with stages
...@@ -130,6 +130,7 @@ export default { ...@@ -130,6 +130,7 @@ export default {
}, },
getTabNum (i) { getTabNum (i) {
this.tabNum = i this.tabNum = i
this.$refs.scroll.update(false)
this.$refs.scroll.scrollToTop() this.$refs.scroll.scrollToTop()
}, },
changePage (e) { changePage (e) {
......
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
} }
</script> </script>
<style lang="less" rel="stylesheet"> <style lang="less">
#reimburse { #reimburse {
.h-header-btn { .h-header-btn {
img { img {
...@@ -162,5 +162,44 @@ export default { ...@@ -162,5 +162,44 @@ export default {
color: rgba(56, 63, 69, 0.6); color: rgba(56, 63, 69, 0.6);
} }
} }
.content {
position: absolute;
top: 0;
}
.scrollContent {
padding-top: 2.92rem;
padding-bottom: 20px;
}
.tab-style {
width: 100%;
position: absolute;
}
}
.platform-ios {
#startList {
.scrollContent {
padding-top: 3.32rem;
}
}
}
@media (device-width: 375px) and (device-height: 812px) and (-webkit-min-device-pixel-ratio: 3) {
.platform-ios {
#startList {
.scrollContent {
padding-top: 3.72rem;
}
}
}
}
// iPhoneXR适配
@media (device-width: 414px) and (device-height: 896px) {
.platform-ios {
#startList {
.scrollContent {
padding-top: 3.72rem;
}
}
}
} }
</style> </style>
...@@ -71,9 +71,9 @@ export default { ...@@ -71,9 +71,9 @@ export default {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
vm.reimburseList = res.lists vm.reimburseList = res.lists
if (res.lists.length > 0 && res.lists.length < 10) { // if (res.lists.length > 0 && res.lists.length < 10) {
vm.$refs.scroll.update(true) vm.$refs.scroll.update(true)
} // }
} }
}) })
}, },
...@@ -132,12 +132,12 @@ export default { ...@@ -132,12 +132,12 @@ export default {
border: 2px solid #bcc6ff; border: 2px solid #bcc6ff;
} }
} }
.content{ // .content{
margin-top: 10px; // margin-top: 10px;
} // }
.scrollContent{ // .scrollContent{
padding-bottom: 70px; // padding-bottom: 70px;
} // }
.reimburse-wrap{ .reimburse-wrap{
margin: 10px; margin: 10px;
} }
...@@ -163,5 +163,17 @@ export default { ...@@ -163,5 +163,17 @@ export default {
color: rgba(56,63,69,0.60); color: rgba(56,63,69,0.60);
} }
} }
.content {
position: absolute;
top: 0;
}
.scrollContent {
padding-top: 1.92rem;
padding-bottom: 20px;
}
.tab-style {
width: 100%;
position: absolute;
}
} }
</style> </style>
...@@ -103,6 +103,7 @@ export default { ...@@ -103,6 +103,7 @@ export default {
}, },
getTabNum (i) { getTabNum (i) {
this.tabNum = i this.tabNum = i
this.$refs.scroll.update(false)
this.$refs.scroll.scrollToTop() this.$refs.scroll.scrollToTop()
}, },
toSign () { toSign () {
......
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