This commit is contained in:
2025-08-11 16:18:40 +08:00
parent 37657fa7d2
commit 54e657f53d
12 changed files with 1966 additions and 859 deletions

View File

@@ -7,7 +7,7 @@
:backState="2000"
></z-nav-bar>
<view class="doctors_module" :style="`top: ${42 + statusBarHeight}px;`">
<!-- <view class="tab-bar">
<view class="tab-bar">
<view
class="tab-item left-tab"
:class="{ active: activeTab === 0 }"
@@ -22,7 +22,7 @@
>
名医天地
</view>
</view> -->
</view>
<template v-if="activeTab == 0">
<view class="cateList flexbox" >
<common-sticky
@@ -58,15 +58,14 @@
</view>
</template>
</view>
<!-- height: calc(100vh - ${activeTab==0?320:280}rpx);
margin-top: ${activeTab==0?280:180}rpx; -->
<scroll-view
scroll-y="true"
:scroll-top="scrollTop"
@scrolltolower="loadMore"
:style="`
height: calc(100vh - ${activeTab==0?280:280}rpx);
margin-top: ${activeTab==0?180:180}rpx;
height: calc(100vh - ${activeTab==0?320:280}rpx);
margin-top: ${activeTab==0?260:180}rpx;
padding-bottom: 140rpx;`
"
v-if="show == true"
@@ -230,7 +229,10 @@ export default {
changeActiveTab(e){
this.activeTab=e
if(e==0){
this.taihumedId = this.tabsList[0].id;
if(!this.taihumedId){
this.taihumedId = this.tabsList[0].id;
}
this.getListData(this.taihumedId);
}
else{