Browse Source

修改滚动条

master
liaoxinyu 2 years ago
parent
commit
d70afde135
  1. 4
      pages/category/consulting/detail.vue
  2. 5
      pages/category/consulting/list.vue
  3. 25
      pages/category/index.vue

4
pages/category/consulting/detail.vue

@ -159,7 +159,7 @@ export default {
//
setListHeight() {
const { windowHeight } = uni.getSystemInfoSync()
this.scrollHeight = windowHeight - rpx2px(96)
this.scrollHeight = windowHeight - rpx2px(10)
},
//
onRefreshPage() {
@ -206,7 +206,7 @@ page {
.secondary{
z-index: 19;
height: 100vh;
// height: 100vh;
}
//

5
pages/category/consulting/list.vue

@ -264,7 +264,7 @@
<style lang="scss" scoped>
.secondary{
z-index: 19;
height: 100vh;
// height: 100vh;
}
//
@ -273,7 +273,8 @@
z-index: 1;
background: #fff;
// padding-top: 6rpx;
margin-top: 120rpx;
// padding-top: 120rpx;
padding-top: 96rpx;
height: 90%;
}

25
pages/category/index.vue

@ -181,7 +181,8 @@
informationList: Informationlist.data, // selected
serviceProvidersList: [], //
// serviceProvidersList: temp.data, //
transactionList: transaction.data, //
// transactionList: [], //
transactionList: transaction.data, //
userList: [], //
//
upOption: {
@ -371,13 +372,13 @@
//
getConsultingContextSelection() {
const app = this
// CategoryApi.consultingContextSelection().then(res=>{
// if (res.resultCode == '00000000') {
// app.informationList = res.data
// } else {
// app.$error('')
// }
// });
CategoryApi.consultingContextSelection().then(res=>{
if (res.resultCode == '00000000') {
app.informationList = res.data
} else {
app.$error('获取资讯信息失败')
}
});
},
//
getServiceProviders() {
@ -430,7 +431,8 @@
.secondary{
z-index: 19;
border-top: 1rpx solid #444;
height: 100vh;
// height: 100vh;
height: 100%;
}
//
@ -438,8 +440,9 @@
display: flex;
z-index: 1;
background: #fff;
padding-top: 120rpx;
height: 100%;
// padding-top: 120rpx;
padding-top: 94rpx;
height: 100%;
}
// + 20

Loading…
Cancel
Save