80 lines
3.6 KiB
Plaintext
80 lines
3.6 KiB
Plaintext
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
|
|
<view class="container">
|
|
|
|
<t-tabs
|
|
defaultValue="{{ current_words_type }}"
|
|
swipeable="{{false}}"
|
|
t-class="custom-tabs"
|
|
bind:change="onTabChange"
|
|
theme="line"
|
|
custom-style="font-size: 32rpx"
|
|
>
|
|
<t-tab-panel label="问诊" value="1">
|
|
<view class="item_list1">
|
|
<van-swipe-cell right-width="{{ 65 }}"
|
|
bind:close="wordsClose"
|
|
bind:open="wordsOpen"
|
|
bind:click="wordsClick"
|
|
data-words="{{item.words}}"
|
|
wx:for="{{list_1}}">
|
|
<van-cell-group>
|
|
<van-cell custom-style="{{words_css}}" title="{{index + 1}}、{{item.words}}" />
|
|
</van-cell-group>
|
|
<view slot="right" class="delWords" bindtap="delWords" data-doctor_words_id="{{item.doctor_words_id}}">删除</view>
|
|
</van-swipe-cell>
|
|
</view>
|
|
<view class="btn">
|
|
<van-button bind:click="showAdd" class="addbtn" custom-style="border-radius: 10rpx;margin: 0 auto;width: 92%;position: relative;top: 50%; transform: translateY(-50%);font-size: 34rpx;" type="primary" color="#3CC7C0" block>添加常用语</van-button>
|
|
</view>
|
|
</t-tab-panel>
|
|
<t-tab-panel label="处方" value="2">
|
|
<view class="item_list2">
|
|
<van-swipe-cell right-width="{{ 65 }}"
|
|
bind:close="wordsClose"
|
|
bind:open="wordsOpen"
|
|
bind:click="wordsClick"
|
|
data-words="{{item.words}}"
|
|
wx:for="{{list_2}}">
|
|
<van-cell-group>
|
|
<van-cell custom-style="{{words_css}}" title="{{index + 1}}、{{item.words}}" />
|
|
</van-cell-group>
|
|
<view slot="right" class="delWords" bindtap="delWords" data-doctor_words_id="{{item.doctor_words_id}}">删除</view>
|
|
</van-swipe-cell>
|
|
</view>
|
|
<view class="btn">
|
|
<van-button bind:click="showAdd" class="addbtn" custom-style="border-radius: 10rpx;margin: 0 auto;width: 92%;position: relative;top: 50%; transform: translateY(-50%);font-size: 34rpx;" type="primary" color="#3CC7C0" block>添加常用语</van-button>
|
|
</view>
|
|
</t-tab-panel>
|
|
</t-tabs>
|
|
|
|
|
|
<van-popup show="{{ show }}" round position="bottom" bind:close="onClose">
|
|
<view class="popup_box">
|
|
<view class="popup_box_title">
|
|
<view class="cancle" bindtap="onClose">取消</view>
|
|
<view class="title">添加常用语</view>
|
|
<view class="confirm" bindtap="add">确认</view>
|
|
</view>
|
|
<view class="popup_box_content">
|
|
<van-field
|
|
model:value="{{ add_message }}"
|
|
type="textarea"
|
|
placeholder="请输入文字"
|
|
placeholder-style="font-size: 32rpx;font-weight: 400;"
|
|
autosize
|
|
maxlength="500"
|
|
custom-style="height: 100%;"
|
|
border="{{ false }}"
|
|
focus="{{focus}}"
|
|
bindtap="onInput"
|
|
/>
|
|
</view>
|
|
</view>
|
|
</van-popup>
|
|
<!-- <view class="item_list">
|
|
<van-cell url="/Pages/yishi/quickreply_data/index?title=在线问诊快捷回复" custom-style="border-radius: 20rpx;margin-bottom: 20rpx;" title="1、设置问诊的快捷回复" is-link />
|
|
<van-cell url="/Pages/yishi/quickreply_data/index?title=快速问诊快捷回复" custom-style="border-radius: 20rpx;margin-bottom: 20rpx;" title="2、设置处方的快捷回复" is-link />
|
|
<van-cell url="/Pages/yishi/quickreply_data/index?title=义诊快捷回复" custom-style="border-radius: 20rpx;margin-bottom: 20rpx;" title="3、设置处方的快捷回复" is-link />
|
|
</view> -->
|
|
</view>
|
|
<t-toast id="t-toast" /> |