微信小程序
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

53 行
2.2 KiB

  1. <!--pages/payee/index.wxml-->
  2. <view class="ns" style="height:{{isIPX?'88px':'64px'}};">
  3. <image src="../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">支出申请</text>
  5. </view>
  6. <view class="search_box" style="margin-top:{{isIPX?'100px':'75px'}};">
  7. <van-search
  8. value="{{ value }}"
  9. shape="round"
  10. background="transparent"
  11. placeholder="请输入搜索关键词"
  12. clearable
  13. bind:change="goSearch"
  14. />
  15. <view class="add_btn" bindtap="goAdd"><text>新增</text></view>
  16. </view>
  17. <van-radio-group value="{{ result }}" bind:change="onChange">
  18. <van-cell-group>
  19. <van-cell
  20. wx:for="{{ list }}"
  21. wx:key="index"
  22. value-class="value-class"
  23. clickable
  24. data-index="{{ index }}"
  25. bind:click="toggle"
  26. use-label-slot
  27. >
  28. <view slot="icon" style="margin-right: 10px;">
  29. <image wx:if="{{item.bankType == 999}}" src="/image/apply/icon_other.png" style="width: 20px;height: 20px;vertical-align: middle;"></image>
  30. <image wx:if="{{item.bankType == 1}}" src="/image/apply/icon_icbc.png" style="width: 20px;height: 20px;vertical-align: middle;"></image>
  31. <image wx:if="{{item.bankType == 2}}" src="/image/apply/icon_RCB.png" style="width: 20px;height: 20px;vertical-align: middle;"></image>
  32. <image wx:if="{{item.bankType == 3}}" src="/image/apply/icon_ABC.png" style="width: 20px;height: 20px;vertical-align: middle;"></image>
  33. <image wx:if="{{item.bankType == 4}}" src="/image/apply/icon_CCB.png" style="width: 20px;height: 20px;vertical-align: middle;"></image>
  34. </view>
  35. <view slot="title">
  36. {{item.payee}}
  37. </view>
  38. <view slot="label">
  39. <text decode = "{{true}}">{{item.payeeAccountText}}&emsp;&emsp;&emsp;&emsp;{{item.bankTypeText}}</text>
  40. </view>
  41. <van-radio
  42. catch:tap="noop"
  43. checked-color="#2C8E68"
  44. class="checkboxes-{{ index }}"
  45. name="{{ item.id }}"
  46. />
  47. </van-cell>
  48. </van-cell-group>
  49. </van-radio-group>
  50. <view class="bottom">
  51. <view class="btn2" bindtap="goSubmit">确认</view>
  52. </view>