58 lines
2.6 KiB
Plaintext
58 lines
2.6 KiB
Plaintext
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
|
|
<view class="container" style="height: calc(100vh - 96rpx - {{height}}px);">
|
|
|
|
<t-tabs
|
|
defaultValue="{{ current_words_type }}"
|
|
sticky
|
|
stickyProps="{{stickyProps}}"
|
|
t-class="custom-tabs"
|
|
bind:change="onTabChange"
|
|
theme="line"
|
|
custom-style="font-size: 32rpx"
|
|
>
|
|
<t-tab-panel label="问诊" value="1">
|
|
<view class="item_list">
|
|
<van-cell custom-style="border-radius: 20rpx;margin-bottom: 20rpx;" title="{{index + 1}}、{{item.words}}" wx:for="{{list_1}}" />
|
|
</view>
|
|
<view class="btn">
|
|
<van-button bind:click="showAdd" class="addbtn" custom-style="border-radius: 20rpx;margin: 0 auto;width: 92%;position: relative;top: 50%; transform: translateY(-50%);" type="primary" color="#3CC7C0" block>添加常用语</van-button>
|
|
</view>
|
|
|
|
|
|
|
|
</t-tab-panel>
|
|
<t-tab-panel label="处方" value="2">
|
|
<view class="item_list">
|
|
<van-cell custom-style="border-radius: 20rpx;margin-bottom: 20rpx;" title="{{index+1}}、{{item.words}}" wx:for="{{list_2}}" />
|
|
</view>
|
|
<view class="btn">
|
|
<van-button bind:click="showAdd" class="addbtn" custom-style="border-radius: 20rpx;margin: 0 auto;width: 92%;position: relative;top: 50%; transform: translateY(-50%);" 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="请输入文字"
|
|
autosize
|
|
border="{{ false }}"
|
|
/>
|
|
</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> |