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.
60 lines
2.4 KiB
60 lines
2.4 KiB
<view |
|
class="page" |
|
id="{{theme === 'DRUG' && 'drug-page'}}" |
|
style="background: url({{imageUrl}}/1.5/drug-record-bg.png?t={{Timestamp}}) no-repeat top center / 100% ;padding-top:{{bottom+30}}px" |
|
> |
|
<navBar background="{{background}}" title="" back bind:back="handleBack" fixed></navBar> |
|
<view class="page-container"> |
|
<view class="page-title">{{disabled ? '编辑':'录入'}}信息</view> |
|
<view class="page-sub-title">记录您的每次注射 生成您的专属健康档案</view> |
|
<view class="container"> |
|
<view class="tip">请填入以下信息</view> |
|
<view class="row"> |
|
<view class="r-title"> |
|
<text class="required">*</text> |
|
注射日期 |
|
</view> |
|
<view class="date"> |
|
<picker |
|
mode="date" |
|
disabled="{{disabled}}" |
|
start="{{startDate}}" |
|
end="{{endDate}}" |
|
model:value="{{InjectionDate}}" |
|
> |
|
<view class="picker-content"> |
|
<input disabled placeholder="请选择您的注射日期" class="input" value="{{InjectionDate}}" /> |
|
<van-icon name="arrow-down" class="more" /> |
|
</view> |
|
</picker> |
|
</view> |
|
</view> |
|
<view class="row"> |
|
<view class="r-title"> |
|
<text class="required">*</text> |
|
此次注射瓶数 |
|
</view> |
|
<view class="select"> |
|
<view class="box {{InjectionBottles == 1 && 'active'}}" bind:tap="handleSelect" data-value="{{1}}">1</view> |
|
<view class="box {{InjectionBottles == 2 && 'active'}}" bind:tap="handleSelect" data-value="{{2}}">2</view> |
|
<view class="box {{InjectionBottles== 3 && 'active'}}" bind:tap="handleSelect" data-value="{{3}}">3</view> |
|
<view class="box {{InjectionBottles == 4 && 'active'}}" bind:tap="handleSelect" data-value="{{4}}">4</view> |
|
<input class="input" type="number" maxlength="{{1}}" model:value="{{InjectionBottles}}" placeholder="输入" /> |
|
</view> |
|
</view> |
|
<view class="row"> |
|
<view class="r-title">其它备注</view> |
|
<textarea class="textarea" model:value="{{Remark}}" placeholder="请输入"></textarea> |
|
</view> |
|
</view> |
|
<view class="btn" bind:tap="handleSubmit">提交记录</view> |
|
</view> |
|
</view> |
|
|
|
<toast |
|
bind:cancel="handleToastCancel" |
|
bind:ok="handleToastOk" |
|
show="{{toastShow}}" |
|
type="{{toastType}}" |
|
params="{{toastParams}}" |
|
></toast>
|
|
|