信达小程序
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.
 
 
 

231 lines
8.6 KiB

<navbar custom-style="background:{{background}}" fixed>
<image class="page-title" slot="left" src="{{imageUrl}}title7.png?t={{Timestamp}}"></image>
</navbar>
<view
class="page"
style="background: url('{{imageUrl}}bg10.png?t={{Timestamp}}') no-repeat top center/100% 610rpx;padding-top:{{pageTop}}px;"
>
<view class="page-container">
<view
class="doctor"
wx:if="{{zdUserInfo.ExclusiveDoctorId}}"
bind:tap="routerTo"
data-code="doctor"
style="background:#fff url({{imageUrl}}bg11.png?t={{Timestamp}}) no-repeat top center/100% 256rpx"
data-url="/patient/pages/interactivePatient/index"
>
<view class="container">
<view class="avatar">
<image class="a-img" mode="aspectFill" src="{{zdUserInfo.ExclusiveDoctorImg}}" alt=""></image>
</view>
<view class="wrap">
<view class="name-wrap">
<view class="name">
<view class="n-content">{{zdUserInfo.ExclusiveDoctorName}}</view>
<image wx:if="{{unreadCount}}" class="icon" src="{{imageUrl}}/icon31.png?t={{Timestamp}}"></image>
</view>
</view>
<view class="content" wx:if="{{unreadCount}}">医生给您留言了,记得查看!</view>
<view class="hostipal" wx:else>
<view class="h-content">{{zdUserInfo.ExclusiveDoctorHospitalName}}</view>
<view
class="tag"
wx:if="{{zdUserInfo.ExclusiveDoctorHospitalClassificationName || zdUserInfo.ExclusiveDoctorHospitalLevelName}}"
>
{{zdUserInfo.ExclusiveDoctorHospitalClassificationName}}{{zdUserInfo.ExclusiveDoctorHospitalLevelName}}
</view>
</view>
</view>
</view>
<view class="btn">{{unreadCount ? '去看看':'去咨询'}}</view>
</view>
<block wx:for="{{configList}}" wx:key="index" wx:for-item="card" wx:for-index="cIndex">
<view
class="banner"
wx:if="{{(card.code == 'spread1' || card.code == 'spread2') && card.showStatus == 1 && card.subList.length}}"
bind:tap="handleMp"
data-code="{{card.code}}"
>
<swiper
class="swiper"
indicator-active-color="rgba(39, 58, 101, 0.5)"
indicator-color="rgba(39, 58, 101, 0.2)"
indicator-dots="{{card.subList.length > 1}}"
autoplay
interval="{{3000}}"
circular
>
<swiper-item class="swiper-item" wx:for="{{card.subList}}" wx:key="index">
<image
wx:if="{{ (item.linkUrl=== 'MINIDOCTOR' || item.linkUrl=== 'MINIDOCTOR-1.0') && zdUserInfo.UserType >= 3}}"
class="swiper-item-img"
mode="aspectFill"
src="{{item.img}}"
bind:tap="handleMiniDoctor"
data-link="{{item.linkUrl}}"
></image>
<image
wx:else
class="swiper-item-img"
mode="aspectFill"
src="{{item.img}}"
bind:tap="routerTo"
data-url="{{item.linkUrl}}"
></image>
</swiper-item>
</swiper>
</view>
<view
class="qol"
wx:if="{{card.code == 'adl' && card.showStatus == 1}}"
style="background: url('/images/bg14.png') no-repeat top center/100%"
bind:tap="routerTo"
data-url="/patient/pages/qol/index"
>
<view class="date" wx:if="{{qolDetail.CreateTime}}">最近一次评测 {{qolDetail.CreateDate}}</view>
</view>
<view class="live-up-new" wx:if="{{card.code == 'activity2' && card.showStatus == 1 }}">
<view class="header" wx:if="{{card.name}}">
<view class="title">{{card.name}}</view>
<!-- <view bind:tap="routerTo" class="more" data-url="/patient/pages/repository/index" data-code="{{card.code}}"> -->
<!-- 查看全部 -->
<!-- <van-icon name="arrow" /> -->
<!-- </view> -->
</view>
<view
class="l-banner"
bind:tap="routerTo"
data-url="/patient/pages/live/index?index=0"
data-code="{{card.code}}"
>
<image class="live-img" mode="aspectFill" src="{{imageUrl}}za-images/live-banner.png?t={{Timestamp}}"></image>
</view>
<view class="list">
<view
class="item"
wx:for="{{liveList}}"
wx:key="index"
bind:tap="routerTo"
data-url="/patient/pages/liveDetail/index?id={{item.Id}}"
data-code="{{card.code}}"
>
<view class="photo-wrap">
<image class="photo" src="{{item.PosterUrl}}"></image>
</view>
<view class="content">
<view class="name">{{item.Name}}</view>
<view class="labels" wx:if="{{item.doctorName}}">
{{item.doctorName}}
<text class="line" wx:if="{{item.hospitalName}}"></text>
{{item.hospitalName}}
</view>
<view class="c-footer">
<view class="date">{{item.BeginTime}}</view>
<view class="btn">
<image class="icon" src="{{imageUrl}}icon30.png?t={{Timestamp}}"></image>
{{item.Status==2?'点此参加':'查看'}}
</view>
</view>
</view>
</view>
</view>
</view>
<view class="book" wx:if="{{card.code == 'article' && card.showStatus == 1 && infoList.length}}">
<view class="header" wx:if="{{card.name}}">
<view class="title">{{card.name}}</view>
</view>
<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="routerTo"
data-url="/patient/pages/repositoryDetail/index?id={{item.ArticleId}}"
data-code="{{card.code}}"
>
<view class="cover">
<image class="photo" mode="aspectFill" src="{{item.TitlePicLink}}"></image>
<!-- <view class="label">{{item.CateName}}</view> -->
</view>
<view class="content">
<view class="title">{{item.Title}}</view>
</view>
</view>
<view
class="more"
bind:tap="routerTo"
class="more"
data-url="/patient/pages/repository/index"
data-code="{{card.code}}"
>
查看全部
</view>
</view>
</swiper-item>
</swiper>
</view>
</block>
</view>
<view class="reg" wx:if="{{regGuide && isLogin === 0}}" bind:tap="handleReg">
注册后享受全面TED患者服务
<van-icon name="arrow" />
<image
catch:tap="handleRegClose"
class="reg-close"
src="{{imageUrl}}za-images/5/reg-close.png?t={{Timestamp}}"
></image>
</view>
<!-- <view wx:elif="{{!anyWhere && publicCard}}" class="public" bind:tap="handlePublic"> -->
<!-- <image class="logo" src="{{imageUrl}}za-images/5/logo1.png?t={{Timestamp}}"></image> -->
<!-- <view class="wrap"> -->
<!-- <view class="title">关注公众号</view> -->
<!-- <view class="content">重要提醒不丢失~</view> -->
<!-- </view> -->
<!-- <view class="btn">去关注</view> -->
<!-- <image catch:tap="handlePublicClose" class="close" src="{{imageUrl}}za-images/5/close1.png?t={{Timestamp}}"></image> -->
<!-- </view> -->
</view>
<movable-area class="slidearea">
<movable-view
direction="vertical"
x="{{-800}}"
y="{{sliderTop}}"
class="mview"
bind:tap="handleMiniDoctor"
wx:if="{{systemConfig.NrdlActivitySwitch==='1'}}"
>
<image
wx:if="{{zdUserInfo.UserType==3}}"
class="slidebar"
mode="wdithFix"
src="{{imageUrl}}za-images/nrdl/home1.gif?t={{Timestamp}}"
></image>
<image
wx:if="{{theme === 'DRUG'}}"
class="slidebar"
mode="wdithFix"
src="{{imageUrl}}za-images/nrdl/home2.gif?t={{Timestamp}}"
></image>
</movable-view>
</movable-area>
<toast
bind:cancel="handleToastCancel"
bind:ok="handleToastOk"
show="{{toastShow}}"
type="{{toastType}}"
params="{{toastParams}}"
></toast>
<referralFrom model:show="{{referralFromShow}}"></referralFrom>
<patient-tab-bar></patient-tab-bar>