|
|
|
@ -12,8 +12,8 @@ |
|
|
|
</view> |
|
|
|
</scroll-view> |
|
|
|
<!-- 右侧 二级分类 --> |
|
|
|
<mescroll-body ref="mescrollRef" :sticky="true" @init="mescrollInit" :down="{ native: true }" @down="downCallback" :up="upOption" @up="upCallback"> |
|
|
|
<scroll-view class="cate-right" :scroll-top="scrollTop" :scroll-y="true" :style="{ height: `${scrollHeight}px` }"> |
|
|
|
<scroll-view class="cate-right" :scroll-top="scrollTop" :scroll-y="true" :style="{ height: `${scrollHeight}px` }"> |
|
|
|
<mescroll-body ref="mescrollRef" :sticky="true" @init="mescrollInit" :down="{ native: true }" @down="downCallback" :up="upOption" @up="upCallback"> |
|
|
|
<view v-if="list.length>0" class="cate-right-cont"> |
|
|
|
<view class="cate-two-box"> |
|
|
|
<view class="cate-cont-box"> |
|
|
|
@ -46,8 +46,8 @@ |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</scroll-view> |
|
|
|
</mescroll-body> |
|
|
|
</mescroll-body> |
|
|
|
</scroll-view> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
@ -122,8 +122,8 @@ |
|
|
|
this.consultingId = options.consultingId |
|
|
|
this.curIndex = options.curIndex ? options.curIndex : 0 |
|
|
|
// 加载页面数据 |
|
|
|
this.onRefreshPage() |
|
|
|
this.getConsultingContextSelection() |
|
|
|
this.onRefreshPage() |
|
|
|
}, |
|
|
|
|
|
|
|
/** |
|
|
|
@ -211,6 +211,11 @@ |
|
|
|
CategoryApi.consultingContextSelection().then(res=>{ |
|
|
|
if (res.resultCode == '00000000') { |
|
|
|
app.informationList = res.data |
|
|
|
app.informationList.forEach((items,key) => { |
|
|
|
if (items.consultingId === app.consultingId) { |
|
|
|
app.curIndex = key |
|
|
|
} |
|
|
|
}) |
|
|
|
} else { |
|
|
|
app.$error('获取资讯信息失败') |
|
|
|
} |
|
|
|
@ -244,7 +249,7 @@ |
|
|
|
|
|
|
|
// 一级分类+二级分类 20 |
|
|
|
.cate-left { |
|
|
|
// height: 100%; |
|
|
|
height: 100%; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
flex: 0 0 26%; |
|
|
|
@ -261,7 +266,7 @@ |
|
|
|
.cate-cont { |
|
|
|
width: 96%; |
|
|
|
height: 300rpx; |
|
|
|
padding: 16rpx; |
|
|
|
padding: 16rpx 16rpx 0rpx 16rpx; |
|
|
|
margin-top: 20rpx; |
|
|
|
margin-right: 60rpx; |
|
|
|
color: #8e908e; |
|
|
|
@ -279,17 +284,17 @@ |
|
|
|
} |
|
|
|
.cate-date { |
|
|
|
position: absolute; |
|
|
|
top: 200rpx; |
|
|
|
top: 190rpx; |
|
|
|
} |
|
|
|
.cate-bt { |
|
|
|
position: absolute; |
|
|
|
top: 240rpx; |
|
|
|
left: 385rpx; |
|
|
|
width: 110rpx; |
|
|
|
height: 50rpx; |
|
|
|
height: 53rpx; |
|
|
|
border-radius: 5rpx; |
|
|
|
border: 1rpx #8e908e solid; |
|
|
|
background-color: #fff; |
|
|
|
background-color: #f7f7f7; |
|
|
|
|
|
|
|
button { |
|
|
|
padding-right: 0rpx; |
|
|
|
|