82 lines
4.0 KiB
Plaintext
82 lines
4.0 KiB
Plaintext
<!--pages/AddTherapeuticRegimen/index.wxml-->
|
||
<view class="therapeuticRegimen">
|
||
<view class="improt-file">
|
||
<view class="title">拍照导入</view>
|
||
<t-upload media-type="{{['image']}}" files="{{originFiles}}" gridConfig="{{gridConfig}}" removeBtn="{{false}}" bind:success="handleSuccess" bind:remove="handleRemove" bind:click="handleClick" bind:sort-end="handleSortEnd" />
|
||
</view>
|
||
<view class="therapeuticRegimen-item">
|
||
<view class="title">用药方案</view>
|
||
<view>
|
||
<t-row gutter="12">
|
||
<t-col span="12">
|
||
<view class="dark">
|
||
<view class="input-example">
|
||
<view class="input-example__label"> 用药周期 </view>
|
||
<t-input placeholder="请输入" bindtap="showPicker" size="small" borderless="{{true}}" style="{{style}}" data-mode="birth" suffixIcon="{{ { name: 'calendar-1', ariaLabel: '通讯录' } }}" />
|
||
</view>
|
||
|
||
</view>
|
||
</t-col>
|
||
<t-col span="12">
|
||
<view class="dark">
|
||
<view class="input-example">
|
||
<view class="input-example__label none"> 体重(kg) </view>
|
||
<t-input placeholder="请输入" bindtap="showPicker" size="small" borderless="{{true}}" style="{{style}}" data-mode="birth" suffixIcon="{{ { name: 'calendar-1', ariaLabel: '通讯录' } }}" />
|
||
</view>
|
||
</view>
|
||
</t-col>
|
||
</t-row>
|
||
</view>
|
||
<view class="input-example">
|
||
<view class="input-example__label"> 药品信息 </view>
|
||
</view>
|
||
<view class="delete-btn">
|
||
<t-tag class="margin-16" variant="light" theme="danger">删除</t-tag>
|
||
</view>
|
||
<view class="yp-item">
|
||
<t-input label="药品名称" placeholder="请输入" align="right" />
|
||
<t-input label="单次用药剂量" placeholder="请输入" align="right" />
|
||
<t-input label="单次频次(每日次数)" placeholder="请输入" align="right" />
|
||
<view class="administration-time">
|
||
<view>饭前/饭后</view>
|
||
<view class="radio-group">
|
||
<t-radio-group default-value="0" borderless t-class="box">
|
||
<t-radio block="{{false}}" label="饭前" value="0" />
|
||
<t-radio block="{{false}}" label="饭后" value="1" />
|
||
</t-radio-group>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
<t-button class="add-btn" theme="primary" content="" block>+添加用药</t-button>
|
||
</view>
|
||
<view class="therapeuticRegimen-item">
|
||
<view class="title">用药时间提醒</view>
|
||
<view class="reminder-time">
|
||
<view class="label">早上</view>
|
||
<t-input placeholder="请输入" bindtap="showPickertime" size="small" borderless="{{true}}" style="{{style}}" data-mode="birth" suffixIcon="{{ { name: 'calendar-1', ariaLabel: '通讯录' } }}" />
|
||
</view>
|
||
<view class="reminder-time">
|
||
<view class="label">中午</view>
|
||
<t-input placeholder="请输入" bindtap="showPickertime" size="small" borderless="{{true}}" style="{{style}}" data-mode="birth" suffixIcon="{{ { name: 'calendar-1', ariaLabel: '通讯录' } }}" />
|
||
</view>
|
||
<view class="reminder-time">
|
||
<view class="label">晚上</view>
|
||
<t-input placeholder="请输入" bindtap="showPickertime" size="small" borderless="{{true}}" style="{{style}}" data-mode="birth" suffixIcon="{{ { name: 'calendar-1', ariaLabel: '通讯录' } }}" />
|
||
</view>
|
||
</view>
|
||
<t-button class="add-btn" theme="primary" content="" block>保存</t-button>
|
||
<t-date-time-picker auto-close bind:cancel="hidePicker" bind:change="onPickerChange" cancelBtn="取消" confirmBtn="确认" data-mode="birth" defaultValue="{{personInfo.birth}}" end="{{birthEnd}}" filter="{{birthFilter}}" format="YYYY-MM-DD" mode="date" popup-props="{{ { usingCustomNavbar: true } }}" start="{{birthStart}}" title="选择生日" value="{{personInfo.birth}}" visible="{{birthVisible}}" />
|
||
|
||
<!-- 时分 -->
|
||
<t-date-time-picker
|
||
title="选择时间"
|
||
visible="{{minuteVisible}}"
|
||
mode="{{['null', 'minute']}}"
|
||
start="{{start}}"
|
||
value="{{minute}}"
|
||
format="HH:mm"
|
||
bindchange="onConfirm"
|
||
bindpick="onColumnChange"
|
||
bindcancel="hidePicker"
|
||
/>
|
||
</view> |