|
|
@@ -9,7 +9,7 @@ |
|
|
|
value="{{ name }}" |
|
|
|
shape="round" |
|
|
|
background="transparent" |
|
|
|
placeholder="请输入搜索关键词" |
|
|
|
placeholder="请输入工程项目名称" |
|
|
|
clearable |
|
|
|
bind:change="goSearch" |
|
|
|
/> |
|
|
@@ -44,11 +44,21 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view slot="right" class="deleteBox"> |
|
|
|
<view style="flex: 1;height: 100%;display: flex;align-items: center;background-color: rgb(255,0,0,0.4);" bindtap="delete"> |
|
|
|
<image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;" data-id="{{item.id}}" data-index="{{index}}" ></image> |
|
|
|
<view style="flex: 1;height: 100%;display: flex;align-items: center;flex-direction: column;justify-content: center;background-color: rgb(255,0,0,0.2);" data-id="{{item.id}}" data-index="{{index}}" bindtap="delete"> |
|
|
|
<view> |
|
|
|
<image src="../../image/apply/icon_delete.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<text style="color:red">删除</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view style="flex: 1;height: 100%;display: flex;align-items: center;background-color: rgb(98,173,102,0.4);" bindtap="upload"> |
|
|
|
<image src="../../image/icon/upload_icon.png" style="width: 25px;height: 25px;margin: 0 auto;" data-id="{{item.id}}" data-index="{{index}}" ></image> |
|
|
|
<view style="flex: 1;height: 100%;display: flex;align-items: center;flex-direction: column;justify-content: center;background-color: rgb(98,173,102,0.2);" data-id="{{item.id}}" data-index="{{index}}" bindtap="upload"> |
|
|
|
<view> |
|
|
|
<image src="../../image/icon/upload_icon.png" style="width: 25px;height: 25px;margin: 0 auto;display: block;" ></image> |
|
|
|
</view> |
|
|
|
<view> |
|
|
|
<text style="color: #62AD66;">附件</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</van-swipe-cell> |
|
|
@@ -62,7 +72,7 @@ |
|
|
|
</view> |
|
|
|
<view class="img_box"> |
|
|
|
<view class="img_li"> |
|
|
|
<van-upload file-list="{{ item.list }}" bind:after-read="afterRead" bind:delete="deleteImg" bind:click-preview="lookDown" multiple="{{true}}" data-idx="{{index}}"> |
|
|
|
<van-upload file-list="{{ item.list }}" bind:after-read="afterRead" bind:delete="deleteImg" bind:click-preview="lookDown" data-idx="{{index}}"> |
|
|
|
</van-upload> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@@ -72,4 +82,6 @@ |
|
|
|
</van-action-sheet> |
|
|
|
<modal hidden="{{!showPopup}}" title="是否删除?" confirm-text="是" cancel-text="否" bindcancel="cancelTem" bindconfirm="confirmTem"> |
|
|
|
|
|
|
|
</modal> |
|
|
|
<modal hidden="{{!showPopupDel}}" title="是否删除?" confirm-text="是" cancel-text="否" bindcancel="cancelTemDel" bindconfirm="confirmTemDel"> |
|
|
|
</modal> |