调整工程目录
@@ -1,164 +0,0 @@
|
||||
<template>
|
||||
<div class="document-flow">
|
||||
<ai-top-fixed>
|
||||
<header class="pad">
|
||||
<u-search placeholder="请输入公文名称" v-model="documentName" @clear="documentName='',getList()" @search="getList"
|
||||
clearabled :show-action="false" height="64"></u-search>
|
||||
</header>
|
||||
</ai-top-fixed>
|
||||
<div class="list pad" v-if="list.length">
|
||||
<div class="card" v-for="(item,index) in list" :key="index" @click="handleClick(item)">
|
||||
<u-row>
|
||||
<em v-if="item.redStatus==0"></em>
|
||||
<span>{{ item.documentName }}</span>
|
||||
</u-row>
|
||||
<u-gap height="16"></u-gap>
|
||||
<u-row>
|
||||
<label>公文类型:</label>
|
||||
<text style="color: #1365DD;">{{ $dict.getLabel("officialDocumentName", item.documentType) }}</text>
|
||||
</u-row>
|
||||
<u-gap height="8"></u-gap>
|
||||
<u-row>
|
||||
<label>登记人:</label>
|
||||
<text>{{ item.createUserName }}</text>
|
||||
</u-row>
|
||||
<u-gap height="8"></u-gap>
|
||||
<u-row>
|
||||
<label>登记日期:</label>
|
||||
<text>{{ item.createTime }}</text>
|
||||
</u-row>
|
||||
<img :src=" $cdn + tag(item.readType)" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<AiEmpty v-else></AiEmpty>
|
||||
<u-loadmore :status="status" v-if="list.length"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
appName: "(山东)公文流转",
|
||||
data() {
|
||||
return {
|
||||
documentName: "",
|
||||
current: 1,
|
||||
list: [],
|
||||
status: "加载更多"
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.$dict.load("officialDocumentName")
|
||||
},
|
||||
methods: {
|
||||
tag(status) {
|
||||
return {
|
||||
"0": 'common/1ps.png',
|
||||
"1": 'common/2cy.png'
|
||||
}[status]
|
||||
},
|
||||
getList() {
|
||||
this.$http.post("/app/appofficialdocumentinfo/appList", null, {
|
||||
params: {
|
||||
documentName: this.documentName,
|
||||
size: 10,
|
||||
current: this.current
|
||||
}
|
||||
}).then(res => {
|
||||
if (res && res.data) {
|
||||
if (this.current > 1 && this.current > res.data.pages) {
|
||||
this.status = "已经到底啦"
|
||||
}
|
||||
this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
|
||||
}
|
||||
})
|
||||
},
|
||||
handleClick({id}) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/documentFlow/components/detail?id=" + id
|
||||
})
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
this.getList()
|
||||
},
|
||||
onReachBottom() {
|
||||
this.current = this.current + 1;
|
||||
this.getList()
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.document-flow {
|
||||
min-height: 100%;
|
||||
background: #F5F5F5;
|
||||
|
||||
::v-deep .content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
header {
|
||||
height: 112px;
|
||||
background-color: #FFFFFF;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.list {
|
||||
margin: 32px 0;
|
||||
|
||||
.card {
|
||||
background: #FFFFFF;
|
||||
border-radius: 8px;
|
||||
box-sizing: border-box;
|
||||
padding: 32px;
|
||||
position: relative;
|
||||
margin-bottom: 32px;
|
||||
|
||||
.u-row {
|
||||
flex-wrap: nowrap !important;
|
||||
}
|
||||
|
||||
em {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 50%;
|
||||
background-color: #FF4466;
|
||||
font-style: normal;
|
||||
margin-right: 8px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: 30px;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
text {
|
||||
font-size: 30px;
|
||||
color: #343D65;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pad {
|
||||
box-sizing: border-box;
|
||||
padding: 32px 32px 0 32px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,90 +0,0 @@
|
||||
<template>
|
||||
<div class="approval">
|
||||
<div class="card">
|
||||
<header>批示意见</header>
|
||||
<textarea placeholder="请输入批示意见" v-model.trim="description" maxlength="200"></textarea>
|
||||
<u-row justify="between">
|
||||
<span @click="description=''">清空内容</span>
|
||||
<span>{{ description.length || 0 }}/200</span>
|
||||
</u-row>
|
||||
</div>
|
||||
<ai-back/>
|
||||
<u-button type="primary" @click="submit">提交</u-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: "approval",
|
||||
components: {AiBack},
|
||||
data() {
|
||||
return {
|
||||
id: null,
|
||||
description: ""
|
||||
}
|
||||
},
|
||||
onLoad(opt) {
|
||||
this.id = opt.id
|
||||
},
|
||||
methods: {
|
||||
submit() {
|
||||
this.$http.post("/app/appofficialdocumentinfo/instructionById", null, {
|
||||
params: {
|
||||
id: this.id,
|
||||
description: this.description
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast("批示成功")
|
||||
uni.navigateBack()
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.approval {
|
||||
background: #F5F5F5;
|
||||
|
||||
.card {
|
||||
background-color: #FFFFFF;
|
||||
box-sizing: border-box;
|
||||
padding: 32px;
|
||||
|
||||
header {
|
||||
font-size: 32px;
|
||||
color: #333333;
|
||||
margin-bottom: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
span:first-child {
|
||||
font-size: 28px;
|
||||
color: #1365DD;
|
||||
}
|
||||
|
||||
span:last-child {
|
||||
font-size: 24px;
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
|
||||
.u-btn {
|
||||
width: 100%;
|
||||
height: 112px !important;
|
||||
font-size: 32px;
|
||||
color: #FFFFFF;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
background: #197DF0 !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,437 +0,0 @@
|
||||
<template>
|
||||
<div class="detail">
|
||||
<template v-if="!userSelect">
|
||||
<div class="card">
|
||||
<header>{{ detail.documentName }}</header>
|
||||
<u-gap height="16"></u-gap>
|
||||
<u-row>
|
||||
<span>公文编号:</span>
|
||||
<span>{{ detail.documentCode }}</span>
|
||||
</u-row>
|
||||
<u-gap height="8"></u-gap>
|
||||
<u-row>
|
||||
<span>公文类型:</span>
|
||||
<span>{{ $dict.getLabel("officialDocumentName", detail.documentType) }}</span>
|
||||
</u-row>
|
||||
<u-gap height="8"></u-gap>
|
||||
<u-row>
|
||||
<span>紧急程度:</span>
|
||||
<span
|
||||
:style="{color:$dict.getColor('documentEmergencyLevel',detail.emergencyLevel)}">{{ $dict.getLabel("documentEmergencyLevel", detail.emergencyLevel) }}</span>
|
||||
</u-row>
|
||||
<u-gap height="8"></u-gap>
|
||||
<u-row>
|
||||
<span>发文机关:</span>
|
||||
<span>{{ detail.issuingUnit }}</span>
|
||||
</u-row>
|
||||
<u-gap height="8"></u-gap>
|
||||
<u-row>
|
||||
<span>发文字号:</span>
|
||||
<span>{{ detail.issuingFont }}</span>
|
||||
</u-row>
|
||||
<u-gap height="8"></u-gap>
|
||||
<u-row>
|
||||
<span>签发人:</span>
|
||||
<span>{{ detail.signer }}</span>
|
||||
</u-row>
|
||||
<u-gap height="16"></u-gap>
|
||||
<img v-if="detail.confidentialityLevel" :src="$cdn + tag(detail.confidentialityLevel)" alt="">
|
||||
</div>
|
||||
<div class="card" style="margin-bottom: 0;padding-top: 0">
|
||||
<div class="label">备注</div>
|
||||
<span>{{ detail.remark }}</span>
|
||||
</div>
|
||||
<div class="card" style="padding-top: 0" v-if="detail.files && detail.files.length">
|
||||
<div class="label">相关附件</div>
|
||||
<div class="file" v-for="(item,index) in detail.files" :key="index" @click="preFile(item)">
|
||||
<u-row justify="between">
|
||||
<label class="left">
|
||||
<img :src="$cdn + 'common/appendix.png'" alt="">
|
||||
<span>{{ item.fileName }}.{{ item.postfix }}</span>
|
||||
</label>
|
||||
<span>{{ (item.size / 1024).toFixed(2) }}KB</span>
|
||||
</u-row>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="label" style="96px;">{{ detail.readType == 0 ? "流转信息" : "传阅情况" }}
|
||||
<em>({{ $dict.getLabel("documentStatus", detail.status) }})</em></div>
|
||||
<div class="progress">
|
||||
<div class="item" v-for="(item,index) in detail.flowUsers" :key="index">
|
||||
<div class="avatar">{{ item.flowUserName && item.flowUserName.substr(-2) }}</div>
|
||||
<div class="right">
|
||||
<u-row justify="between">
|
||||
<text class="status" :style="{color:item.readStatus==1?'#FF8822':'#1365DD'}">{{
|
||||
$dict.getLabel(detail.readType == 1 ? "readingStatus" :
|
||||
"documentFlowStatus", detail.readType == 0 ? item.flowStatus : item.readStatus)
|
||||
}}
|
||||
</text>
|
||||
<text class="date">{{ item.flowTime }}</text>
|
||||
</u-row>
|
||||
<u-row justify="between">
|
||||
<text class="name">{{ item.flowUserName }}</text>
|
||||
</u-row>
|
||||
<u-row justify="between">
|
||||
<text class="note">{{ item.description }}</text>
|
||||
</u-row>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer" v-if="detail.flowRight==1 && detail.readType==0">
|
||||
<div @click="handleClick(0)">批示</div>
|
||||
<div @click="handleClick(1)">流转</div>
|
||||
</div>
|
||||
|
||||
<div class="footer" v-if="detail.readType==1 && detail.flowRight==1" @click="read"
|
||||
style="background-color: #1365DD;color: #FFFFFF">我已阅完
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
||||
<AiSelectEnterprise :visible.sync="userSelect" v-if="userSelect" :multiple="false"
|
||||
@change="change"></AiSelectEnterprise>
|
||||
|
||||
<AiBack v-if="!userSelect"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AiBack from "../../../components/AiBack";
|
||||
import AiSelectEnterprise from "../../../components/AiSelectEnterprise";
|
||||
import {mapActions} from "vuex";
|
||||
|
||||
export default {
|
||||
name: "detail",
|
||||
components: {AiBack, AiSelectEnterprise},
|
||||
data() {
|
||||
return {
|
||||
id: null,
|
||||
detail: {},
|
||||
userSelect: false,
|
||||
}
|
||||
},
|
||||
|
||||
onLoad(opt) {
|
||||
this.$dict.load("officialDocumentName", "documentEmergencyLevel", "documentStatus", "readingStatus", "documentFlowStatus")
|
||||
this.id = opt.id
|
||||
},
|
||||
|
||||
methods: {
|
||||
...mapActions(['previewFile', 'injectJWeixin']),
|
||||
read() {
|
||||
this.$http.post("/app/appofficialdocumentinfo/readById", null, {
|
||||
params: {
|
||||
id: this.id
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast("已阅读")
|
||||
this.getDetail()
|
||||
}
|
||||
})
|
||||
},
|
||||
preFile(e) {
|
||||
if ([".jpg", ".png", ".gif"].includes(e.postfix.toLowerCase())) {
|
||||
uni.previewImage({
|
||||
current: e.url,
|
||||
urls: [e.url]
|
||||
})
|
||||
} else {
|
||||
this.previewFile({...e})
|
||||
}
|
||||
},
|
||||
change(e) {
|
||||
this.$http.post("/app/appofficialdocumentinfo/flowById", null, {
|
||||
params: {
|
||||
flowUserId: e[0].id,
|
||||
flowUserName: e[0].name,
|
||||
id: this.id,
|
||||
avatar: e[0].avatar,
|
||||
flag: 0
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.$u.toast("流转成功")
|
||||
this.getDetail()
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
tag(status) {
|
||||
return {
|
||||
"0": "common/mm.png",
|
||||
"1": "common/jm.png",
|
||||
"2": "common/tm.png"
|
||||
}[status]
|
||||
},
|
||||
getDetail() {
|
||||
this.$http.post("/app/appofficialdocumentinfo/queryDetailById", null, {
|
||||
params: {
|
||||
id: this.id,
|
||||
flag: 1
|
||||
}
|
||||
}).then(res => {
|
||||
if (res && res.data) {
|
||||
this.detail = res.data
|
||||
}
|
||||
})
|
||||
},
|
||||
handleClick(status) {
|
||||
if (status == 0) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/documentFlow/components/approval?id=" + this.id
|
||||
})
|
||||
} else {
|
||||
this.userSelect = true
|
||||
}
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
this.getDetail()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.detail {
|
||||
min-height: 100%;
|
||||
background-color: #F5F5F5;
|
||||
padding-bottom: 140px;
|
||||
position: relative;
|
||||
|
||||
.card {
|
||||
background-color: #FFFFFF;
|
||||
margin-bottom: 8px;
|
||||
box-sizing: border-box;
|
||||
padding: 16px 32px;
|
||||
position: relative;
|
||||
|
||||
header {
|
||||
font-size: 40px;
|
||||
font-weight: 600;
|
||||
color: #333333;
|
||||
line-height: 64px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.u-row {
|
||||
& > div {
|
||||
background-color: #2266FF;
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
color: #FFFFFF;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
& > span:first-child {
|
||||
font-size: 30px;
|
||||
color: #999999;;
|
||||
line-height: 48px;
|
||||
}
|
||||
|
||||
& > span:last-child {
|
||||
font-size: 30px;
|
||||
color: #343D65;
|
||||
margin-left: 16px;
|
||||
line-height: 48px;
|
||||
}
|
||||
}
|
||||
|
||||
& > img {
|
||||
width: 190px;
|
||||
height: 190px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 74px;
|
||||
}
|
||||
|
||||
& > span {
|
||||
font-size: 32px;
|
||||
color: #333333;
|
||||
line-height: 48px;
|
||||
letter-spacing: 1px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.label {
|
||||
height: 80px;
|
||||
font-size: 32px;
|
||||
color: #333333;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 16px;
|
||||
|
||||
& > em {
|
||||
font-style: normal;
|
||||
font-size: 32px;
|
||||
color: #1365DD;
|
||||
}
|
||||
}
|
||||
|
||||
.file {
|
||||
height: 128px;
|
||||
background: #FFFFFF;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #CCCCCC;
|
||||
box-sizing: border-box;
|
||||
padding: 0 16px;
|
||||
margin-bottom: 32px;
|
||||
|
||||
& > .u-row {
|
||||
height: 100%;
|
||||
|
||||
.left {
|
||||
width: 500px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
& > img {
|
||||
flex-shrink: 0;
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
}
|
||||
|
||||
& > span {
|
||||
font-size: 32px;
|
||||
color: #333333;
|
||||
display: inline-block;
|
||||
line-height: 44px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
}
|
||||
|
||||
& > span {
|
||||
font-size: 28px;
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.active {
|
||||
background-color: #F3F6F9;
|
||||
}
|
||||
|
||||
.progress {
|
||||
margin-top: 8px;
|
||||
|
||||
.item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
min-height: 136px;
|
||||
margin-bottom: 80px;
|
||||
|
||||
.avatar {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 50%;
|
||||
background-color: #2266FF;
|
||||
font-size: 28px;
|
||||
color: #FFFFFF;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.right {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
& > .u-row {
|
||||
margin-left: 40px;
|
||||
|
||||
.status {
|
||||
font-size: 32px;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.date {
|
||||
font-size: 28px;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.name {
|
||||
font-size: 28px;
|
||||
color: #666666;
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
.note {
|
||||
font-size: 28px;
|
||||
color: #343D65;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: "";
|
||||
width: 4px;
|
||||
height: 100%;
|
||||
background-color: #EEEEEE;
|
||||
position: absolute;
|
||||
left: 40px;
|
||||
top: 112px;
|
||||
}
|
||||
|
||||
&:last-child:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
height: 112px;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
background-color: #FFFFFF;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 36px;
|
||||
|
||||
& > div {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
& > div:first-child {
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
& > div:last-child {
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
color: #FFFFFF;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #1365DD;
|
||||
}
|
||||
|
||||
& > label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #1365DD;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,353 +0,0 @@
|
||||
<template>
|
||||
<section class="videoSurveillance">
|
||||
<AiTopFixed>
|
||||
<!-- <div class="header" flex>
|
||||
<div flex v-for="(node,i) in nodes" :key="i">
|
||||
<div :class="{current:isCurrent(i)}" v-text="node.nodeName" @click="gotoNode(node,i)"/>
|
||||
<u-icon v-if="!isCurrent(i)" name="arrow-right" color="#ddd"/>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="area-content">
|
||||
<AiAreaPicker :areaId="user.areaId" v-model="areaId" @select="areaSelect" :name.sync="areaName">
|
||||
<img src="./img/local-icon.png" alt="">
|
||||
<span class="label" v-if="areaName">{{ areaName }}</span>
|
||||
<span v-else>请选择</span>
|
||||
<u-icon name="arrow-down" color="#666" size="24"/>
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
</AiTopFixed>
|
||||
<div class="num-content">
|
||||
<!-- <img src="./img/on-icon.png" alt="">在线 {{count.online || 0}}
|
||||
<img src="./img/off-icon.png" alt="" class="mar-l40">离线 {{count.sum - count.online || 0}} -->
|
||||
<div class="item">
|
||||
<div id="echarts" style="width:100%;height:100%;"></div>
|
||||
<img src="./img/monitor-icon.png" alt="" class="monitor-icon">
|
||||
</div>
|
||||
<div class="item">
|
||||
<h3>{{ count.online || 0 }}</h3>
|
||||
<p>在线</p>
|
||||
</div>
|
||||
<div class="item">
|
||||
<h3>{{ count.sum - count.online || 0 }}</h3>
|
||||
<p>离线</p>
|
||||
</div>
|
||||
<div class="item">
|
||||
<h3>{{ onlineRate * 100 || 0 }}%</h3>
|
||||
<p>在线率</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="list">
|
||||
<div class="item" v-for="row in monitors" :key="row.nodeId" :class="{online:!row.online}">
|
||||
<template v-if="!!row.deviceId">
|
||||
<img :src="`${$cdn}video/video-img.png`" alt="" class="videoIcon" @click="showMonitor(row)">
|
||||
<div class="area-name" v-text="row.deviceName" @click="showMonitor(row)"/>
|
||||
<div class="deviceStatus" v-text="!row.online?'在线':'离线'" @click="showMonitor(row)"/>
|
||||
</template>
|
||||
<template v-else>
|
||||
<div class="area-name" v-text="row.nodeName" @click="getMore(row)"/>
|
||||
<u-icon name="arrow-right" color="#ddd" @click="getMore(row)"/>
|
||||
</template>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="list-content">
|
||||
<div class="item" v-for="(item, index) in list" :key="index" @click="showMonitor(item)">
|
||||
<img class="img" :src="item.indexUrl" alt="" v-if="item.deviceStatus == 1">
|
||||
<img class="img" src="./img/offline.png" alt="" v-else>
|
||||
<p>{{ item.name }}</p>
|
||||
<img class="icon" src="./img/play-icon.png" alt="" v-if="item.deviceStatus == 1">
|
||||
<img class="icon" src="./img/not-play-icon.png" alt="" v-else>
|
||||
</div>
|
||||
<AiEmpty v-if="!list.length"/>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
<script>
|
||||
import echarts from 'echarts'
|
||||
import {mapState} from 'vuex'
|
||||
|
||||
export default {
|
||||
name: "AppIntelligentSecurity",
|
||||
appName: "(山东)视频监控",
|
||||
data() {
|
||||
return {
|
||||
nodes: [
|
||||
{nodeName: "首页"}
|
||||
],
|
||||
monitors: [],
|
||||
|
||||
areaId: '',
|
||||
areaName: '',
|
||||
list: [],
|
||||
count: {},
|
||||
Echart: null,
|
||||
onlineRate: '',
|
||||
offlineRate: ''
|
||||
}
|
||||
},
|
||||
computed: {...mapState(['user'])},
|
||||
methods: {
|
||||
getMonitors(nodeId, queryType = 0) {
|
||||
this.monitors = []
|
||||
this.$http.post("/app/appzyvideoequipment/getTree", {
|
||||
nodeId, queryType
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
this.monitors = JSON.parse(res.data)?.[queryType == 0 ? 'node' : 'device'] || []
|
||||
}
|
||||
})
|
||||
},
|
||||
getMore(row) {
|
||||
this.nodes.push(row)
|
||||
this.getMonitors(row.nodeId, row.hasChild == 1 ? 0 : 1)
|
||||
},
|
||||
isCurrent(index) {
|
||||
return index == Math.max(this.nodes?.length - 1, 0)
|
||||
},
|
||||
gotoNode(node, index) {
|
||||
this.nodes.splice(index + 1)
|
||||
this.getMonitors(node.nodeId)
|
||||
},
|
||||
getList() {
|
||||
this.$http.post(`/app/appzyvideoequipment/getAreaEquipment?areaId=${this.areaId}`).then(res => {
|
||||
if (res?.data) {
|
||||
this.list = res.data.list
|
||||
this.count = res.data.count
|
||||
this.onlineRate = (this.count.online / this.count.sum).toFixed(2)
|
||||
this.offlineRate = (1 - this.onlineRate).toFixed(2)
|
||||
this.initEchart()
|
||||
}
|
||||
})
|
||||
},
|
||||
areaSelect(e) {
|
||||
this.areaId = e
|
||||
this.getList()
|
||||
},
|
||||
showMonitor(row) {
|
||||
if (row.deviceStatus != 1) return
|
||||
uni.navigateTo({url: `./monitorDetail?id=${row.id}`})
|
||||
},
|
||||
initEchart() {
|
||||
var option = {
|
||||
series: [
|
||||
{
|
||||
type: 'pie',
|
||||
radius: ['50%', '60%'],
|
||||
avoidLabelOverlap: false,
|
||||
label: {
|
||||
show: false,
|
||||
position: 'center'
|
||||
},
|
||||
emphasis: {
|
||||
label: {
|
||||
show: false,
|
||||
}
|
||||
},
|
||||
labelLine: {
|
||||
show: false
|
||||
},
|
||||
data: [
|
||||
{value: this.onlineRate},
|
||||
{value: this.offlineRate},
|
||||
],
|
||||
itemStyle: {
|
||||
emphasis: {
|
||||
shadowBlur: 10,
|
||||
shadowOffsetX: 0,
|
||||
shadowColor: 'rgba(0, 0, 0, 0.5)'
|
||||
},
|
||||
normal: {
|
||||
color: function (params) {
|
||||
//自定义颜色
|
||||
var colorList = ['#3192F4', '#ccc',];
|
||||
return colorList[params.dataIndex]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
option && this.Echart.setOption(option)
|
||||
},
|
||||
},
|
||||
onShow() {
|
||||
document.title = '智慧安防'
|
||||
this.areaId = this.user.areaId
|
||||
this.areaName = this.user.areaName
|
||||
this.getList()
|
||||
},
|
||||
mounted() {
|
||||
this.Echart = echarts.init(document.getElementById('echarts'))
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.videoSurveillance {
|
||||
::v-deep .placeholder {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.header {
|
||||
color: #666;
|
||||
|
||||
.current {
|
||||
color: #4E8EEE;
|
||||
}
|
||||
}
|
||||
|
||||
.list {
|
||||
padding-left: 32px;
|
||||
background: #FFF;
|
||||
|
||||
.item {
|
||||
width: 100%;
|
||||
border-bottom: 1px solid #DDD;
|
||||
padding: 0 32px 0 0;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
&.online {
|
||||
.videoIcon {
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.deviceStatus {
|
||||
color: #4E8EEE;
|
||||
background: #E7F1FD;
|
||||
}
|
||||
}
|
||||
|
||||
.videoIcon {
|
||||
width: 48px;
|
||||
height: 32px;
|
||||
margin-right: 8px;
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
|
||||
.area-name {
|
||||
font-size: 34px;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.deviceStatus {
|
||||
margin-left: 8px;
|
||||
height: 22px;
|
||||
padding: 0 8px;
|
||||
line-height: 22px;
|
||||
font-size: 13px;
|
||||
color: #666;
|
||||
background: #E9E9E9;
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.area-content {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
line-height: 64px;
|
||||
|
||||
img {
|
||||
width: 42px;
|
||||
vertical-align: middle;
|
||||
margin-right: 16px;
|
||||
}
|
||||
|
||||
.u-icon {
|
||||
margin-left: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.num-content {
|
||||
width: calc(100% - 40px);
|
||||
height: 164px;
|
||||
background: #EEE;
|
||||
border-radius: 16px;
|
||||
margin: 32px 0 0 20px;
|
||||
display: flex;
|
||||
|
||||
.item {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
|
||||
.monitor-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-left: -24px;
|
||||
margin-top: -24px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 44px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
line-height: 60px;
|
||||
margin-top: 32px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #666;
|
||||
line-height: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.list-content {
|
||||
width: 100%;
|
||||
padding: 38px 0 0 20px;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
|
||||
.item {
|
||||
display: inline-block;
|
||||
width: calc(50% - 36px);
|
||||
margin-right: 36px;
|
||||
border-radius: 16px;
|
||||
position: relative;
|
||||
margin-bottom: 32px;
|
||||
vertical-align: top;
|
||||
|
||||
.img {
|
||||
width: 100%;
|
||||
height: 218px;
|
||||
margin-bottom: 8px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
p {
|
||||
width: 100%;
|
||||
font-size: 34px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #333;
|
||||
line-height: 48px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 40px;
|
||||
height: 48px;
|
||||
position: absolute;
|
||||
top: 84px;
|
||||
left: 158px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 802 B |
|
Before Width: | Height: | Size: 622 B |
@@ -1,86 +0,0 @@
|
||||
<template>
|
||||
<section class="monitorDetail">
|
||||
<div class="videoBox">
|
||||
<iframe ref="monitorIns" :style="style" :src="monitor.url" allow="autoplay *; microphone *; fullscreen *"
|
||||
allowfullscreen allowtransparency allowusermedia frameBorder="no"/>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: "monitorDetail",
|
||||
data() {
|
||||
return {
|
||||
style: {},
|
||||
monitor: {}
|
||||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.$nextTick(() => {
|
||||
this.detectOrient()
|
||||
})
|
||||
document.title = '视频监控'
|
||||
},
|
||||
|
||||
methods: {
|
||||
getDetail(deviceId) {
|
||||
deviceId && this.$http.post("/app/appzyvideoequipment/getWebSdkUrl", null, {
|
||||
params: {deviceId}
|
||||
}).then(res => {
|
||||
if (res?.data) {
|
||||
this.monitor = JSON.parse(res.data)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
detectOrient() {
|
||||
var width = document.querySelector('.monitorDetail').clientWidth
|
||||
var height = document.querySelector('.monitorDetail').clientHeight
|
||||
if (width >= height) { // 竖屏
|
||||
this.style = {
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
transform: 'rotate(0eg)',
|
||||
transformOrigin: `0 0`
|
||||
}
|
||||
} else {
|
||||
this.style = {
|
||||
width: height + 'px',
|
||||
height: width + 'px',
|
||||
transform: 'rotate(90deg)',
|
||||
transformOrigin: `${width / 2}px ${width / 2}px`
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
onLoad(params) {
|
||||
this.getDetail(params.id)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.monitorDetail {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: #000;
|
||||
color: #fff;
|
||||
|
||||
.videoBox {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
|
||||
iframe {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,68 +0,0 @@
|
||||
<template>
|
||||
<div class="AppPeopleList">
|
||||
<div class="banner" v-for="(item, index) in bannerList" :key="index" @click="linkTo(item.linkUrl)">
|
||||
<img :src="item.img" alt="">
|
||||
<p>{{item.title}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'AppPeopleList',
|
||||
appName: '(山东)居民档案',
|
||||
data() {
|
||||
return {
|
||||
bannerList: [
|
||||
{
|
||||
img: require('./components/img/blue-bg.png'),
|
||||
title: '查看居民档案',
|
||||
linkUrl: './PeopleList'
|
||||
},
|
||||
{
|
||||
img: require('./components/img/green-bg.png'),
|
||||
title: '居民档案审核',
|
||||
linkUrl: './ExamineList'
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
document.title = '居民档案'
|
||||
},
|
||||
methods: {
|
||||
linkTo(url) {
|
||||
uni.navigateTo({url})
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
uni-page-body {
|
||||
height: 100%!important;
|
||||
background-color: #fff!important;
|
||||
}
|
||||
.AppPeopleList{
|
||||
height: 100%;
|
||||
padding-top: 16px;
|
||||
.banner{
|
||||
padding: 32px 40px 0;
|
||||
position: relative;
|
||||
img{
|
||||
width: 100%;
|
||||
height: 228px;
|
||||
}
|
||||
p{
|
||||
position: absolute;
|
||||
top: 120px;
|
||||
left: 88px;
|
||||
font-size: 44px;
|
||||
font-family: PingFang-SC-Heavy, PingFang-SC;
|
||||
font-weight: 800;
|
||||
color: #FFF;
|
||||
line-height: 60px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,76 +0,0 @@
|
||||
<template>
|
||||
<div class="Content">
|
||||
<div class="text-area">
|
||||
<div class="title">不通过理由</div>
|
||||
<textarea placeholder="请输入" maxlength="200"></textarea>
|
||||
</div>
|
||||
<div class="footer" @click="submit">
|
||||
<div class="btn">保存</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "Content",
|
||||
data() {
|
||||
return {
|
||||
value: '',
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
document.title = '居民档案审核'
|
||||
},
|
||||
onLoad(option) {
|
||||
// this.id = option.id
|
||||
},
|
||||
methods: {
|
||||
submit() {
|
||||
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.Content {
|
||||
.text-area{
|
||||
padding: 34px 32px;
|
||||
background-color: #fff;
|
||||
.title{
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #333;
|
||||
line-height: 44px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
textarea{
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
word-break: break-all;
|
||||
}
|
||||
}
|
||||
.footer {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
.btn {
|
||||
width: 100%;
|
||||
height: 112px;
|
||||
line-height: 112px;
|
||||
text-align: center;
|
||||
background: #3975C6;
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFF;
|
||||
}
|
||||
.line-bg {
|
||||
width: 100%;
|
||||
height: 16px;
|
||||
background: #F5F5F5;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,209 +0,0 @@
|
||||
<template>
|
||||
<div class="DetailCard">
|
||||
<div class="top"></div>
|
||||
|
||||
<div class="middle">
|
||||
<div class="hint">家庭地址</div>
|
||||
|
||||
<div class="areaHint">
|
||||
<u-icon name="map-fill" color="#73ABFF"></u-icon>
|
||||
<span>{{ resident.currentAreaName }}</span>
|
||||
<span v-if="resident.currentAddress">{{ resident.currentAddress }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bottom">
|
||||
<div class="hints">家庭成员 {{ data.family && data.family.length }}人</div>
|
||||
|
||||
<div v-if="data.family && data.family.length > 0">
|
||||
<div class="card" v-for="(item, i) in data.family" :key="i" @click="toDetailPeople(item)">
|
||||
<div class="photos">
|
||||
<img :src="item.photo" alt="" v-if="item.photo" />
|
||||
<img src="./components/img/44.png" alt="" v-else />
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
<div class="rightTop">
|
||||
<div class="rightTop-lefts">
|
||||
<span class="names">{{ item.name }}</span>
|
||||
<span class="fileStatuss" v-if="item.fileStatus == 1"> {{ $dict.getLabel('fileStatus', item.fileStatus) }}</span>
|
||||
<span class="householdNames" v-if="item.householdName == 1">户主</span>
|
||||
<span class="householdNames" v-else>
|
||||
{{ $dict.getLabel('householdRelation', item.householdRelation) }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="rightTop-rights">
|
||||
<u-section :show-line="false" sub-title="详情"></u-section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="rightBottom">
|
||||
<span>身份证号:</span>
|
||||
<span>{{ item.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1******$2') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<AiEmpty v-else></AiEmpty>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'DetailCard',
|
||||
components: {},
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
id: '',
|
||||
data: [],
|
||||
resident: {},
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
watch: {},
|
||||
onLoad(o) {
|
||||
document.title = '居民档案'
|
||||
this.id = o.id
|
||||
this.$dict.load('householdRelation', 'fileStatus').then(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
},
|
||||
onShow() {},
|
||||
methods: {
|
||||
getDetail() {
|
||||
this.$http.post(`/app/appresident/detail?id=${this.id}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.data = res.data
|
||||
this.$forceUpdate()
|
||||
this.$nextTick(() => {
|
||||
this.resident = res.data.resident
|
||||
this.$forceUpdate()
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
toDetailPeople(item) {
|
||||
uni.navigateTo({ url: `./DetailPeople?id=${item.id}` })
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.DetailCard {
|
||||
height: 100%;
|
||||
.top {
|
||||
height: 112px;
|
||||
background: #3975c6;
|
||||
}
|
||||
|
||||
.middle {
|
||||
margin: -80px 32px 0 32px;
|
||||
padding: 38px 30px 78px 28px;
|
||||
background: #ffffff;
|
||||
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.02);
|
||||
border-radius: 16px;
|
||||
z-index: 999;
|
||||
.hint {
|
||||
font-size: 32px;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
}
|
||||
.areaHint {
|
||||
margin-top: 38px;
|
||||
span {
|
||||
margin-left: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.bottom {
|
||||
margin: 32px 30px 48px 30px;
|
||||
background: #fff;
|
||||
padding: 38px 30px 30px 30px;
|
||||
.hints {
|
||||
margin-bottom: 38px;
|
||||
}
|
||||
.card {
|
||||
display: flex;
|
||||
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.08);
|
||||
border-radius: 16px;
|
||||
padding: 48px 32px;
|
||||
margin-bottom: 32px;
|
||||
.photos {
|
||||
img {
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: 40px;
|
||||
width: 100%;
|
||||
.rightTop {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.rightTop-lefts {
|
||||
.names {
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.householdNames {
|
||||
margin-left: 30px;
|
||||
font-size: 26px;
|
||||
font-weight: 500;
|
||||
color: #5aad6a;
|
||||
}
|
||||
.fileStatuss {
|
||||
display: inline-block;
|
||||
margin-left: 30px;
|
||||
color: #ff4466;
|
||||
background: #ffecef;
|
||||
border-radius: 8px;
|
||||
width: 88px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.rightTop-rights {
|
||||
::v-deep .u-section {
|
||||
.u-section__right-info {
|
||||
color: #3975c6 !important;
|
||||
.u-section__right-info__icon-arrow {
|
||||
.u-icon {
|
||||
.u-icon__icon {
|
||||
color: #3975c6 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.rightBottom {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.card:nth-child(2n-1) {
|
||||
// background: royalblue;
|
||||
background: url(http://respub.sinoecare.net/20211222/装饰-20211222162743.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.card:nth-child(2n) {
|
||||
// background: pink;
|
||||
background: url(http://respub.sinoecare.net/20211222/装饰2-20211222162934.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,253 +0,0 @@
|
||||
<template>
|
||||
<div class="DetailPeople">
|
||||
<div class="top">
|
||||
<div class="photos">
|
||||
<img :src="data.resident.photo" alt="" v-if="data.resident && data.resident.photo" />
|
||||
<img src="./components/img/44.png" alt="" v-else />
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
<div class="rightTop">
|
||||
<span class="names">{{ data.resident && data.resident.name }}</span>
|
||||
<span class="householdNames" v-if="data.resident && data.resident.householdName == 1">户主</span>
|
||||
<span class="householdNames" v-else>
|
||||
{{ $dict.getLabel('householdRelation', data.resident && data.resident.householdRelation) }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="rightBottom" v-if="data.resident && data.resident.phone">{{ data.resident.phone }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<div class="middle">
|
||||
<div class="hint">个人基本信息</div>
|
||||
|
||||
<div class="contents">
|
||||
<div class="item">
|
||||
<span>籍贯</span>
|
||||
<span>{{ data.resident && data.resident.birthplaceAreaName }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span>身份证号</span>
|
||||
<span>{{ data.resident && data.resident.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1****$2') }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span>民族</span>
|
||||
<span v-if="data.resident && data.resident.nation"> {{ $dict.getLabel('nation', data.resident.nation) }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span>文化程度</span>
|
||||
<span v-if="data.resident && data.resident.education">{{ $dict.getLabel('education', data.resident.education) }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span>婚姻状况</span>
|
||||
<span v-if="data.resident && data.resident.maritalStatus">{{ $dict.getLabel('maritalStatus', data.resident.maritalStatus) }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span>政治面貌</span>
|
||||
<span v-if="data.resident && data.resident.politicsStatus">{{ $dict.getLabel('politicsStatus', data.resident.politicsStatus) }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span>兵役状况</span>
|
||||
<span v-if="data.resident && data.resident.militaryStatus">{{ $dict.getLabel('militaryStatus', data.resident.militaryStatus) }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span>宗教信仰</span>
|
||||
<span v-if="data.resident && data.resident.faithType">{{ $dict.getLabel('faithType', data.resident.faithType) }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span>职业</span>
|
||||
<span v-if="data.resident && data.resident.job">{{ $dict.getLabel('job', data.resident.job) }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="lines"></div>
|
||||
|
||||
<div class="bottom">
|
||||
<div class="hint">联络信息</div>
|
||||
|
||||
<div class="contents">
|
||||
<div class="item">
|
||||
<span>联系方式</span>
|
||||
<span class="phones" v-if="data.resident && data.resident.phone" @click="callPhone(data.resident.phone)">{{ data.resident.phone }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span>现住址</span>
|
||||
<span v-if="data.resident && data.resident.currentAreaName">{{ data.resident.currentAreaName }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span>现住详细地址</span>
|
||||
<span v-if="data.resident && data.resident.currentAddress">{{ data.resident.currentAddress }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span>户籍地址</span>
|
||||
<span v-if="data.resident && data.resident.householdAreaName">{{ data.resident.householdAreaName }}</span>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<span>户籍详细地址</span>
|
||||
<span v-if="data.resident && data.resident.householdAddress">{{ data.resident.householdAddress }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pad-b112"></div>
|
||||
<div class="footer">
|
||||
<div>不通过</div>
|
||||
<div class="pass">通过</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'DetailPeople',
|
||||
components: {},
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
id: '',
|
||||
data: [],
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
watch: {},
|
||||
onLoad(o) {
|
||||
this.id = o.id
|
||||
this.$dict.load('householdRelation', 'nation', 'education', 'maritalStatus', 'politicsStatus', 'militaryStatus', 'faithType', 'job').then(() => {
|
||||
this.getDetail()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = '家庭成员信息'
|
||||
},
|
||||
methods: {
|
||||
getDetail() {
|
||||
this.$http.post(`/app/appresident/detail?id=${this.id}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.data = res.data
|
||||
// this.$nextTick(() => {
|
||||
// this.currentAreaName = res.data.resident.currentAreaName
|
||||
// })
|
||||
}
|
||||
})
|
||||
},
|
||||
callPhone(phone) {
|
||||
uni.makePhoneCall({ phoneNumber: phone })
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.DetailPeople {
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
.top {
|
||||
display: flex;
|
||||
padding: 48px 32px 32px 32px;
|
||||
.photos {
|
||||
img {
|
||||
width: 112px;
|
||||
height: 112px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
margin-left: 24px;
|
||||
.rightTop {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.names {
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.householdNames {
|
||||
margin-left: 30px;
|
||||
font-size: 26px;
|
||||
font-weight: 500;
|
||||
color: #5aad6a;
|
||||
}
|
||||
}
|
||||
.rightBottom {
|
||||
margin-top: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.line {
|
||||
height: 8px;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
.middle,
|
||||
.bottom {
|
||||
padding: 0 32px;
|
||||
|
||||
.hint {
|
||||
padding: 32px 0;
|
||||
}
|
||||
|
||||
.contents {
|
||||
.item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 14px 0;
|
||||
.phones {
|
||||
color: #3d94fb;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.lines {
|
||||
height: 4px;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
.pad-b112{
|
||||
padding-bottom: 112px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.footer {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 99999;
|
||||
display: flex;
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
height: 112px;
|
||||
line-height: 112px;
|
||||
text-align: center;
|
||||
div{
|
||||
flex: 1;
|
||||
background: #fff;
|
||||
color: #FF4466;
|
||||
}
|
||||
|
||||
.pass {
|
||||
background: #1365DD;
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,210 +0,0 @@
|
||||
<template>
|
||||
<div class="ExamineList">
|
||||
<AiTopFixed>
|
||||
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6" inactive-color="#CDDCF0" bar-width="48" active-color="#fff " @change="change"></u-tabs>
|
||||
<div class="middle">
|
||||
<div class="left">
|
||||
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" style="color: #666">
|
||||
<u-icon name="map-fill" color="#3192F4" size="20px" style="vertical-align: text-bottom"></u-icon>
|
||||
<span style="margin-left: 4px" v-if="areaName">{{ areaName }}</span>
|
||||
<span v-else>请选择</span>
|
||||
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" />
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
<u-search v-model="keyword" :clearabled="true" placeholder="请输入姓名" :show-action="false" bg-color="#F5F5F5" search-icon-color="#999" color="#999" height="58" @search="handerSearch" @clear="handerClear"></u-search>
|
||||
</div>
|
||||
</AiTopFixed>
|
||||
<div v-if="data.family && data.family.length > 0">
|
||||
<div class="card" v-for="(item, i) in data.family" :key="i" @click="toDetailPeople(item)">
|
||||
<div class="photos">
|
||||
<img :src="item.photo" alt="" v-if="item.photo" />
|
||||
<img src="./components/img/44.png" alt="" v-else />
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="rightTop">
|
||||
<div class="rightTop-lefts">
|
||||
<span class="names">{{ item.name }}</span>
|
||||
<span class="fileStatuss" v-if="item.fileStatus == 1"> {{ $dict.getLabel('fileStatus', item.fileStatus) }}</span>
|
||||
<span class="householdNames" v-if="item.householdName == 1">户主</span>
|
||||
<span class="householdNames" v-else>
|
||||
{{ $dict.getLabel('householdRelation', item.householdRelation) }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="rightTop-rights">
|
||||
<u-section :show-line="false" sub-title="详情"></u-section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="rightBottom">
|
||||
<span>身份证号:</span>
|
||||
<span>{{ item.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1******$2') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<AiEmpty v-else></AiEmpty>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
export default {
|
||||
name: 'ExamineList',
|
||||
components: {},
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
id: '',
|
||||
data: [],
|
||||
resident: {},
|
||||
areaId: '',
|
||||
areaName: '',
|
||||
tabList: [
|
||||
{
|
||||
name: '待处理',
|
||||
},
|
||||
{
|
||||
name: '已处理',
|
||||
},
|
||||
],
|
||||
currentTabs: 0,
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
},
|
||||
onShow() {
|
||||
document.title = '居民档案审核'
|
||||
},
|
||||
methods: {
|
||||
change(index) {
|
||||
this.data = []
|
||||
// this.keyword = ''
|
||||
this.currentTabs = index
|
||||
// this.current = 1
|
||||
// this.getList()
|
||||
},
|
||||
getDetail() {
|
||||
this.$http.post(`/app/appresident/detail?id=${this.id}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.data = res.data
|
||||
this.$forceUpdate()
|
||||
this.$nextTick(() => {
|
||||
this.resident = res.data.resident
|
||||
this.$forceUpdate()
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
toDetailPeople(item) {
|
||||
uni.navigateTo({ url: `./DetailPeople?id=${item.id}` })
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.ExamineList {
|
||||
height: 100%;
|
||||
.card {
|
||||
display: flex;
|
||||
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.08);
|
||||
border-radius: 16px;
|
||||
padding: 48px 32px;
|
||||
margin-bottom: 32px;
|
||||
.photos {
|
||||
img {
|
||||
width: 96px;
|
||||
height: 96px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: 40px;
|
||||
width: 100%;
|
||||
.rightTop {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.rightTop-lefts {
|
||||
.names {
|
||||
font-size: 32px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.householdNames {
|
||||
margin-left: 30px;
|
||||
font-size: 26px;
|
||||
font-weight: 500;
|
||||
color: #5aad6a;
|
||||
}
|
||||
.fileStatuss {
|
||||
display: inline-block;
|
||||
margin-left: 30px;
|
||||
color: #ff4466;
|
||||
background: #ffecef;
|
||||
border-radius: 8px;
|
||||
width: 88px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.rightTop-rights {
|
||||
::v-deep .u-section {
|
||||
.u-section__right-info {
|
||||
color: #3975c6 !important;
|
||||
.u-section__right-info__icon-arrow {
|
||||
.u-icon {
|
||||
.u-icon__icon {
|
||||
color: #3975c6 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.rightBottom {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.card:nth-child(2n-1) {
|
||||
// background: royalblue;
|
||||
background: url(http://respub.sinoecare.net/20211222/装饰-20211222162743.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.card:nth-child(2n) {
|
||||
// background: pink;
|
||||
background: url(http://respub.sinoecare.net/20211222/装饰2-20211222162934.png) no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.middle {
|
||||
display: flex;
|
||||
padding: 24px 32px;
|
||||
.left {
|
||||
width: 40%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
img {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
.u-search {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep .content{
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
}
|
||||
</style>
|
||||
@@ -1,230 +0,0 @@
|
||||
<template>
|
||||
<div class="AppResidentDocument">
|
||||
<div class="areatop">
|
||||
<!-- <div>区域选择</div>
|
||||
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="seachObj"></AiAreaPicker>
|
||||
<u-icon name="photo"></u-icon> -->
|
||||
<!-- @select="areaSelect" -->
|
||||
<u-form label-width="auto">
|
||||
<u-form-item label="区域选择" right-icon="arrow-right" class="areaIds">
|
||||
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="seachObj" :name.sync="areaName"></AiAreaPicker>
|
||||
</u-form-item>
|
||||
</u-form>
|
||||
</div>
|
||||
|
||||
<div class="line"></div>
|
||||
|
||||
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" @change="change"></u-tabs>
|
||||
|
||||
<div class="seachObjs">
|
||||
<u-search v-model="keyword" :clearabled="true" placeholder="姓名/联系方式/身份证后6位" :show-action="false" bg-color="#F5F5F5" search-icon-color="#E2E8F1" color="#666" height="58" @search="handerSearch" @clear="handerClear"></u-search>
|
||||
</div>
|
||||
|
||||
<div class="dataes" v-if="datas.length > 0">
|
||||
<div class="datass" v-for="(item, iindex) in datas" :key="iindex" @click="toDetailCard(item)">
|
||||
<div class="left">
|
||||
<img :src="item.photo" alt="" v-if="item.photo" />
|
||||
<img src="./components/img/4.png" alt="" v-else />
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
<div class="rightTop">{{ item.name }}</div>
|
||||
<div class="rightBottom">
|
||||
<span>{{ item.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1********$2') }}</span>
|
||||
|
||||
<span>{{ item.phone }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<AiEmpty class="emptyWrap" v-else></AiEmpty>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
name: 'AppResidentDocument',
|
||||
appName: '居民档案',
|
||||
components: {},
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
keyword: '',
|
||||
datas: [],
|
||||
current: 1,
|
||||
size: 10,
|
||||
tabList: [
|
||||
{
|
||||
name: '本地居民',
|
||||
},
|
||||
{
|
||||
name: '流动人员',
|
||||
},
|
||||
],
|
||||
currentTabs: 0,
|
||||
areaId: '',
|
||||
areaName: '',
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
this.areaId = this.user.areaId
|
||||
this.areaName = this.user.areaName
|
||||
this.getList()
|
||||
},
|
||||
onShow() {
|
||||
document.title = '居民列表'
|
||||
},
|
||||
methods: {
|
||||
getList() {
|
||||
this.$http
|
||||
.post('/app/appresident/list', null, {
|
||||
params: {
|
||||
size: this.size,
|
||||
current: this.current,
|
||||
con: this.keyword,
|
||||
areaId: this.areaId,
|
||||
residentType: this.currentTabs == 0 ? '0' : '1',
|
||||
},
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
|
||||
|
||||
this.pages = res.data.pages
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
change(index) {
|
||||
this.currentTabs = index
|
||||
this.current = 1
|
||||
this.datas = []
|
||||
this.getList()
|
||||
},
|
||||
|
||||
toDetailCard(item) {
|
||||
uni.navigateTo({ url: `./DetailCard?id=${item.id}` })
|
||||
},
|
||||
|
||||
seachObj(e) {
|
||||
this.areaId = e
|
||||
this.current = 1
|
||||
this.getList()
|
||||
},
|
||||
|
||||
handerSearch(e) {
|
||||
this.keyword = e
|
||||
this.current = 1
|
||||
this.getList()
|
||||
},
|
||||
|
||||
handerClear() {
|
||||
this.keyword = ''
|
||||
this.current = 1
|
||||
this.getList()
|
||||
},
|
||||
},
|
||||
onReachBottom() {
|
||||
this.current = this.current + 1
|
||||
this.getList()
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
uni-page-body {
|
||||
height: 100%;
|
||||
}
|
||||
.AppResidentDocument {
|
||||
height: 100%;
|
||||
.areatop {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.line {
|
||||
height: 16px;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
.seachObjs {
|
||||
border-bottom: 2px solid #f5f5f5;
|
||||
border-top: 2px solid #f5f5f5;
|
||||
padding: 20px 32px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
::v-deep .u-form {
|
||||
width: 100%;
|
||||
.areaIds {
|
||||
.u-form-item__body {
|
||||
.u-form-item--right {
|
||||
.u-form-item--right__content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.u-form-item--right__content__slot {
|
||||
.AiAreaPicker {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
.areaSelector {
|
||||
.location {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.u-form-item--right__content__icon {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dataes {
|
||||
background: #fff;
|
||||
.datass {
|
||||
display: flex;
|
||||
padding: 24px 32px;
|
||||
.left {
|
||||
img {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-left: 32px;
|
||||
width: 100%;
|
||||
.rightTop {
|
||||
font-size: 32px;
|
||||
font-weight: 500;
|
||||
color: #333333;
|
||||
}
|
||||
.rightBottom {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.emptyWrap {
|
||||
background: #f5f5f5;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 50 KiB |
@@ -1,232 +0,0 @@
|
||||
<template>
|
||||
<div class="AppPhoneList">
|
||||
<AiTopFixed>
|
||||
<!-- <div class="header-top">
|
||||
<div>区域选择</div>
|
||||
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="areaSelect" :name.sync="areaName">
|
||||
<span class="label" v-if="areaName">{{ areaName }}</span>
|
||||
<span v-else>请选择</span>
|
||||
<u-icon name="arrow-right" color="#666" size="24" style="margin-left:4px;" />
|
||||
</AiAreaPicker>
|
||||
</div> -->
|
||||
<div class="currentLeft-top">
|
||||
<div class="left">
|
||||
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="areaSelect" :name.sync="areaName">
|
||||
<span class="label" v-if="areaName">{{ areaName }}</span>
|
||||
<span v-else>请选择</span>
|
||||
<u-icon name="arrow-down" color="#666" size="24" style="margin-left:4px;" />
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
|
||||
<u-search v-model="keyword" :clearabled="true" placeholder="请输入标题" :show-action="false" bg-color="#F5F5F5" search-icon-color="#ccc" color="#666" height="58" @search="getList" @clear="handerClear"></u-search>
|
||||
</div>
|
||||
</AiTopFixed>
|
||||
<div class="list-content">
|
||||
<u-index-list :scrollTop="scrollTop" :index-list="indexList">
|
||||
<div v-for="(letter, index) in indexList" :key="index">
|
||||
<u-index-anchor :index="letter"/>
|
||||
<div class="item" v-for="(item, index) in list.filter(e=>e.nameInitials==letter)">
|
||||
<div class="title">{{item.label}}</div>
|
||||
<div class="phone-list">
|
||||
<div class="item-info">
|
||||
<p>{{item.name}}</p>
|
||||
<div class="phone">
|
||||
<span>{{item.type}}</span>{{item.phone}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<img :src="$cdn + 'common/phone.png'" alt="" @click="callPhone(item.phone)" class="phone-icon" >
|
||||
</div>
|
||||
</div>
|
||||
</u-index-list>
|
||||
</div>
|
||||
<AiEmpty v-if="!list.length"/>
|
||||
<!-- <div class="id-list">
|
||||
<div class="item" v-for="(item, index) in list" :key="index">
|
||||
<u-index-anchor :index="item.label" />
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="footer-btn" @click="toAddList">我添加的</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
export default {
|
||||
name: "AppPhoneList",
|
||||
appName: "(山东)便民通讯录",
|
||||
inject: {
|
||||
root: {}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
scrollTop: 0,
|
||||
list: [],
|
||||
indexList: [],
|
||||
areaId: '',
|
||||
areaName: '',
|
||||
keyword: ''
|
||||
}
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
mounted() {
|
||||
this.areaId = this.user.areaId
|
||||
this.areaName = this.user.areaName
|
||||
this.getList()
|
||||
uni.$on('updateList', () => {
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = "便民通讯录"
|
||||
},
|
||||
|
||||
methods: {
|
||||
areaSelect(e) {
|
||||
this.areaId = e
|
||||
this.getList()
|
||||
},
|
||||
callPhone(phone) {
|
||||
uni.makePhoneCall({phoneNumber: phone})
|
||||
},
|
||||
handerClear() {
|
||||
this.keyword = ''
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
this.$http.post(`/app/appconvenientaddressbook/list`, null, {
|
||||
params: {
|
||||
areaId: this.areaId,
|
||||
isPublic: 1,
|
||||
resource: "portal",
|
||||
size: 999,
|
||||
name: this.keyword
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.indexList = [...new Set(res.data.records.map(e=>e.nameInitials))];
|
||||
this.list = res.data.records;
|
||||
}
|
||||
})
|
||||
},
|
||||
toAddList() {
|
||||
// this.$emit('change', {
|
||||
// type: 'MyAddList',
|
||||
// })
|
||||
uni.navigateTo({url: `./myAddList`})
|
||||
},
|
||||
},
|
||||
onPageScroll(e) {
|
||||
this.scrollTop = e.scrollTop;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.AppPhoneList {
|
||||
::v-deep .fixed{
|
||||
z-index: 9999;
|
||||
}
|
||||
.header-top {
|
||||
display: flex;
|
||||
background: #fff;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding-top: 16px;
|
||||
}
|
||||
// background-color: #F3F6F9;
|
||||
.list-content{
|
||||
padding-bottom: 112px;
|
||||
// .title{
|
||||
// padding-left: 48px;
|
||||
// line-height: 64px;
|
||||
// font-size: 26px;
|
||||
// font-family: PingFangSC-Semibold, PingFang SC;
|
||||
// font-weight: 600;
|
||||
// color: #999;
|
||||
// }
|
||||
.item{
|
||||
position: relative;
|
||||
}
|
||||
.phone-list{
|
||||
background-color: #fff;
|
||||
width: 100%;
|
||||
.item-info{
|
||||
width: 680px;
|
||||
padding: 32px 48px;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.02);
|
||||
p{
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 44px;
|
||||
word-break: break-all;
|
||||
margin-bottom: 8px;
|
||||
width: 100%;
|
||||
word-break: break-all;
|
||||
}
|
||||
.phone{
|
||||
font-size: 26px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #333;
|
||||
line-height: 36px;
|
||||
width: 100%;
|
||||
word-break: break-all;
|
||||
span{
|
||||
display: inline-block;
|
||||
margin-right: 16px;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.footer-btn{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
height: 112px;
|
||||
line-height: 112px;
|
||||
background: #3975C6;
|
||||
box-shadow: 0px 1px 0px 0px #EEEEEE;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFF;
|
||||
z-index: 999;
|
||||
}
|
||||
::v-deep .u-index-anchor {
|
||||
top: 0!important;
|
||||
}
|
||||
.phone-icon{
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
vertical-align: sub;
|
||||
position: absolute;
|
||||
top: 60px;
|
||||
right: 64px;
|
||||
}
|
||||
.currentLeft-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.left {
|
||||
width: 40%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
img {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
}
|
||||
::v-deep .u-search{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,191 +0,0 @@
|
||||
<template>
|
||||
<div class="add">
|
||||
<div class="pad-l32">
|
||||
<div class="item border">
|
||||
<span class="label"><span class="tips">*</span>名称</span>
|
||||
<div class="value">
|
||||
<u-input type="text" placeholder="请输入" v-model="userInfo.name" input-align="right" placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="30" :clearable="false" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="item border">
|
||||
<span class="label"><span class="tips">*</span>类型</span>
|
||||
<div class="value">
|
||||
<u-input type="text" placeholder="请输入" v-model="userInfo.type" input-align="right" placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="30" :clearable="false" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="item border">
|
||||
<span class="label"><span class="tips">*</span>电话</span>
|
||||
<div class="value">
|
||||
<u-input type="number" placeholder="请输入" v-model="userInfo.phone" input-align="right" placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="11" :clearable="false" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="item border">
|
||||
<span class="label"><span class="tips">*</span>是否公开</span>
|
||||
<div class="value" @click="showSelect=true">
|
||||
<span v-if="userInfo.isPublic !== ''">{{$dict.getLabel('yesOrNo', userInfo.isPublic)}}</span>
|
||||
<span v-else class="color-999">请选择</span>
|
||||
<u-icon name="arrow-right" color="#cccccc" size="14"></u-icon>
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<span class="label"><span class="tips">*</span>地区</span>
|
||||
<div class="value">
|
||||
<AiAreaPicker :areaId="user.areaId" v-model="userInfo.areaId" :name.sync="userInfo.areaName" @select="areaSelect">
|
||||
<span class="label" v-if="userInfo.areaName">{{ userInfo.areaName }}</span>
|
||||
<span v-else class="color-999">请选择</span>
|
||||
<u-icon name="arrow-right" color="#cccccc" size="14"></u-icon>
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="footer" @click="submit">
|
||||
<div class="btn">保存</div>
|
||||
</div>
|
||||
|
||||
<u-select v-model="showSelect" :list="$dict.getDict('yesOrNo')" label-name="dictName" value-name="dictValue" @confirm="confirmSelect"></u-select>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
export default {
|
||||
props: ['params'],
|
||||
data() {
|
||||
return {
|
||||
id: '',
|
||||
userInfo: {
|
||||
id: '',
|
||||
name: '',
|
||||
phone: '',
|
||||
type: '',
|
||||
isPublic: '',
|
||||
areaId: '',
|
||||
areaName: ''
|
||||
},
|
||||
showSelect: false,
|
||||
flag: true
|
||||
}
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
onLoad(option) {
|
||||
this.userInfo.areaId = this.user.areaId
|
||||
this.userInfo.areaName = this.user.areaName
|
||||
this.$dict.load('yesOrNo').then(() => {
|
||||
if(option.id) {
|
||||
this.userInfo.id = option.id
|
||||
this.getDetail()
|
||||
}
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = "新增"
|
||||
},
|
||||
|
||||
methods: {
|
||||
areaSelect(e) {
|
||||
this.userInfo.areaId = e
|
||||
},
|
||||
confirmSelect(e) {
|
||||
this.userInfo.isPublic = e[0].value
|
||||
},
|
||||
getDetail() {
|
||||
this.$http.post(`/app/appconvenientaddressbook/queryDetailById?id=${this.userInfo.id}`).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.userInfo = res.data
|
||||
}
|
||||
})
|
||||
},
|
||||
submit() {
|
||||
if(!this.userInfo.name) {
|
||||
return this.$u.toast('请输入名称')
|
||||
}
|
||||
if(!this.userInfo.type) {
|
||||
return this.$u.toast('请输入类型')
|
||||
}
|
||||
if(!this.userInfo.phone) {
|
||||
return this.$u.toast('请输入电话')
|
||||
}
|
||||
if(this.userInfo.isPublic === '') {
|
||||
return this.$u.toast('请选择是否公开')
|
||||
}
|
||||
if(!this.userInfo.areaId) {
|
||||
return this.$u.toast('请选择地区')
|
||||
}
|
||||
if(!this.flag) return
|
||||
this.$http.post(`/app/appconvenientaddressbook/addOrUpdate`, this.userInfo).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.flag = false
|
||||
this.$u.toast('提交成功')
|
||||
uni.$emit('updateList')
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
}, 600)
|
||||
}
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.add {
|
||||
padding-bottom: 112px;
|
||||
.border{
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
.item{
|
||||
width: 100%;
|
||||
padding: 40px 32px 40px 0;
|
||||
background: #FFFFFF;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 34px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #666;
|
||||
line-height: 48px;
|
||||
box-sizing: border-box;
|
||||
.color-999{
|
||||
color: #999;
|
||||
}
|
||||
.value{
|
||||
color: #333;
|
||||
.u-icon{
|
||||
margin-left: 16px;
|
||||
}
|
||||
}
|
||||
.tips{
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #FF4466;
|
||||
line-height: 44px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||
.footer{
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
.btn{
|
||||
width: 100%;
|
||||
height: 112px;
|
||||
line-height: 112px;
|
||||
text-align: center;
|
||||
background: #3975C6;
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFF;
|
||||
}
|
||||
.pad-l32{
|
||||
padding-left: 32px;
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 8.2 KiB |
@@ -1,162 +0,0 @@
|
||||
<template>
|
||||
<div class="list">
|
||||
<div class="list-content">
|
||||
<u-index-list :scrollTop="scrollTop" :index-list="indexList">
|
||||
<div v-for="(letter, index) in indexList" :key="index">
|
||||
<u-index-anchor :index="letter"/>
|
||||
<div class="item" v-for="(item, index) in list.filter(e=>e.nameInitials==letter)">
|
||||
<div class="title">{{item.label}}</div>
|
||||
<div class="phone-list">
|
||||
<div class="item-info">
|
||||
<p>{{item.name}}</p>
|
||||
<div class="phone">
|
||||
<span>{{item.type}}</span>{{item.phone}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<img :src="$cdn + 'common/phone.png'" alt="" @click="callPhone(item.phone)" class="phone-icon" >
|
||||
</div>
|
||||
</div>
|
||||
</u-index-list>
|
||||
</div>
|
||||
<AiEmpty v-if="!list.length"/>
|
||||
<!-- <div class="id-list">
|
||||
<div class="item" v-for="(item, index) in list" :key="index">
|
||||
<u-index-anchor :index="item.label" />
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="footer-btn" @click="toAddList">我添加的</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
export default {
|
||||
|
||||
data() {
|
||||
return {
|
||||
scrollTop: 0,
|
||||
list: [],
|
||||
indexList: []
|
||||
}
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
mounted() {
|
||||
this.getList()
|
||||
},
|
||||
onShow() {
|
||||
document.title = "便民通讯录"
|
||||
},
|
||||
|
||||
methods: {
|
||||
callPhone(phone) {
|
||||
uni.makePhoneCall({phoneNumber: phone})
|
||||
},
|
||||
getList() {
|
||||
this.$http.post(`/app/appconvenientaddressbook/list`, null, {
|
||||
params: {
|
||||
areaId: this.user.areaId,
|
||||
isPublic: 1,
|
||||
resource: "portal",
|
||||
size: 999
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.indexList = [...new Set(res.data.records.map(e=>e.nameInitials))];
|
||||
this.list = res.data.records;
|
||||
}
|
||||
})
|
||||
},
|
||||
toAddList() {
|
||||
// this.$emit('change', {
|
||||
// type: 'MyAddList',
|
||||
// })
|
||||
uni.navigateTo({url: `./myAddList`})
|
||||
},
|
||||
},
|
||||
onPageScroll(e) {
|
||||
this.scrollTop = e.scrollTop;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.list {
|
||||
background-color: #F3F6F9;
|
||||
.list-content{
|
||||
padding-bottom: 112px;
|
||||
// .title{
|
||||
// padding-left: 48px;
|
||||
// line-height: 64px;
|
||||
// font-size: 26px;
|
||||
// font-family: PingFangSC-Semibold, PingFang SC;
|
||||
// font-weight: 600;
|
||||
// color: #999;
|
||||
// }
|
||||
.item{
|
||||
position: relative;
|
||||
}
|
||||
.phone-list{
|
||||
background-color: #fff;
|
||||
width: 100%;
|
||||
.item-info{
|
||||
width: 680px;
|
||||
padding: 32px 48px;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.02);
|
||||
p{
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 44px;
|
||||
word-break: break-all;
|
||||
margin-bottom: 8px;
|
||||
width: 100%;
|
||||
word-break: break-all;
|
||||
}
|
||||
.phone{
|
||||
font-size: 26px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #333;
|
||||
line-height: 36px;
|
||||
width: 100%;
|
||||
word-break: break-all;
|
||||
span{
|
||||
display: inline-block;
|
||||
margin-right: 16px;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.footer-btn{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
height: 112px;
|
||||
line-height: 112px;
|
||||
background: #3975C6;
|
||||
box-shadow: 0px 1px 0px 0px #EEEEEE;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFF;
|
||||
z-index: 999;
|
||||
}
|
||||
::v-deep .u-index-anchor {
|
||||
top: 0!important;
|
||||
}
|
||||
.phone-icon{
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
vertical-align: sub;
|
||||
position: absolute;
|
||||
top: 60px;
|
||||
right: 64px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,167 +0,0 @@
|
||||
<template>
|
||||
<div class="myAddList">
|
||||
<div class="list-content" v-if="list.length">
|
||||
<div class="item-info" v-for="(item, index) in list" :key="index">
|
||||
<div class="left">
|
||||
<p>{{item.name}}</p>
|
||||
<div class="phone">
|
||||
<span>{{item.type}}</span>{{item.phone}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<img src="./img/edit-icon.png" alt="" @click="edit(item.id)">
|
||||
<img src="./img/del-icon.png" alt="" @click="del(item)">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="empty" v-else>
|
||||
<img src="./img/empty.png" alt="">
|
||||
<p>您还未添加便民通讯录<br/>点击<span>新增按钮</span>试试吧</p>
|
||||
</div>
|
||||
<div class="footer-btn" @click="edit('')">新增</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
export default {
|
||||
|
||||
data() {
|
||||
return {
|
||||
list: [],
|
||||
}
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
mounted() {
|
||||
this.getList()
|
||||
uni.$on('updateList', () => {
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
document.title = "便民通讯录"
|
||||
},
|
||||
|
||||
methods: {
|
||||
getList() {
|
||||
this.$http.post(`/app/appconvenientaddressbook/list`, null, {
|
||||
params: {
|
||||
areaId: this.user.areaId,
|
||||
createUserId: this.user.id
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.list = res.data.records
|
||||
}
|
||||
})
|
||||
},
|
||||
edit(id) {
|
||||
// this.$emit('change', {
|
||||
// type: 'Add',
|
||||
// params: {
|
||||
// id: id,
|
||||
// }
|
||||
// })
|
||||
uni.navigateTo({url: `./add?id=${id}`})
|
||||
},
|
||||
del(item) {
|
||||
this.$confirm("是否确认删除该发布信息?").then(() => {
|
||||
this.$http.post("/app/appconvenientaddressbook/delete", null, {
|
||||
params: {ids: item.id}
|
||||
}).then(res => {
|
||||
if (res?.code == 0) {
|
||||
this.$u.toast("删除成功!")
|
||||
this.getList()
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.myAddList {
|
||||
height: 100%;
|
||||
background-color: #F3F6F9;
|
||||
.list-content{
|
||||
padding-bottom: 112px;
|
||||
.item-info{
|
||||
width: 100%;
|
||||
padding: 32px 48px;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
margin-bottom: 4px;
|
||||
p{
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 44px;
|
||||
word-break: break-all;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.phone{
|
||||
font-size: 26px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #333;
|
||||
line-height: 36px;
|
||||
span{
|
||||
display: inline-block;
|
||||
margin-right: 16px;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
.left{
|
||||
display: inline-block;
|
||||
width: calc(100% - 176px);
|
||||
}
|
||||
.right{
|
||||
display: inline-block;
|
||||
width: 176px;
|
||||
img{
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
margin-left: 32px;
|
||||
vertical-align: super;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.empty{
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
img{
|
||||
width: 282px;
|
||||
height: 306px;
|
||||
margin: 168px 0 0 234px;
|
||||
}
|
||||
p{
|
||||
text-align: center;
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #999;
|
||||
line-height: 44px;
|
||||
span{
|
||||
color: #467DFE;
|
||||
}
|
||||
}
|
||||
}
|
||||
.footer-btn{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
height: 112px;
|
||||
line-height: 112px;
|
||||
background: #3975C6;
|
||||
box-shadow: 0px 1px 0px 0px #EEEEEE;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #FFF;
|
||||
z-index: 999;
|
||||
}
|
||||
}
|
||||
</style>
|
||||