调整工程目录
This commit is contained in:
@@ -38,9 +38,9 @@
|
||||
<u-row justify="between">
|
||||
<u-row>
|
||||
<img
|
||||
class="avatar"
|
||||
:src="item.portrait ? item.portrait : $cdn + 'other/tx.png'"
|
||||
alt=""/>
|
||||
class="avatar"
|
||||
:src="item.portrait ? item.portrait : $cdn + 'other/tx.png'"
|
||||
alt=""/>
|
||||
<div class="wrap">
|
||||
<span class="name">{{ item.nickName }}</span>
|
||||
<span class="date">{{ item.createTime }}</span>
|
||||
@@ -48,7 +48,7 @@
|
||||
</u-row>
|
||||
<u-row>
|
||||
<u-icon :name="$cdn + 'Location2@2x.png'" :custom-style="{width:'20px',height:'20px'}"></u-icon>
|
||||
<span class="date">{{item.areaName}}</span>
|
||||
<span class="date">{{ item.areaName }}</span>
|
||||
</u-row>
|
||||
</u-row>
|
||||
<div class="content">
|
||||
@@ -141,7 +141,7 @@ export default {
|
||||
status: this.currentType,
|
||||
reportType: this.reportIndex == 6 ? null : this.reportIndex,
|
||||
address: this.keyword,
|
||||
areaId:this.user?.areaId
|
||||
areaId: this.user?.areaId
|
||||
}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
|
||||
@@ -30,12 +30,13 @@
|
||||
<text class="title">事件描述</text>
|
||||
<div class="content">{{ detail.explain }}</div>
|
||||
<div class="photos">
|
||||
<img :src="item.url" alt="" v-for="(item,index) in detail.files" :key="index" @click.stop="previewImage(detail.files,index)">
|
||||
<img :src="item.url" alt="" v-for="(item,index) in detail.files" :key="index"
|
||||
@click.stop="previewImage(detail.files,index)">
|
||||
</div>
|
||||
<template v-if="detail.handleResult">
|
||||
<u-row justify="space-between" class="result">
|
||||
<text class="title">处理结果</text>
|
||||
<text>{{detail.integral|formt}}</text>
|
||||
<text>{{ detail.integral|formt }}</text>
|
||||
</u-row>
|
||||
<div class="content">{{ detail.handleResult }}</div>
|
||||
<div class="photos">
|
||||
@@ -93,7 +94,7 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
previewImage(data,index) {
|
||||
previewImage(data, index) {
|
||||
uni.previewImage({
|
||||
urls: data.map(e => e.url),
|
||||
current: data[index].url
|
||||
@@ -117,8 +118,8 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
filters:{
|
||||
formt(val){
|
||||
filters: {
|
||||
formt(val) {
|
||||
return +val > 0 ? `+${val}` : val
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user