index.wxml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <view class="head">
  2. <view class="count">
  3. 参与医生
  4. </view>
  5. <view class="expand">
  6. <van-search wx:if="{{showSearch}}" custom-class='custom-class' focus='{{focus}}' value="{{ condition }}"
  7. shape="round" bind:change='onChange' bind:search='onSearch' bind:clear='onSearch' placeholder="搜索关键词"
  8. background='#F4F5F7' />
  9. <navigator url="#" class="but" bindtap="toSearch">
  10. <van-icon name="search" />
  11. </navigator>
  12. <navigator wx:if="{{disabled}}" url="#" class="but" bindtap="insetr">
  13. <van-icon name="plus" />
  14. </navigator>
  15. </view>
  16. </view>
  17. <view class="project-item" wx:for="{{list}}" wx:key="sa_doctorid">
  18. <view class="main">
  19. <view class="label">
  20. {{item.doctorname}}
  21. </view>
  22. <view class="replenish">
  23. <text style="color: #666;">职称:</text>
  24. <text>{{item.professional}}</text>
  25. </view>
  26. <view class="replenish">
  27. <text style="color: #666;">科室:</text>
  28. <text>{{item.hospitaldepname || '--'}}</text>
  29. </view>
  30. <view class="replenish">
  31. <text style="color: #666;">医院:</text>
  32. <text>{{item.hospitalname || '--'}}</text>
  33. </view>
  34. <view class="bottom">
  35. <text style="color: #666;">产品培训费用:</text>
  36. <input placeholder="费用(元)" type="digit" value="{{item.amount ||''}}" bindblur="changeAmount"
  37. data-index="{{index}}" />
  38. </view>
  39. <view wx:if="{{disabled}}" class="iconfont-box" data-item="{{item}}" bind:tap="deleteItem">
  40. <view class="iconfont icon-shanchu1" />
  41. </view>
  42. </view>
  43. </view>
  44. <My_empty wx:if="{{list.length==0}}" />