select-customers.wxml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <van-sticky scroll-top="0">
  2. <van-search model:value="{{ searchText }}" bind:change="onSearchText" bind:search="doSearch" placeholder="输入客户名称/地址/电话"> </van-search>
  3. <van-dropdown-menu active-color="#1B365D">
  4. <van-dropdown-item id="statusItem2" title="{{ statusItem2.text }}">
  5. <dk-dropdown-switch dataList="{{statusList}}" bind:commit='dropdowncommit'></dk-dropdown-switch>
  6. </van-dropdown-item>
  7. <van-dropdown-item id="statusItem" title="{{ statusItem.text }}">
  8. <dk-dropdown-switch dataList="{{statusList}}" bind:commit='dropdowncommit'></dk-dropdown-switch>
  9. </van-dropdown-item>
  10. </van-dropdown-menu>
  11. </van-sticky>
  12. <view style="margin: 20rpx 34rpx 26rpx 34rpx;border-radius: 15rpx;box-shadow:2px 2px 5px #e5e5e6;">
  13. <view style="flex-direction: column;justify-content: center;align-items: flex-start;background: linear-gradient(90.12deg, #718AC6 0.84%, #4A5E98 99.43%);border-radius: 15rpx;">
  14. <view style="display: flex;color:#FFFFFF;padding:20rpx;padding-top: 40rpx;padding-bottom: 40rpx;">
  15. <view style="width: 50%;text-align: center;">
  16. <view style="font-size: 13px;">客户数</view>
  17. <view style="font-weight: 600;padding-top: 6rpx;">312</view>
  18. </view>
  19. <view style="width: 50%;text-align: center;">
  20. <view style="font-size: 13px;">客户应收统计</view>
  21. <view style="font-weight: 600;padding-top: 6rpx;">63.38.265.00</view>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. <view style="margin: 10px 32rpx 10px 32rpx;margin-top: 10px;border-radius: 15rpx;">
  27. <view wx:for="{{tableData}}" wx:key="index" wx:for-item="item" data-item="{{item}}" data-index="{{index}}" class="dk-card-class" style="margin-bottom: 20rpx;padding:10rpx; display: flex;justify-content: left;align-items: center;{{item.checked? 'border: 1px solid #1B365D;':''}}" catchtap="chooseData">
  28. <view style="width: 100%;">
  29. <van-field label-class="red-label" value="{{ item.name }}" input-align="left" label="客户名称" placeholder="" data-type='name' readonly="{{true}}" autosize border="{{ false }}">
  30. </van-field>
  31. <van-field label-class="nomal-label" value="{{ item.phone }}" input-align="left" label="客户电话" placeholder="" data-type='name' readonly="{{true}}" autosize border="{{ false }}">
  32. </van-field>
  33. <van-field label-class="nomal-label" value="{{ item.number }}" input-align="left" label="应收收款" placeholder="" data-type='name' readonly="{{true}}" autosize border="{{ false }}">
  34. </van-field>
  35. </view>
  36. </view>
  37. <view style="height: 220rpx;"></view>
  38. </view>