微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

project.wxml 3.4 KiB

3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
3 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!--pages/project/project.wxml-->
  2. <view class="ns" id="top_ban" style="height:{{isIPX?'88px':'64px'}};">
  3. <image src="../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back" referrer="no-referrer|origin|unsafe-url"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">工程项目</text>
  5. </view>
  6. <view class="search_box" id="top_view" style="margin-top:{{isIPX?'100px':'75px'}};">
  7. <van-search
  8. value="{{ name }}"
  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. <scroll-view scroll-y refresher-threshold="0" style="height:{{scrollHeight}}px" bindscrolltolower="paging" lower-threshold="100">
  18. <van-swipe-cell right-width="{{ 130 }}" class="workflow" wx:for="{{projectList}}" wx:key="index">
  19. <view class="li" bindtap="goUpdate">
  20. <view class="tit_box">
  21. <view class="tit_box_left">
  22. <image src="/image/icon/icon_gc.png" style="width: 17px; height: 15px;"></image>
  23. <text class="tit">{{item.projectName}}</text>
  24. </view>
  25. <view class="tit_type">
  26. <text>{{item.ynProjcetStatusText}}</text>
  27. </view>
  28. </view>
  29. <view class="detail_box">
  30. <text>{{item.projectContractor}}</text>
  31. <text>合同价款</text>
  32. </view>
  33. <view class="detail_time_box">
  34. <view class="detail_time">
  35. <image src="/image/icon/icon_date.png" style="width: 14px;height: 14px;"></image>
  36. <text>{{item.startTime}} ~ {{item.endTime}}</text>
  37. </view>
  38. <view class="detail_time">
  39. <text class="detail_box_money"><text style="font-size:12px;display: inline-block;color: #E90000;">¥</text>{{item.projectAmount}}</text>
  40. </view>
  41. </view>
  42. </view>
  43. <view slot="right" class="deleteBox">
  44. <view style="flex: 1;height: 100%;display: flex;align-items: center;">
  45. <image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;" data-id="{{item.id}}" data-index="{{index}}" bindtap="delete"></image>
  46. </view>
  47. <view style="flex: 1;height: 100%;display: flex;align-items: center;">
  48. <image src="../../image/apply/icon_add.png" style="width: 25px;height: 25px;margin: 0 auto;" data-id="{{item.id}}" data-index="{{index}}" bindtap="upload"></image>
  49. </view>
  50. </view>
  51. </van-swipe-cell>
  52. </scroll-view>
  53. <van-action-sheet show="{{showUpload}}" title="附件" bind:close="closeBox">
  54. <scroll-view scroll-y="true" style="height: 600rpx;" bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll" scroll-top="0">
  55. <view class="fj-box">
  56. <view class="fj-li" wx:for="{{fileList}}" wx:key="index" wx:for-item="item" >
  57. <view>
  58. <text>{{item.dictLabel}}</text>
  59. </view>
  60. <view class="img_box">
  61. <view class="img_li">
  62. <van-upload file-list="{{ item.list }}" bind:after-read="afterRead" bind:delete="deleteImg" bind:click-preview="lookDown" multiple="{{true}}" data-idx="{{index}}">
  63. </van-upload>
  64. </view>
  65. </view>
  66. </view>
  67. </view>
  68. </scroll-view>
  69. </van-action-sheet>
  70. <modal hidden="{{!showPopup}}" title="是否删除?" confirm-text="是" cancel-text="否" bindcancel="cancelTem" bindconfirm="confirmTem">
  71. </modal>