BUG 25986
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<template>
|
||||
<div class="AppMarryAndDie">
|
||||
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6" inactive-color="#fff" active-color="#fff" @change="change"></u-tabs>
|
||||
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6"
|
||||
inactive-color="#fff" active-color="#fff" @change="change"></u-tabs>
|
||||
|
||||
<div v-show="currentTabs == 0" class="msg">
|
||||
<div class="box">
|
||||
@@ -52,7 +53,7 @@
|
||||
|
||||
<div v-if="currentTabs == 1" class="myReport">
|
||||
<template v-if="datas.length > 0">
|
||||
<AiCard v-for="(item, i) in datas" :key="i">
|
||||
<AiCard v-for="(item, i) in datas" :key="i" :ref="item.id">
|
||||
<template #custom>
|
||||
<div class="names">
|
||||
<span>事主姓名</span>
|
||||
@@ -66,7 +67,9 @@
|
||||
|
||||
<div class="times">
|
||||
<span>上报时间</span>
|
||||
<span class="right" v-if="item.createTime">{{ item.createTime.substring(0, item.createTime.length - 3) }}</span>
|
||||
<span class="right" v-if="item.createTime">{{
|
||||
item.createTime.substring(0, item.createTime.length - 3)
|
||||
}}</span>
|
||||
</div>
|
||||
|
||||
<div class="areaNames">
|
||||
@@ -83,7 +86,8 @@
|
||||
<img :src="e.url" alt="" v-for="(e, i) in item.files" :key="i"/>
|
||||
</div>
|
||||
|
||||
<span class="types" :style="{ background: item.type == 0 ? '#FF65B8' : item.type == 1 ? '#FF883C' : '#1AAAFF' }">
|
||||
<span class="types"
|
||||
:style="{ background: item.type == 0 ? '#FF65B8' : item.type == 1 ? '#FF883C' : '#1AAAFF' }">
|
||||
{{ $dict.getLabel('marriageType', item.type) }}
|
||||
</span>
|
||||
</template>
|
||||
@@ -100,7 +104,8 @@
|
||||
|
||||
<div class="fixedBtn" @click="toAdd">我要上报</div>
|
||||
|
||||
<u-modal v-model="deletShow" content="您确认要删除该条信息吗?" :show-cancel-button="true" :mask-close-able="true" :show-title="false" @confirm="delet"></u-modal>
|
||||
<u-modal v-model="deletShow" content="您确认要删除该条信息吗?" :show-cancel-button="true" :mask-close-able="true"
|
||||
:show-title="false" @confirm="delet"></u-modal>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -253,6 +258,7 @@ export default {
|
||||
toDetele(item) {
|
||||
this.deletShow = true
|
||||
this.deletId = item.id
|
||||
this.$refs?.[item.id]?.[0]?.handleClose()
|
||||
},
|
||||
|
||||
delet() {
|
||||
@@ -305,17 +311,20 @@ uni-page-body {
|
||||
height: 100%;
|
||||
background: #f3f6f9;
|
||||
}
|
||||
|
||||
.AppMarryAndDie {
|
||||
height: 100%;
|
||||
|
||||
.msg {
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
|
||||
.box {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
padding: 32px;
|
||||
|
||||
.card {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -325,20 +334,24 @@ uni-page-body {
|
||||
padding: 18px 24px 34px;
|
||||
box-sizing: border-box;
|
||||
background: #f6f7f8;
|
||||
|
||||
.imgleft {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-right: 20px;
|
||||
width: 64%;
|
||||
|
||||
.titles {
|
||||
font-size: 30px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.titlesContent {
|
||||
font-size: 24px;
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
@@ -361,24 +374,28 @@ uni-page-body {
|
||||
font-size: 32px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.yearStatistics {
|
||||
width: 100%;
|
||||
height: 600px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.myReport {
|
||||
background: #f3f6f9;
|
||||
padding-bottom: 112px;
|
||||
|
||||
::v-deep .AiCard {
|
||||
background: #f3f6f9;
|
||||
|
||||
.start {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: #fff;
|
||||
padding: 32px 32px 36px 32px;
|
||||
border-radius: 16px;
|
||||
|
||||
.names,
|
||||
.phones,
|
||||
.times,
|
||||
@@ -386,6 +403,7 @@ uni-page-body {
|
||||
.contents {
|
||||
display: flex;
|
||||
margin-top: 8px;
|
||||
|
||||
.right {
|
||||
width: 76%;
|
||||
margin-left: 32px;
|
||||
@@ -399,18 +417,22 @@ uni-page-body {
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
.contents {
|
||||
.right {
|
||||
-webkit-line-clamp: 3;
|
||||
}
|
||||
}
|
||||
|
||||
.imgs {
|
||||
margin-top: 8px;
|
||||
|
||||
img {
|
||||
width: 32%;
|
||||
height: 204px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
img:nth-child(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
@@ -424,9 +446,11 @@ uni-page-body {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.mask {
|
||||
.moreMenu {
|
||||
transform: translate(-175px, 20px);
|
||||
|
||||
.menu {
|
||||
text-align: center;
|
||||
line-height: 80px;
|
||||
|
||||
Reference in New Issue
Block a user