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. 23
      pages/category/index.vue

4
pages/category/consulting/detail.vue

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

5
pages/category/consulting/list.vue

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

23
pages/category/index.vue

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

Loading…
Cancel
Save