Browse Source

多余图片处理

release
zhaoyongnian 4 years ago
parent
commit
aea377a6ff
  1. 2
      app.json
  2. 2
      components/event/handleSubmit/handleSubmit/handleSubmit.wxml
  3. 4
      components/event/handleSubmit/handleSubmitItem/handleSubmitItem.wxml
  4. 2
      components/event/handleSubmit/waitResponse/waitResponse.wxml
  5. BIN
      subpages/clerkOnline/images/informRed.png
  6. 2
      subpages/clerkOnline/pages/myGroup/myGroup.wxml

2
app.json

@ -105,7 +105,7 @@
}, },
"plugins": { "plugins": {
"work-plugin": { "work-plugin": {
"version": "1.1.0", "version": "1.2.0",
"provider": "wx0301bf7f534d97d1" "provider": "wx0301bf7f534d97d1"
} }
}, },

2
components/event/handleSubmit/handleSubmit/handleSubmit.wxml

@ -17,7 +17,7 @@
<textarea class="{{isBlock?'none':'block'}}" placeholder-class="place-holder" placeholder="请填写居民诉求的处理情况以及答复意见,向居民公开展示" bindblur="bindInputAdvice" maxlength="500" focus='{{focus}}' /> <textarea class="{{isBlock?'none':'block'}}" placeholder-class="place-holder" placeholder="请填写居民诉求的处理情况以及答复意见,向居民公开展示" bindblur="bindInputAdvice" maxlength="500" focus='{{focus}}' />
<view> <view>
<wux-upload listType="picture-card" defaultFileList="{{ fileList }}" max="3" count="3" url="{{BASEURL}}group/topic/upload" bind:change="onChange" bind:success="onSuccess" bind:fail="onFail" bind:complete="onComplete" bind:preview="onPreview"> <wux-upload listType="picture-card" defaultFileList="{{ fileList }}" max="3" count="3" url="{{BASEURL}}group/topic/upload" bind:change="onChange" bind:success="onSuccess" bind:fail="onFail" bind:complete="onComplete" bind:preview="onPreview">
<image src="../../../../images/uploadImg3.png"></image> <image src="https://epdc-yushan.elinkservice.cn/files-pro/20210610/1810e711e94e4ed089069f92d968f1d2.png"></image>
</wux-upload> </wux-upload>
</view> </view>
</view> </view>

4
components/event/handleSubmit/handleSubmitItem/handleSubmitItem.wxml

@ -43,7 +43,7 @@
<textarea class="{{isBlock?'none':'block'}}" placeholder-class="place-holder" placeholder="请填写居民诉求的处理情况以及答复意见,向居民公开展示" bindblur="bindInputOutHandleAdvice" maxlength="500" focus='{{focus}}'/> <textarea class="{{isBlock?'none':'block'}}" placeholder-class="place-holder" placeholder="请填写居民诉求的处理情况以及答复意见,向居民公开展示" bindblur="bindInputOutHandleAdvice" maxlength="500" focus='{{focus}}'/>
<view> <view>
<wux-upload listType="picture-card" defaultFileList="{{ fileList }}" max="3" count="3" url="{{BASEURL}}group/topic/upload" bind:change="onChange" bind:complete="onComplete" bind:preview="onPreview" data-type="outHandleImages"> <wux-upload listType="picture-card" defaultFileList="{{ fileList }}" max="3" count="3" url="{{BASEURL}}group/topic/upload" bind:change="onChange" bind:complete="onComplete" bind:preview="onPreview" data-type="outHandleImages">
<image src="../../../../images/uploadImg3.png"></image> <image src="https://epdc-yushan.elinkservice.cn/files-pro/20210610/1810e711e94e4ed089069f92d968f1d2.png"></image>
</wux-upload> </wux-upload>
</view> </view>
</view> </view>
@ -58,7 +58,7 @@
<textarea placeholder="请填写项目的实际办理情况(如自己处理、吹哨报 道、内部协调),便于相关部门了解项目的实际情况" class="{{_isBlock?'none':'block'}}" placeholder-class="place-holder" bindblur="bindInputHandleAdvice" maxlength="500" focus='{{_focus}}'/> <textarea placeholder="请填写项目的实际办理情况(如自己处理、吹哨报 道、内部协调),便于相关部门了解项目的实际情况" class="{{_isBlock?'none':'block'}}" placeholder-class="place-holder" bindblur="bindInputHandleAdvice" maxlength="500" focus='{{_focus}}'/>
<view> <view>
<wux-upload listType="picture-card" defaultFileList="{{ fileList }}" max="3" count="3" url="{{BASEURL}}group/topic/upload" bind:change="onChange" bind:complete="onComplete" bind:preview="onPreview" data-type="handleImages"> <wux-upload listType="picture-card" defaultFileList="{{ fileList }}" max="3" count="3" url="{{BASEURL}}group/topic/upload" bind:change="onChange" bind:complete="onComplete" bind:preview="onPreview" data-type="handleImages">
<image src="../../../../images/uploadImg3.png"></image> <image src="https://epdc-yushan.elinkservice.cn/files-pro/20210610/1810e711e94e4ed089069f92d968f1d2.png"></image>
</wux-upload> </wux-upload>
</view> </view>
</view> </view>

2
components/event/handleSubmit/waitResponse/waitResponse.wxml

@ -27,7 +27,7 @@
<textarea class="{{isBlock?'none':'block'}}" placeholder-class="place-holder" placeholder="请填写居民诉求的处理情况以及答复意见,向居民公开展示" bindblur="bindInputAdvice" maxlength="500" focus='{{focus}}' /> <textarea class="{{isBlock?'none':'block'}}" placeholder-class="place-holder" placeholder="请填写居民诉求的处理情况以及答复意见,向居民公开展示" bindblur="bindInputAdvice" maxlength="500" focus='{{focus}}' />
<view> <view>
<wux-upload listType="picture-card" defaultFileList="{{ fileList }}" max="3" count="3" url="{{BASEURL}}group/topic/upload" bind:change="onChange" bind:success="onSuccess" bind:fail="onFail" bind:complete="onComplete" bind:preview="onPreview"> <wux-upload listType="picture-card" defaultFileList="{{ fileList }}" max="3" count="3" url="{{BASEURL}}group/topic/upload" bind:change="onChange" bind:success="onSuccess" bind:fail="onFail" bind:complete="onComplete" bind:preview="onPreview">
<image src="../../../../images/uploadImg3.png"></image> <image src="https://epdc-yushan.elinkservice.cn/files-pro/20210610/1810e711e94e4ed089069f92d968f1d2.png"></image>
</wux-upload> </wux-upload>
</view> </view>
</view> </view>

BIN
subpages/clerkOnline/images/informRed.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

2
subpages/clerkOnline/pages/myGroup/myGroup.wxml

@ -24,7 +24,7 @@
<view class="content" bind:tap="goTopicDetail" data-messageType="{{item.messageType}}" data-id="{{item.id}}"> <view class="content" bind:tap="goTopicDetail" data-messageType="{{item.messageType}}" data-id="{{item.id}}">
<view class="top"> <view class="top">
<image src="{{item.imgUrl}}" class="bac" wx:if="{{item.imgUrl !=='' && item.messageType=='1' }}"></image> <image src="{{item.imgUrl}}" class="bac" wx:if="{{item.imgUrl !=='' && item.messageType=='1' }}"></image>
<image src="../../images/informRed.png" class="inform" wx:if="{{item.messageType=='2'}}"></image> <image src="https://epdc-yushan.elinkservice.cn/files-pro/20210610/4a95639254c64daf97da2feaf8c526df.png" class="inform" wx:if="{{item.messageType=='2'}}"></image>
<image src="../../images/top.png" class="isTop" wx:if="{{item.topFlag=='1'}}" /> <image src="../../images/top.png" class="isTop" wx:if="{{item.topFlag=='1'}}" />
<image src="../../images/top2.png" class="isTop" wx:if="{{item.messageType=='2' && item.topFlag=='1'}}" /> <image src="../../images/top2.png" class="isTop" wx:if="{{item.messageType=='2' && item.topFlag=='1'}}" />
</view> </view>

Loading…
Cancel
Save