1 |
- <view class="content"><view class="patient-cont"><view class="chose-patient"><block wx:if="{{patient==null}}"><view data-event-opts="{{[['tap',[['addPatient']]]]}}" class="patient-box" bindtap="__e"><text class="patient-title">选择体验者</text><view class="right"><text class="value">请点击添加</text><image src="{{imgPath+'/app/commonCourse/arrow_gray.png'}}" mode></image></view></view></block><block wx:if="{{patient!=null}}"><view data-event-opts="{{[['tap',[['addPatient']]]]}}" class="patient" bindtap="__e"><view class="left"><view class="name">{{patient.patientName}}</view><view class="info"><block wx:if="{{patient.sex==1}}"><text class="text">男</text></block><block wx:if="{{patient.sex==2}}"><text class="text">女</text></block><text class="text">{{$root.m0+"岁"}}</text><text class="text">{{$root.m1}}</text></view></view><view class="right"><image src="{{imgPath+'/app/commonCourse/arrow_gray.png'}}" mode></image></view></view></block></view></view><view class="msg-cont"><scroll-view class="msg-scroll" scroll-top="{{scrollTop}}" scroll-y="true" scroll-with-animation="{{true}}"><view class="msgs"><block wx:for="{{msgs}}" wx:for-item="item" wx:for-index="index"><view class="msg-item"><block wx:if="{{item.type==1}}"><view class="left"><image class="img" src="{{imgPath+'/app/commonCourse/ai-img.png'}}"></image><view class="msg-content">{{item.content}}</view></view></block><block wx:if="{{item.type==2}}"><view class="right"><view class="msg-content">{{item.content}}</view><image class="img" src="{{imgPath+'/app/commonCourse/head-img.jpg'}}"></image></view></block></view></block></view></scroll-view></view><block wx:if="{{item!=null}}"><view class="option-cont"><view class="option-title">{{item.title}}</view><view class="options"><block wx:for="{{$root.l0}}" wx:for-item="option" wx:for-index="__i0__"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({option})}}" class="option-item" bindtap="__e">{{option.name}}</view></block></view></view></block></view>
|