Browse Source

待我处理的相关样式修改,点击图片可以放大

taidong
duanliangtao 1 year ago
parent
commit
751be05843
  1. 7
      subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.js
  2. 8
      subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.wxml
  3. 4
      subpages/myTroubleshootDemand/pages/index/index.wxml
  4. 2
      subpages/myTroubleshootDemand/pages/index/index.wxss

7
subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.js

@ -34,7 +34,8 @@ Page({
happenTime: "",
content: "", //内容
address: "", //地址
demandType:'chengguan'
demandType:'chengguan',
status: ""
},
minDate: '2018-01-01 00:00:00',
@ -175,6 +176,7 @@ Page({
'fmData.responsibleUnit': res.data.responsibleUnit,
'fmData.responsibleName': res.data.responsibleName,
'fmData.responsibleMobile': res.data.responsibleMobile,
'fmData.status': res.data.status,
agencyName: res.data.gridName,
showTime: res.data.happenTime,
addressContent: res.data.address,
@ -1238,10 +1240,12 @@ formatTimestamp(timestamp) {
}
console.log("on Show:"+this.data.optionsId)
if(this.data.optionsId){
if (this.data.tabVal === '0' || this.data.tabVal === '2') {
icEventOldProcess({icEventId: this.data.optionsId}).then(res => {
this.getProcess(res.data);
})
}
}
},
@ -1754,7 +1758,6 @@ formatTimestamp(timestamp) {
},
previewImage(e) {
const currentUrl = e.currentTarget.dataset.url;
wx.previewImage({
current: currentUrl, // 当前显示的图片链接
urls: [currentUrl] // 只预览当前点击的图片

8
subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.wxml

@ -1,6 +1,6 @@
<view class="complete-info" >
<block >
<view class="content {{isDisabled ? 'disabled' : ''}}">
<view class="content">
<view class="personal-info">
<view class="basic-info">
@ -55,7 +55,7 @@
</view>
<view class="add-issue">
<view class="issue-content">
<view class="issue-content {{isDisabled ? 'disabled' : ''}}">
<view class="item1">
<view class="field">
<text class="must">*</text>
@ -100,7 +100,7 @@
</view>
</view>
<view class="personal-info">
<view class="basic-info">
<view class="basic-info {{isDisabled ? 'disabled' : ''}}">
<view class="item">
<view class="field">
<text class="must">*</text>
@ -296,7 +296,7 @@
</view>
<view class="bto_btn" wx:if="{{optionsId}}">
<view class="bto_btn" wx:if="{{optionsId && fmData.status!='' && fmData.status!='closed_case'}}">
<button hover-class="btn-hover" bind:tap="update" class="btn_blue" >{{isDisabled ? '修改' : '提交'}}</button>
<button bind:tap="delete" class="btn_yellow">删除</button>
<button bind:tap="process" class="btn_red" wx:if="{{tabVal === '0' || tabVal === '2'}}">处理</button>

4
subpages/myTroubleshootDemand/pages/index/index.wxml

@ -9,13 +9,13 @@
<text class="{{item.type == 'event'?'blue_small':item.type == 'chengguan'?'green_small':'red_small'}}">{{item.type == 'event'?'事件':item.type == 'chengguan'?'城管':'需求'}}</text>
{{item.name}} {{item.mobile}}
</view>
<text class="gray_small">{{item.status == 'processing'?'处理中':'已完成'}}</text>
</view>
<view style="margin-top: 10rpx;">
<text class="card_content" maxLines="{{2}}" overflow="ellipsis">{{item.content}}</text>
</view>
<view class="bottom">
<view style="color: #C1C1C1;font-size: 26rpx;">{{item.time}}</view>
<view style="color: #c1c1c1;font-size: 26rpx;">{{item.time}}</view>
<view style="color: {{item.status == 'processing'?'#e07f2f':'#C1C1C1'}};font-size: 28rpx;">{{item.status == 'processing'?'处理中':'已完成'}}</view>
</view>
</view>
<load-more loadVisible="{{loadMoreVisible}}" loadType="{{loadMoreType}}" ></load-more>

2
subpages/myTroubleshootDemand/pages/index/index.wxss

@ -67,7 +67,7 @@ page {
width: 100%;
background-color: #fff;
display: flex;
height: 180rpx;
min-height: 180rpx;
flex-direction: column;
border-radius: 20rpx;
padding: 20rpx 30rpx;

Loading…
Cancel
Save