cloud.wxml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <view class="cloud_search">
  2. <search-bar
  3. id="SearchBar"
  4. addflag="{{addflag}}"
  5. bind:addhandle="addhandle"
  6. searchstr="{{searchstr}}"
  7. bind:searchList="searchList"
  8. bind:endsearchList="endsearchList"
  9. bind:cancelsearch="cancelsearch"
  10. bind:activity_clear="activity_clear"
  11. style="width:100%;"
  12. />
  13. </view>
  14. <!-- <view style="height:95rpx;"></view> -->
  15. <view class="cloud_tabs" wx:if="{{userType == 'C'}}">
  16. <i-tabs current="{{ current }}" color="#6b223e" bindchange="handleChange">
  17. <i-tab key="tab1" title="我证明的"></i-tab>
  18. <i-tab key="tab2" title="我的云证"></i-tab>
  19. </i-tabs>
  20. </view>
  21. <view class="cloud_title" wx:if="{{current == 'tab1'}}">
  22. <text>我的总收入:¥ {{money}}</text>
  23. <picker mode="date" value="{{date}}" start="2015-09-01" end="2100-09-01" fields="month" bindchange="bindTimeChange">
  24. <view class="picker">
  25. {{date}}
  26. <image src="/images/list/caret-down.png"/>
  27. </view>
  28. </picker>
  29. </view>
  30. <view class="cloud_title" wx:if="{{current == 'tab2'}}">
  31. <text>我的云证</text>
  32. <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
  33. <view class="picker">
  34. {{array[index]}}
  35. <image src="/images/list/caret-down.png"/>
  36. </view>
  37. </picker>
  38. </view>
  39. <!-- <view style="height:105rpx;"></view> -->
  40. <scroll-view wx:if="{{showList && list.length != 0}}" scroll-y bindscrolltolower="next" bindscroll="reload" style="height:{{scrollViewHeith}}px;" class='cloud_list'>
  41. <!-- bindscrolltoupper="reload" bindscroll="reload" -->
  42. <view class="one_card" wx:for="{{list}}" bindtap='viewDetail' data-id='{{item.id}}' data-status='{{item.statusName}}' data-phone='{{item.initiatorMobile}}' wx:key='this'>
  43. <i-card title="云证编号:{{item.ccNo}}" extra="{{item.statusName}}">
  44. <view slot="content" class="list">
  45. <view class="sponsor">发起人 : {{item.initiatorName}}</view>
  46. <view class="receiver">接收人 : {{item.receiverName!=null?item.receiverName:'暂无'}}
  47. <text wx:if="{{current == 'tab1'}}" style="float:right;color:#f00;">¥ {{item.accountingExpenses}}</text>
  48. </view>
  49. <view class="time">时间 : {{item.createTime}}</view>
  50. </view>
  51. </i-card>
  52. </view>
  53. <view wx:if="{{showList && list.length != 0}}" hidden="{{isHide}}">
  54. <i-load-more tip="暂无更多..." loading="{{ false }}" />
  55. </view>
  56. </scroll-view>
  57. <view wx:else class="noList">
  58. <image src="/images/list/nolist.png"/>
  59. <view>暂无云证数据</view>
  60. </view>
  61. <view class="cloud_create" bindtap="create" wx:if="{{current == 'tab2'}}">
  62. <image src="/images/list/create.png"/>
  63. </view>