|
|
|
|
<page-meta page-style="{{ show ? 'overflow: hidden;' : '' }}" />
|
|
|
|
|
|
|
|
|
|
<navbar fixed custom-style="background:transparent" back>
|
|
|
|
|
<view class="page-order" slot="left">
|
|
|
|
|
<view class="item active">1</view>
|
|
|
|
|
<view class="item active">2</view>
|
|
|
|
|
</view>
|
|
|
|
|
</navbar>
|
|
|
|
|
<view
|
|
|
|
|
class="page"
|
|
|
|
|
style="background: url('{{imageUrl}}bg4.png?t={{Timestamp}}') no-repeat top center / 100% 710rpx;padding-top: {{pageTop+80}}px;"
|
|
|
|
|
>
|
|
|
|
|
<image class="page-title" src="{{imageUrl}}content2.png?t={{Timestamp}}"></image>
|
|
|
|
|
<view class="form">
|
|
|
|
|
<view class="row">
|
|
|
|
|
<view class="label">您的姓名</view>
|
|
|
|
|
<view class="wrap">
|
|
|
|
|
<input
|
|
|
|
|
type="text"
|
|
|
|
|
class="input"
|
|
|
|
|
placeholder-class="place-input"
|
|
|
|
|
placeholder="请输入姓名"
|
|
|
|
|
value="{{name}}"
|
|
|
|
|
bindinput="handleNameInput"
|
|
|
|
|
/>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="row">
|
|
|
|
|
<view class="label">所属药店</view>
|
|
|
|
|
<view class="wrap" bind:tap="handleDrug">
|
|
|
|
|
<input
|
|
|
|
|
disabled
|
|
|
|
|
type="text"
|
|
|
|
|
class="input"
|
|
|
|
|
placeholder-class="place-input"
|
|
|
|
|
placeholder="选择所属药店"
|
|
|
|
|
value="{{pharmacyName}}"
|
|
|
|
|
/>
|
|
|
|
|
<image class="icon" src="{{imageUrl}}icon2.png?t={{Timestamp}}"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="row">
|
|
|
|
|
<view class="label">选择项目</view>
|
|
|
|
|
<view class="picker-wrap">
|
|
|
|
|
<picker
|
|
|
|
|
class="picker"
|
|
|
|
|
mode="selector"
|
|
|
|
|
range="{{projectList}}"
|
|
|
|
|
range-key="projectName"
|
|
|
|
|
value="{{projectIndex}}"
|
|
|
|
|
bindchange="onProjectChange"
|
|
|
|
|
disabled="{{projectDisabled}}"
|
|
|
|
|
>
|
|
|
|
|
<input
|
|
|
|
|
disabled
|
|
|
|
|
type="text"
|
|
|
|
|
class="input"
|
|
|
|
|
placeholder-class="place-input"
|
|
|
|
|
placeholder="请选择项目"
|
|
|
|
|
value="{{projectName}}"
|
|
|
|
|
/>
|
|
|
|
|
</picker>
|
|
|
|
|
<image wx:if="{{!projectDisabled}}" class="icon" src="{{imageUrl}}icon2.png?t={{Timestamp}}"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<button class="phone" bind:tap="handleSubmit">立即加入药师端</button>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<van-popup show="{{ show }}" title="选择所属药店" position="bottom" round closeable bind:close="onClose">
|
|
|
|
|
<view class="popup">
|
|
|
|
|
<view class="p-header">
|
|
|
|
|
<view class="title">选择所属药店</view>
|
|
|
|
|
<view class="search">
|
|
|
|
|
<image class="icon" src="{{imageUrl}}icon1.png?t={{Timestamp}}"></image>
|
|
|
|
|
<input
|
|
|
|
|
type="text"
|
|
|
|
|
placeholder="搜索药店名"
|
|
|
|
|
class="input"
|
|
|
|
|
placeholder-class="place-input"
|
|
|
|
|
confirm-type="search"
|
|
|
|
|
bindconfirm="handleSearch"
|
|
|
|
|
/>
|
|
|
|
|
</view>
|
|
|
|
|
<pickerArea pname="{{provinceName}}" pid="{{provinceId}}" cname="{{cityName}}" cid="{{cityId}}" bindchange="handleChange">
|
|
|
|
|
<view class="options">
|
|
|
|
|
<view class="o-item">
|
|
|
|
|
<view class="content">{{provinceName || '请选择省份'}}</view>
|
|
|
|
|
<image class="icon" src="{{imageUrl}}icon2.png?t={{Timestamp}}"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="o-item">
|
|
|
|
|
<view class="content">{{cityName || '请选择城市'}}</view>
|
|
|
|
|
<image class="icon" src="{{imageUrl}}icon2.png?t={{Timestamp}}"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</pickerArea>
|
|
|
|
|
</view>
|
|
|
|
|
<scroll-view class="p-list" scroll-y bindscrolltolower="loadMore">
|
|
|
|
|
<view
|
|
|
|
|
class="l-item"
|
|
|
|
|
wx:for="{{pharmacyList}}"
|
|
|
|
|
wx:key="id"
|
|
|
|
|
data-id="{{item.id}}"
|
|
|
|
|
data-name="{{item.name}}"
|
|
|
|
|
data-address="{{item.address}}"
|
|
|
|
|
bind:tap="selectPharmacy"
|
|
|
|
|
>
|
|
|
|
|
<view class="name">{{item.name}}</view>
|
|
|
|
|
<view class="site">{{item.provinceName}}{{item.cityName}}{{item.districtName}}{{item.address}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
<pagination pagination="{{pagination}}" />
|
|
|
|
|
</scroll-view>
|
|
|
|
|
</view>
|
|
|
|
|
</van-popup>
|