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.
225 lines
8.3 KiB
225 lines
8.3 KiB
1 month ago
|
<page-meta page-style="{{ areaShow || toastShow ? 'overflow: hidden;' : '' }}" />
|
||
|
|
||
|
<view class="page">
|
||
|
<view
|
||
|
class="page-header"
|
||
|
style="background: url({{imageUrl}}za-images//bg1.png?t={{Timestamp}}) no-repeat top center / 100% 444rpx;"
|
||
|
>
|
||
|
<navBar background="{{background}}" title="就诊地图" back bind:back="handleBack"></navBar>
|
||
|
<view class="site-line">
|
||
|
<pickerArea
|
||
|
pname="{{ProvinceName}}"
|
||
|
pid="{{ProvinceId}}"
|
||
|
cid="{{CityId}}"
|
||
|
cname="{{CityName}}"
|
||
|
bind:tap="handleTapSite"
|
||
|
bind:ok="handleChangeSite"
|
||
|
bind:show="handleSiteShareShow"
|
||
|
>
|
||
|
<view class="area">
|
||
|
<image class="icon" src="{{imageUrl}}za-images//1.5/n-site.png"></image>
|
||
|
<view class="name" wx:if="{{ProvinceName}}">{{ProvinceName}}{{ProvinceName == CityName ? '' : CityName}}</view>
|
||
|
<view class="name" wx:else>请选择省市</view>
|
||
|
<view class="triangle"></view>
|
||
|
</view>
|
||
|
</pickerArea>
|
||
|
<view class="btn" bind:tap="handleDefultLocation">{{locationName}}</view>
|
||
|
</view>
|
||
|
<view class="search">
|
||
|
<image class="icon" src="{{imageUrl}}za-images//1.5/search.png"></image>
|
||
|
<input
|
||
|
class="input"
|
||
|
model:value="{{Name}}"
|
||
|
type="text"
|
||
|
placeholder="请输入关键词进行搜索"
|
||
|
placeholder-class="place-input"
|
||
|
bind:blur="handleBlur"
|
||
|
/>
|
||
|
</view>
|
||
|
<view class="tabs" style="top:{{bottom}}px;background:{{background}}">
|
||
|
<van-tabs
|
||
|
active="{{ tabActive }}"
|
||
|
title-active-color="#484848"
|
||
|
title-inactive-color="#9E9E9E"
|
||
|
color="#E04775"
|
||
|
tab-class="tab-class"
|
||
|
tab-active-class="tab-active-class"
|
||
|
bind:change="onChange"
|
||
|
>
|
||
|
<van-tab title="查询医院"></van-tab>
|
||
|
<van-tab title="查询药房"></van-tab>
|
||
|
<!-- <van-tab title="就诊医生"></van-tab> -->
|
||
|
</van-tabs>
|
||
|
</view>
|
||
|
</view>
|
||
|
|
||
|
<view class="map" wx:if="{{tabActive==0}}">
|
||
|
<view
|
||
|
class="map-item"
|
||
|
wx:for="{{HosList}}"
|
||
|
wx:key="index"
|
||
|
bind:tap="handleDetail"
|
||
|
data-url="/pages/hospital/index?id={{item.Id}}"
|
||
|
>
|
||
|
<view class="follow" wx:if="{{item.IsTop==1}}">已关注</view>
|
||
|
<view class="hosttipat-img">
|
||
|
<image class="img" mode="aspectFill" src="{{item.Imgs}}"></image>
|
||
|
</view>
|
||
|
<view class="wrap">
|
||
|
<view class="title">
|
||
|
<text class="name">{{item.Name}}</text>
|
||
|
<view class="tag" wx:if="{{item.HospitalClassificationName || item.HospitalLevelName}}">
|
||
|
{{item.HospitalClassificationName}}{{item.HospitalLevelName}}
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="content">
|
||
|
<view class="inner">
|
||
|
<view class="site">{{item.ProvinceName}}{{item.CityName}}{{item.CountyName}}{{item.Address}}</view>
|
||
|
<view class="site-num">{{item.dist}}</view>
|
||
|
<image
|
||
|
class="icon"
|
||
|
catch:tap="handleOpenMap"
|
||
|
data-lat="{{item.LAT}}"
|
||
|
data-lng="{{item.LNG}}"
|
||
|
data-address="{{item.ProvinceName}}{{item.CityName}}{{item.CountyName}}{{item.Address}}"
|
||
|
data-name="{{item.Name}}"
|
||
|
src="{{imageUrl}}za-images//1.5/site-circle.png"
|
||
|
></image>
|
||
|
</view>
|
||
|
<view class="tag" wx:if="{{item.DoctorNum>0}}">{{item.DoctorNum}}名医生</view>
|
||
|
<view class="drug" wx:if="{{item.IsHaveDrug==1}}">
|
||
|
<image class="drug-icon" src="{{imageUrl}}za-images//nrdl/drug.png"></image>
|
||
|
院内有药
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<pagination wx:if="{{!HosList.length}}" pagination="{{pagination}}"></pagination>
|
||
|
</view>
|
||
|
|
||
|
<view class="dtp" wx:if="{{tabActive==1}}">
|
||
|
<view
|
||
|
class="dtp-item"
|
||
|
bind:tap="handleDetail"
|
||
|
data-url="/gift/pages/dtpDurg/index?id={{item.Id}}"
|
||
|
wx:for="{{dtpList}}"
|
||
|
wx:key="index"
|
||
|
>
|
||
|
<view class="photo">
|
||
|
<image wx:if="{{item.ImgUrl}}" class="photo-img" mode="aspectFill" src="{{item.ImgUrl}}"></image>
|
||
|
<image wx:else class="photo-img" mode="aspectFill" src="{{imageUrl}}za-images//nrdl/dtp-default.png"></image>
|
||
|
</view>
|
||
|
<view class="wrap">
|
||
|
<view class="title">{{item.Name}}</view>
|
||
|
<view class="tags">
|
||
|
<view class="tag" wx:if="{{item.IsOwnInfusionCenter==1}}">
|
||
|
<image class="icon" mode="widthFix" src="{{imageUrl}}za-images//nrdl/inject.png"></image>
|
||
|
自有输注中心
|
||
|
</view>
|
||
|
<view class="tag" wx:if="{{item.IsCooperationInfusionCenter==1}}">
|
||
|
<image class="icon" mode="widthFix" src="{{imageUrl}}za-images//nrdl/cooperate.png"></image>
|
||
|
合作输注中心
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="content">
|
||
|
<view class="inner">
|
||
|
<view class="site">{{item.ProvinceName}}{{item.CityName}}{{item.CountyName}}{{item.Address}}</view>
|
||
|
<view class="tel">{{item.Telephone}}</view>
|
||
|
</view>
|
||
|
<view class="phone extend-via-pseudo-elem" catch:tap="handleDtpPhone" data-tel="{{item.Telephone}}">
|
||
|
<image class="phone-img" src="{{imageUrl}}za-images//nrdl/phone.png"></image>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<pagination wx:if="{{!dtpList.length}}" pagination="{{pagination}}"></pagination>
|
||
|
</view>
|
||
|
|
||
|
<view class="module" wx:if="{{tabActive==2}}">
|
||
|
<view
|
||
|
class="card"
|
||
|
wx:for="{{DoctortList}}"
|
||
|
wx:key="index"
|
||
|
bind:tap="handleDoctor"
|
||
|
bind:tap="handleDetail"
|
||
|
data-url="/pages/doctorDetail/index?id={{item.Id}}"
|
||
|
>
|
||
|
<view class="c-header">
|
||
|
<image class="avatar" mode="aspectFill" src="{{item.Img}}"></image>
|
||
|
<view class="wrap">
|
||
|
<view class="name">{{item.Name}}</view>
|
||
|
<view class="title">
|
||
|
<view class="tag" wx:if="{{item.hospital.HospitalClassificationName || item.hospital.HospitalLevelName}}">
|
||
|
{{item.hospital.HospitalClassificationName}}{{item.hospital.HospitalLevelName}}
|
||
|
</view>
|
||
|
<text class="name">{{item.hospital.Name}}</text>
|
||
|
</view>
|
||
|
<view class="w-content">
|
||
|
<view class="inner">
|
||
|
<view class="site">
|
||
|
{{item.hospital.ProvinceName}}{{item.hospital.CityName}}{{item.hospital.CountyName}}{{item.hospital.Address}}
|
||
|
</view>
|
||
|
<view class="site-box">
|
||
|
<image
|
||
|
class="icon"
|
||
|
catch:tap="handleOpenMap"
|
||
|
data-lat="{{item.hospital.LAT}}"
|
||
|
data-lng="{{item.hospital.LNG}}"
|
||
|
data-address="{{item.hospital.ProvinceName}}{{item.hospital.CityName}}{{item.hospital.CountyName}}{{item.hospital.Address}}"
|
||
|
data-name="{{item.hospital.Name}}"
|
||
|
src="{{imageUrl}}za-images//1.5/site-circle.png"
|
||
|
></image>
|
||
|
<view class="site-num">{{item.hospital.dist}}</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="content">
|
||
|
<view class="row">
|
||
|
<!-- <view class="tag">医生简介</view> -->
|
||
|
<view class="p ellipsis">{{item.Introduce}}</view>
|
||
|
</view>
|
||
|
<view class="row" wx:if="{{item.weekName}}">
|
||
|
<!-- prettier-ignore -->
|
||
|
<view wx:if="{{item.ClinicType==2}}" class="week-name pre-line">
|
||
|
<view class="label">出诊时间</view>{{item.weekName}}
|
||
|
</view>
|
||
|
<block wx:else>
|
||
|
<view class="tag" wx:for="{{item.weekName}}" wx:for-item="wItem" wx:for-index="wIndex" wx:key="wIndex">
|
||
|
<view class="week">{{wItem.week}}</view>
|
||
|
<view class="value">{{wItem.timeDay}}</view>
|
||
|
</view>
|
||
|
</block>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<pagination wx:if="{{!DoctortList.length}}" pagination="{{pagination}}"></pagination>
|
||
|
</view>
|
||
|
</view>
|
||
|
|
||
|
<timeOut
|
||
|
bind:timeOut="handleTimeOut"
|
||
|
asideOut="{{asideOut}}"
|
||
|
timeToast="{{timeToast}}"
|
||
|
timeToastType="{{timeToastType}}"
|
||
|
timeToastParams="{{timeToastParams}}"
|
||
|
></timeOut>
|
||
|
|
||
|
<toast
|
||
|
bind:cancel="handleToastCancel"
|
||
|
bind:ok="handleToastOk"
|
||
|
show="{{toastShow}}"
|
||
|
type="{{toastType}}"
|
||
|
params="{{toastParams}}"
|
||
|
></toast>
|
||
|
|
||
|
<siteShare
|
||
|
pname="{{ProvinceName}}"
|
||
|
pid="{{ProvinceId}}"
|
||
|
cid="{{CityId}}"
|
||
|
cname="{{CityName}}"
|
||
|
bind:ok="handleSiteShare"
|
||
|
bind:show="handleSiteShareShow"
|
||
|
></siteShare>
|