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.
109 lines
3.6 KiB
109 lines
3.6 KiB
<page-meta page-style="{{ areaShow || toastShow ? 'overflow: hidden;' : '' }}" /> |
|
|
|
<view class="page" id="{{theme === 'DRUG' && 'drug-page'}}"> |
|
<view class="page-header" style="background: #fff"> |
|
<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}}{{theme === 'DRUG' ? 'icon68' : 'icon42'}}.png?t={{Timestamp}}"></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}}icon43.png?t={{Timestamp}}"></image> |
|
<input |
|
class="input" |
|
model:value="{{Name}}" |
|
type="text" |
|
placeholder="请输入关键词进行搜索" |
|
placeholder-class="place-input" |
|
bind:blur="handleBlur" |
|
bind:tap="handleTapSearch" |
|
/> |
|
</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="m-header"> |
|
<view class="hosttipat-img"> |
|
<image class="img" mode="aspectFill" src="{{item.Imgs}}"></image> |
|
</view> |
|
<view class="wrap"> |
|
<view class="title"> |
|
<view class="tag" wx:if="{{item.HospitalClassificationName || item.HospitalLevelName}}"> |
|
{{item.HospitalClassificationName}}{{item.HospitalLevelName}} |
|
</view> |
|
<view class="name">{{item.Name}}</view> |
|
</view> |
|
</view> |
|
</view> |
|
<view class="content"> |
|
<view class="inner"> |
|
<view class="site">{{item.ProvinceName}}{{item.CityName}}{{item.CountyName}}{{item.Address}}</view> |
|
</view> |
|
<view class="c-footer"> |
|
<view class="tag" wx:if="{{item.DoctorNum>0}}">{{item.DoctorNum}}名医生</view> |
|
<view |
|
class="site-num" |
|
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}}" |
|
> |
|
{{item.dist}} |
|
<image class="icon" src="{{imageUrl}}{{theme === 'DRUG' ? 'icon69' : 'icon44'}}.png?t={{Timestamp}}"></image> |
|
</view> |
|
</view> |
|
</view> |
|
</view> |
|
<pagination wx:if="{{!HosList.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>-->
|
|
|