This commit is contained in:
2025-08-07 16:38:25 +08:00
parent b761ae562f
commit c0aab3d94c
25 changed files with 4204 additions and 1480 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,9 +22,9 @@
>
名医天地
</view>
</view>
</view> -->
<template v-if="activeTab == 0">
<view class="cateList flexbox" style="background-color: #fff">
<view class="cateList flexbox" >
<common-sticky
itemStyle="width:33.3%; height: 38px;font-size:24rpx;"
:list="tabsList"
@@ -58,14 +58,15 @@
</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?320:280}rpx);
margin-top: ${activeTab==0?260:180}rpx;
height: calc(100vh - ${activeTab==0?280:280}rpx);
margin-top: ${activeTab==0?180:180}rpx;
padding-bottom: 140rpx;`
"
v-if="show == true"
@@ -93,14 +94,23 @@
></image>
<view class="item_right" v-if="currentCateIndex != 2">
<view class="item_top">
<!-- <view class="item_top">
<text
class="item_name"
v-if="item.taihuTalent && item.taihuTalent.length > 0"
>{{ item.taihuTalent[0].name }}</text
>
</view>
</view> -->
<text class="item_con">{{ item.title }}</text>
<view class="item_info hidden2" style="margin-top: 20rpx;">
<rich-text style="color: #666;"
:nodes="item.content"
v-if="item.content"
></rich-text
>
</view>
</view>
<view class="item_right" v-else>
@@ -424,7 +434,7 @@ else{
background-color: #fff;
}
.doctors_list {
margin: 0 30rpx 20rpx;
margin: 0 20rpx 20rpx;
}
.doctors_item {
border: 1rpx solid $themeColor;
@@ -602,4 +612,9 @@ else{
box-shadow: 0 0 8rpx rgba(0, 0, 0, 0.04),
/* 外部柔光阴影 */ inset -4rpx 0 6rpx rgba(0, 0, 0, 0.03); /* 内阴影模拟夹层效果 */
}
.hidden2{
line-height: 24px;
max-height: 48px;
height: auto;
}
</style>