You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
205 lines
8.0 KiB
205 lines
8.0 KiB
<view class="page" id="{{theme === 'DRUG' && 'drug-page'}}"> |
|
<view class="page-header"> |
|
<pageNavbar drug="{{theme === 'DRUG'}}"></pageNavbar> |
|
<view class="user"> |
|
<view class="content"> |
|
<view class="name"> |
|
<text class="high">{{userInfo.PatientName || 'HI'}},</text> |
|
{{greeting}} |
|
<image class="icon" src="{{imageUrl}}{{greetingIcon}}.png?t={{Timestamp}}"></image> |
|
</view> |
|
<image class="slogan" src="{{imageUrl}}title2.png?t={{Timestamp}}"></image> |
|
</view> |
|
<view |
|
wx:if="{{userInfo.UserType>=3}}" |
|
class="day" |
|
bind:tap="routerTo" |
|
data-url="/pages/signIn/index" |
|
style="background: url('{{imageUrl}}{{theme === 'DRUG' ? 'bg22' : 'bg15'}}.png?t={{Timestamp}}') no-repeat top center/100%" |
|
> |
|
<view class="d-content"> |
|
<view class="num">{{nextVisitDays}}</view> |
|
天 |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="page-container"> |
|
<block wx:if="{{userInfo.ExclusiveDoctorId}}"> |
|
<view class="module-title"> |
|
<view class="title">我的医生</view> |
|
</view> |
|
<view class="doctor" bind:tap="routerTo" data-url="/pages/interactivePatient/index"> |
|
<view |
|
class="container" |
|
style="background: url('{{imageUrl}}{{theme === 'DRUG' ? 'bg23' : 'bg14'}}.png?t={{Timestamp}}') no-repeat top center/100% 172rpx" |
|
> |
|
<view class="avatar"> |
|
<image class="a-img" mode="aspectFill" src="{{userInfo.ExclusiveDoctorImg}}" alt=""></image> |
|
<image wx:if="{{unreadCount}}" class="icon" src="{{imageUrl}}icon33.png?t={{Timestamp}}"></image> |
|
</view> |
|
<view class="wrap"> |
|
<view class="name-wrap"> |
|
<view class="name"> |
|
<view class="n-content">{{userInfo.ExclusiveDoctorName}}</view> |
|
<image class="label" src="{{imageUrl}}icon61.png?t={{Timestamp}}"></image> |
|
</view> |
|
</view> |
|
<view class="content" wx:if="{{unreadCount}}">医生给您留言了,记得查看!</view> |
|
<view class="hostipal" wx:else> |
|
<view class="h-content">{{userInfo.ExclusiveDoctorHospitalName}}</view> |
|
<view |
|
class="tag" |
|
wx:if="{{userInfo.ExclusiveDoctorHospitalClassificationName || userInfo.ExclusiveDoctorHospitalLevelName}}" |
|
> |
|
{{userInfo.ExclusiveDoctorHospitalClassificationName}}{{userInfo.ExclusiveDoctorHospitalLevelName}} |
|
</view> |
|
</view> |
|
</view> |
|
<view class="btn"> |
|
<image |
|
class="icon" |
|
src="{{imageUrl}}{{theme === 'DRUG' ? 'icon66' : 'icon34'}}.png?t={{Timestamp}}" |
|
></image> |
|
</view> |
|
</view> |
|
</view> |
|
</block> |
|
<view class="banner" wx:if="{{bannerList.length}}" bind:tap="handleMp" data-code="spread1"> |
|
<swiper |
|
class="swiper" |
|
indicator-active-color="rgba(39, 58, 101, 0.5)" |
|
indicator-color="rgba(39, 58, 101, 0.2)" |
|
indicator-dots="{{bannerList.length > 1}}" |
|
autoplay |
|
interval="{{3000}}" |
|
circular |
|
> |
|
<swiper-item class="swiper-item" wx:for="{{bannerList}}" wx:key="index"> |
|
<image |
|
class="swiper-item-img" |
|
mode="aspectFill" |
|
src="{{item.img}}" |
|
bind:tap="routerTo" |
|
data-url="{{item.linkUrl}}" |
|
></image> |
|
</swiper-item> |
|
</swiper> |
|
</view> |
|
<block wx:if="{{liveList.length}}"> |
|
<view class="module-title"> |
|
<view class="title">大咖说</view> |
|
<view class="more" bind:tap="routerTo" data-url="/pages/live/index" data-active="1" data-code="activity2"> |
|
查看更多 |
|
<van-icon name="arrow" /> |
|
</view> |
|
</view> |
|
<view class="live"> |
|
<view |
|
class="item" |
|
wx:for="{{liveList}}" |
|
wx:key="index" |
|
bind:tap="routerTo" |
|
data-url="/pages/liveDetail/index?id={{item.Id}}" |
|
data-code="activity2" |
|
> |
|
<view class="photo-wrap"> |
|
<image class="photo" src="{{item.PosterUrl}}"></image> |
|
<view class="status {{item.IsSignUp != 1 && 'unsigned'}}">{{item.IsSignUp==1 ? '已报名' : '未报名'}}</view> |
|
</view> |
|
<view class="content"> |
|
<view class="name">{{item.Name}}</view> |
|
<view class="labels" wx:if="{{item.doctorName}}"> |
|
{{item.doctorName}}{{item.hospitalName ? ' | ' + item.hospitalName : ''}} |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
</block> |
|
<block wx:if="{{infoList.length}}"> |
|
<view class="module-title"> |
|
<view class="title">了解 IgG4-RD</view> |
|
<view class="more" bind:tap="routerTo" data-url="/pages/repository/index" data-code="article"> |
|
查看更多 |
|
<van-icon name="arrow" /> |
|
</view> |
|
</view> |
|
<view class="book"> |
|
<swiper |
|
class="swiper" |
|
indicator-active-color="rgba(39, 58, 101, 0.5)" |
|
indicator-color="rgba(39, 58, 101, 0.2)" |
|
indicator-dots="{{infoList.length > 1}}" |
|
> |
|
<swiper-item class="swiper-item" wx:for="{{infoList}}" wx:for-item="info" wx:key="index"> |
|
<view class="book-list"> |
|
<view |
|
class="card" |
|
wx:for="{{info}}" |
|
wx:key="index" |
|
bind:tap="handleArticleView" |
|
data-id="{{item.ArticleId}}" |
|
> |
|
<view class="cover"> |
|
<image class="photo" mode="aspectFill" src="{{item.TitlePicLink}}"></image> |
|
<view class="label" wx:if="{{item.CateName}}">{{item.CateName}}</view> |
|
</view> |
|
<view class="content"> |
|
<view class="title">{{item.Title}}</view> |
|
<view class="actions"> |
|
<view class="action-btn"> |
|
<image class="action-icon" mode="aspectFit" src="{{imageUrl}}1/view.png?t={{Timestamp}}"></image> |
|
<block wx:if="{{~~item.OpenNum + ~~item.BasicNum}}">{{~~item.OpenNum + ~~item.BasicNum}}</block> |
|
</view> |
|
<view |
|
class="action-btn {{item.IsCollect == 1 && 'active'}}" |
|
catch:tap="handleArticleSave" |
|
data-id="{{item.ArticleId}}" |
|
data-saved="{{item.IsCollect}}" |
|
> |
|
<image |
|
class="action-icon" |
|
mode="aspectFit" |
|
src="{{imageUrl}}{{item.IsCollect ? '1/save-active-plan.png' : '1/save.png'}}?t={{Timestamp}}" |
|
></image> |
|
<block wx:if="{{~~item.CollectionPeopleNum}}">{{item.CollectionPeopleNum}}</block> |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
</swiper-item> |
|
</swiper> |
|
</view> |
|
</block> |
|
<view class="kkd"> |
|
<image |
|
class="k-item" |
|
src="{{imageUrl}}{{theme === 'DRUG' ? 'kkd3' : 'kkd1'}}.png?t={{Timestamp}}" |
|
bind:tap="routerTo" |
|
data-url="/pages/doctor/index" |
|
></image> |
|
</view> |
|
|
|
</view> |
|
|
|
<view class="reg" wx:if="{{regGuide && anyWhere && userInfo.UserType==1}}" bind:tap="handleReg"> |
|
<text class="blod">注册</text> |
|
后享受全面患者服务 |
|
<van-icon name="arrow" /> |
|
<image catch:tap="handleRegClose" class="reg-close" src="{{imageUrl}}5/reg-close.png?t={{Timestamp}}"></image> |
|
</view> |
|
<view class="reg-audit" wx:elif="{{regGuide && anyWhere && userInfo.UserType==2}}" bind:tap="handleReg"> |
|
完善患者信息后获取全部服务 |
|
<van-icon name="arrow" /> |
|
<image catch:tap="handleRegClose" class="reg-close" src="{{imageUrl}}5/reg-close.png?t={{Timestamp}}"></image> |
|
</view> |
|
</view> |
|
|
|
<toast |
|
bind:cancel="handleToastCancel" |
|
bind:ok="handleToastOk" |
|
show="{{toastShow}}" |
|
type="{{toastType}}" |
|
params="{{toastParams}}" |
|
></toast>
|
|
|