Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
aixianling
2021-12-24 12:05:52 +08:00
50 changed files with 293 additions and 225 deletions

View File

@@ -148,6 +148,7 @@ export default {
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => { 'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => {
this.getDetail() this.getDetail()
}) })
uni.setNavigationBarTitle({title: '房屋信息'})
}, },
methods: { methods: {

View File

@@ -139,6 +139,7 @@ export default {
this.getCenterLatLng().then(points => { this.getCenterLatLng().then(points => {
this.getMarkerCluster(points) this.getMarkerCluster(points)
}) })
uni.setNavigationBarTitle({title: '以房找人'})
}, },
created() { created() {
this.$dict.load("communityBuildingType") this.$dict.load("communityBuildingType")

View File

@@ -168,6 +168,7 @@ export default {
'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => { 'isFilingCertificateStatus', 'communityBuildingType', 'yesOrNo', 'BulidResidentType').then(() => {
this.getBuilding() this.getBuilding()
}) })
uni.setNavigationBarTitle({title: '以房找人'})
}, },
methods: { methods: {
getSelectList(communityId) { getSelectList(communityId) {

View File

@@ -37,6 +37,7 @@ export default {
this.$dict.load('BuildLocationStatus').then(() => { this.$dict.load('BuildLocationStatus').then(() => {
this.getList() this.getList()
}) })
uni.setNavigationBarTitle({title: '楼栋列表'})
}, },
methods: { methods: {

View File

@@ -65,6 +65,7 @@ export default {
computed: {...mapState(['user'])}, computed: {...mapState(['user'])},
mounted() { mounted() {
this.initMap() this.initMap()
uni.setNavigationBarTitle({title: '以房找人'})
}, },
methods: { methods: {
initMap() { //初始化地图 initMap() { //初始化地图

View File

@@ -157,6 +157,7 @@ export default {
this.$u.toast('上传成功!') this.$u.toast('上传成功!')
this.getList() this.getList()
this.getStatistic() this.getStatistic()
uni.$emit('updateList')
} }
}) })
} }

View File

@@ -39,6 +39,9 @@ export default {
this.areaName = this.user.areaName this.areaName = this.user.areaName
this.getList() this.getList()
uni.setNavigationBarTitle({title: '乡村相册'}) uni.setNavigationBarTitle({title: '乡村相册'})
uni.$on('updateList', () => {
this.getList()
})
}, },
methods: { methods: {

View File

@@ -67,6 +67,7 @@ export default {
this.$dict.load('girdType', 'girdLevel') this.$dict.load('girdType', 'girdLevel')
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.getLeafNodes() this.getLeafNodes()
uni.setNavigationBarTitle({title: '网格管理'})
}, },
methods: { methods: {
getLeafNodes() { getLeafNodes() {

View File

@@ -117,6 +117,7 @@ export default {
if (res.code == 0) { if (res.code == 0) {
this.flag = false this.flag = false
this.$u.toast('提交成功') this.$u.toast('提交成功')
uni.$emit('updateList')
setTimeout(() => { setTimeout(() => {
uni.navigateBack() uni.navigateBack()
}, 600) }, 600)

View File

@@ -18,8 +18,8 @@
</div> </div>
</div> </div>
</u-index-list> </u-index-list>
<AiEmpty v-if="!list.length"/>
</div> </div>
<AiEmpty v-if="!list.length"/>
<!-- <div class="id-list"> <!-- <div class="id-list">
<div class="item" v-for="(item, index) in list" :key="index"> <div class="item" v-for="(item, index) in list" :key="index">
<u-index-anchor :index="item.label" /> <u-index-anchor :index="item.label" />

View File

@@ -35,6 +35,9 @@ export default {
mounted() { mounted() {
this.getList() this.getList()
uni.setNavigationBarTitle({title: '便民通讯录'}) uni.setNavigationBarTitle({title: '便民通讯录'})
uni.$on('updateList', () => {
this.getList()
})
}, },
methods: { methods: {

View File

@@ -47,8 +47,6 @@
</div> </div>
<div class="btn" @click="submit">确认上报</div> <div class="btn" @click="submit">确认上报</div>
</div> </div>
</template> </template>
@@ -82,6 +80,7 @@ export default {
}, },
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
onLoad() { onLoad() {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
this.$dict.load('marriageType', 'modeType') this.$dict.load('marriageType', 'modeType')
this.forms.areaId = this.user.areaId this.forms.areaId = this.user.areaId
}, },
@@ -133,9 +132,12 @@ export default {
}) })
.then((res) => { .then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast('发布成功')
this.flag = false this.flag = false
uni.navigateTo({ url: `./AppMarryAndDie?indexTabs=1` }) this.$u.toast('发布成功')
uni.$emit('updateList')
setTimeout(() => {
uni.navigateBack()
}, 600)
} }
}) })
} else { } else {

View File

@@ -77,6 +77,7 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
onLoad() { onLoad() {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
this.$dict.load('marriageType', 'modeType').then(() => { this.$dict.load('marriageType', 'modeType').then(() => {
this.getCount() this.getCount()
this.getList() this.getList()

View File

@@ -141,6 +141,7 @@ export default {
}, },
watch: {}, watch: {},
onLoad(o) { onLoad(o) {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
if (o.indexTabs) { if (o.indexTabs) {
this.currentTabs = o.indexTabs this.currentTabs = o.indexTabs
this.getList() this.getList()
@@ -149,6 +150,11 @@ export default {
this.$dict.load('marriageType', 'modeType').then(() => { this.$dict.load('marriageType', 'modeType').then(() => {
this.getEchart() this.getEchart()
}) })
uni.$on('updateList', () => {
this.current = 1
this.getList()
this.getEchart()
})
}, },
mounted() { mounted() {
this.Echart = echarts.init(document.getElementById('yearStatistic')) this.Echart = echarts.init(document.getElementById('yearStatistic'))

View File

@@ -77,6 +77,7 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
onLoad() { onLoad() {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
this.$dict.load('marriageType', 'modeType').then(() => { this.$dict.load('marriageType', 'modeType').then(() => {
this.getCount() this.getCount()
this.getList() this.getList()

View File

@@ -77,6 +77,7 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
onLoad() { onLoad() {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
this.$dict.load('marriageType', 'modeType').then(() => { this.$dict.load('marriageType', 'modeType').then(() => {
this.getCount() this.getCount()
this.getList() this.getList()

View File

@@ -77,6 +77,7 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
onLoad() { onLoad() {
uni.setNavigationBarTitle({ title: '婚丧嫁娶' })
this.$dict.load('marriageType', 'modeType').then(() => { this.$dict.load('marriageType', 'modeType').then(() => {
this.getCount() this.getCount()
this.getList() this.getList()

View File

@@ -131,7 +131,7 @@ export default {
}, },
onShow() { onShow() {
document.title = "会议通知"; uni.setNavigationBarTitle({title: '会议通知'})
this.$dict.load("meetingNoticeBefore", "meetingNoticeAfter"); this.$dict.load("meetingNoticeBefore", "meetingNoticeAfter");
this.getData(); this.getData();
}, },

View File

@@ -145,7 +145,7 @@ export default {
}, },
onShow() { onShow() {
document.title = "新增会议"; uni.setNavigationBarTitle({title: '新增会议'})
this.$dict.load("meetingNoticeBefore", "meetingNoticeAfter"); this.$dict.load("meetingNoticeBefore", "meetingNoticeAfter");
}, },
@@ -258,7 +258,8 @@ export default {
}).then(res => { }).then(res => {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast(status == 1 ? "发布成功" : "保存成功") this.$u.toast(status == 1 ? "发布成功" : "保存成功")
this.$refs["aiBack"].back() // this.$refs["aiBack"].back()
uni.navigateBack()
} }
}) })
}, },

View File

@@ -67,7 +67,7 @@ export default {
} }
}, },
onShow() { onShow() {
document.title = "我发起的"; uni.setNavigationBarTitle({title: '我发起的'})
}, },
created() { created() {
this.injectJWeixin(['sendChatMessage']).then(() => { this.injectJWeixin(['sendChatMessage']).then(() => {

View File

@@ -26,9 +26,11 @@ export default {
headerBg: require('./img/header-bg.png'), headerBg: require('./img/header-bg.png'),
} }
}, },
created() {
uni.setNavigationBarTitle({title: '基层办公'})
},
methods: { methods: {
}, },
} }
</script> </script>

View File

@@ -31,7 +31,9 @@ export default {
headerBg: require('./img/header-bg.png'), headerBg: require('./img/header-bg.png'),
} }
}, },
created() {
uni.setNavigationBarTitle({title: '文明乡风'})
},
methods: { methods: {
}, },

View File

@@ -18,7 +18,7 @@ export default {
url: '../AppResidentActivitie/AppResidentActivities' url: '../AppResidentActivitie/AppResidentActivities'
}, },
{ {
name: '小程序公告', name: '通知公告',
icon: require('./img/xcxgg.png'), icon: require('./img/xcxgg.png'),
url: '../AppUniMsg/AppUniMsg' url: '../AppUniMsg/AppUniMsg'
}, },
@@ -31,7 +31,9 @@ export default {
headerBg: require('./img/header-bg.png'), headerBg: require('./img/header-bg.png'),
} }
}, },
created() {
uni.setNavigationBarTitle({title: '居民互动'})
},
methods: { methods: {
}, },

View File

@@ -15,17 +15,20 @@ export default {
{ {
name: '三会一课', name: '三会一课',
icon: require('./img/shyk.png'), icon: require('./img/shyk.png'),
url: '../party/AppThreeSessions/AppThreeSessions' url: '../party/AppThreeSessions/AppThreeSessions',
isBottom: true
}, },
{ {
name: '党建要闻', name: '党建要闻',
icon: require('./img/djyw.png'), icon: require('./img/djyw.png'),
url: '../AppServicePublic/AppServicePublic?moduleId=95f0f1c509e44d528069bc9f9dc19e53&listName=党建要闻' url: '../AppServicePublic/AppServicePublic?moduleId=95f0f1c509e44d528069bc9f9dc19e53&listName=党建要闻',
isBottom: true
}, },
{ {
name: '党员学习', name: '党员学习',
icon: require('./img/dyxx.png'), icon: require('./img/dyxx.png'),
url: '../party/AppPartyHistoryEducation/classroomList' url: '../party/AppPartyHistoryEducation/classroomList',
isBottom: true
}, },
{ {
name: '在线答题', name: '在线答题',
@@ -36,7 +39,9 @@ export default {
headerBg: require('./img/header-bg.png'), headerBg: require('./img/header-bg.png'),
} }
}, },
created() {
uni.setNavigationBarTitle({title: '基层党建'})
},
methods: { methods: {
}, },

View File

@@ -31,7 +31,9 @@ export default {
headerBg: require('./img/header-bg.png'), headerBg: require('./img/header-bg.png'),
} }
}, },
created() {
uni.setNavigationBarTitle({title: '居民管理'})
},
methods: { methods: {
}, },

View File

@@ -53,8 +53,6 @@
</div> </div>
<div class="btn" @click="submit">保存</div> <div class="btn" @click="submit">保存</div>
</div> </div>
</template> </template>
@@ -99,10 +97,9 @@ export default {
}, },
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
onLoad(o) { onLoad(o) {
console.log(this.user) uni.setNavigationBarTitle({ title: '发布活动' })
this.id = o.id ? o.id : '' this.id = o.id ? o.id : ''
this.$dict.load('realityStatus').then(() => { this.$dict.load('realityStatus').then(() => {
// this.getDetail()
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.forms.areaId = this.user.areaId this.forms.areaId = this.user.areaId
@@ -177,9 +174,12 @@ export default {
}) })
.then((res) => { .then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast('发布成功')
this.flag = false this.flag = false
uni.navigateTo({ url: `./AppResidentActivities` }) this.$u.toast('发布成功')
uni.$emit('updateList')
setTimeout(() => {
uni.navigateBack()
}, 600)
} }
}) })
} else { } else {

View File

@@ -39,6 +39,7 @@ export default {
} }
}, },
onLoad(o) { onLoad(o) {
uni.setNavigationBarTitle({ title: '发布动态' })
this.id = o.id || '' this.id = o.id || ''
}, },
methods: { methods: {
@@ -71,8 +72,10 @@ export default {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast('发布成功') this.$u.toast('发布成功')
this.flag = false this.flag = false
uni.navigateBack()
uni.$emit('refresh') uni.$emit('refresh')
setTimeout(() => {
uni.navigateBack()
}, 600)
} }
}) })
}, },

View File

@@ -75,9 +75,14 @@ export default {
}, },
watch: {}, watch: {},
onLoad() { onLoad() {
uni.setNavigationBarTitle({ title: '居民活动' })
this.$dict.load(['villageActivityStatus']).then(() => { this.$dict.load(['villageActivityStatus']).then(() => {
this.getList() this.getList()
}) })
uni.$on('updateList', () => {
this.current = 1
this.getList()
})
}, },
mounted() {}, mounted() {},
methods: { methods: {

View File

@@ -135,7 +135,7 @@ export default {
} }
}, },
onLoad(option) { onLoad(option) {
console.log(option) uni.setNavigationBarTitle({ title: '活动报名' })
this.id = option.id this.id = option.id
this.$dict.load(['villageActivityStatus']).then(() => { this.$dict.load(['villageActivityStatus']).then(() => {
this.getDetail() this.getDetail()

View File

@@ -66,6 +66,7 @@ export default {
}, },
watch: {}, watch: {},
onLoad() { onLoad() {
uni.setNavigationBarTitle({ title: '居民列表' })
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.getList() this.getList()
}, },
@@ -93,6 +94,8 @@ export default {
change(index) { change(index) {
this.currentTabs = index this.currentTabs = index
this.current = 1
this.datas = []
this.getList() this.getList()
}, },

View File

@@ -65,6 +65,7 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
onLoad(o) { onLoad(o) {
uni.setNavigationBarTitle({ title: '居民档案' })
this.id = o.id this.id = o.id
this.$dict.load('householdRelation', 'fileStatus').then(() => { this.$dict.load('householdRelation', 'fileStatus').then(() => {
this.getDetail() this.getDetail()

View File

@@ -121,6 +121,7 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
onLoad(o) { onLoad(o) {
uni.setNavigationBarTitle({ title: '家庭成员信息' })
this.id = o.id this.id = o.id
this.$dict.load('householdRelation', 'nation', 'education', 'maritalStatus', 'politicsStatus', 'militaryStatus', 'faithType', 'job').then(() => { this.$dict.load('householdRelation', 'nation', 'education', 'maritalStatus', 'politicsStatus', 'militaryStatus', 'faithType', 'job').then(() => {
this.getDetail() this.getDetail()

View File

@@ -159,15 +159,6 @@ export default {
Echarts1: null, Echarts1: null,
Echarts2: null, Echarts2: null,
areaId: '', areaId: '',
currentPeople: 0,
// tabPeopleList: [
// {
// name: '本地居民',
// },
// {
// name: '流动人员',
// },
// ],
current: 1, current: 1,
keyword: '', keyword: '',
data: [], data: [],
@@ -191,6 +182,7 @@ export default {
}, },
watch: {}, watch: {},
onLoad() { onLoad() {
uni.setNavigationBarTitle({ title: '居民信息管理' })
this.getEchart1() this.getEchart1()
this.areaId = this.user.areaId this.areaId = this.user.areaId
}, },
@@ -280,6 +272,7 @@ export default {
}, },
initEcharts1(data) { initEcharts1(data) {
console.log(Object.values(data).map((e) => e.decrease))
var option = { var option = {
legend: { legend: {
data: ['群成员总数', '入群人数', '退群人数'], data: ['群成员总数', '入群人数', '退群人数'],
@@ -516,11 +509,6 @@ export default {
} }
}) })
}, },
changePeople(e) {
this.currentPeople = e
this.getList()
},
}, },
onReachBottom() { onReachBottom() {
this.current = this.current + 1 this.current = this.current + 1

View File

@@ -74,7 +74,6 @@
</template> </template>
<TagManage v-if="showTagManage" /> <TagManage v-if="showTagManage" />
</div> </div>
</template> </template>
@@ -101,6 +100,9 @@ export default {
showTagManage: false, showTagManage: false,
} }
}, },
onLoad() {
uni.setNavigationBarTitle({ title: '添加标签' })
},
computed: { computed: {
tagsList() { tagsList() {
let obj = {} let obj = {}

View File

@@ -2,97 +2,97 @@
<section class="document"> <section class="document">
<div class="card"> <div class="card">
<div class="info"> <div class="info">
<u-image border-radius="4" :src="top.detail.avatar" width="118" height="118"/> <u-image border-radius="4" :src="top.detail.avatar" width="118" height="118" />
<div class="fill"> <div class="fill">
<b>{{ top.detail.realName || top.detail.name }}</b> <b>{{ top.detail.realName || top.detail.name }}</b>
<u-row> <u-row>
<span class="idNumber" v-html="IDObj.id"/> <span class="idNumber" v-html="IDObj.id" />
<a @tap="showID=!showID">{{ IDObj.btn }}</a> <a @tap="showID = !showID">{{ IDObj.btn }}</a>
</u-row> </u-row>
</div> </div>
</div> </div>
<AiCell label="性别">{{ $dict.getLabel("sex", resident.sex) || "-" }}</AiCell> <AiCell label="性别">{{ $dict.getLabel('sex', resident.sex) || '-' }}</AiCell>
<AiCell label="出生日期">{{ resident.birthDate }}</AiCell> <AiCell label="出生日期">{{ resident.birthDate }}</AiCell>
<AiCell label="年龄">{{ resident.age }}</AiCell> <AiCell label="年龄">{{ resident.age }}</AiCell>
<AiCell label="籍贯">{{ resident.birthplaceAreaName }}</AiCell> <AiCell label="籍贯">{{ resident.birthplaceAreaName }}</AiCell>
<AiCell label="民族">{{ $dict.getLabel("nation", resident.nation) || "-" }}</AiCell> <AiCell label="民族">{{ $dict.getLabel('nation', resident.nation) || '-' }}</AiCell>
<AiCell label="文化程度">{{ $dict.getLabel("education", resident.education) || "-" }}</AiCell> <AiCell label="文化程度">{{ $dict.getLabel('education', resident.education) || '-' }}</AiCell>
<AiCell label="兵役状况">{{ $dict.getLabel("militaryStatus", resident.militaryStatus) || "-" }}</AiCell> <AiCell label="兵役状况">{{ $dict.getLabel('militaryStatus', resident.militaryStatus) || '-' }}</AiCell>
<AiCell label="政治面貌">{{ $dict.getLabel("politicsStatus", resident.politicsStatus) || "-" }}</AiCell> <AiCell label="政治面貌">{{ $dict.getLabel('politicsStatus', resident.politicsStatus) || '-' }}</AiCell>
<AiCell label="职业">{{ $dict.getLabel("job", resident.job) || "-" }}</AiCell> <AiCell label="职业">{{ $dict.getLabel('job', resident.job) || '-' }}</AiCell>
<AiCell label="宗教信仰">{{ $dict.getLabel("faithType", resident.faithType) || "-" }}</AiCell> <AiCell label="宗教信仰">{{ $dict.getLabel('faithType', resident.faithType) || '-' }}</AiCell>
</div> </div>
<div class="card"> <div class="card">
<AiCell title label="联络信息"/> <AiCell title label="联络信息" />
<AiCell label="联系方式">{{ resident.phone }}</AiCell> <AiCell label="联系方式">{{ resident.phone }}</AiCell>
<AiCell label="现住址">{{ resident.currentAreaName + resident.currentAddress }}</AiCell> <AiCell label="现住址">{{ resident.currentAreaName + resident.currentAddress }}</AiCell>
</div> </div>
<div class="card"> <div class="card">
<AiCell title label="家庭信息"/> <AiCell title label="家庭信息" />
<AiCell label="是否户主">{{ $dict.getLabel("householdName", resident.householdName) || "-" }}</AiCell> <AiCell label="是否户主">{{ $dict.getLabel('householdName', resident.householdName) || '-' }}</AiCell>
<AiCell label="与户主关系">{{ $dict.getLabel("householdRelation", resident.householdRelation) || "-" }}</AiCell> <AiCell label="与户主关系">{{ $dict.getLabel('householdRelation', resident.householdRelation) || '-' }}</AiCell>
<AiCell label="现住址">{{ resident.householdAreaName + resident.householdAddress }}</AiCell> <AiCell label="现住址">{{ resident.householdAreaName + resident.householdAddress }}</AiCell>
</div> </div>
<div class="card"> <div class="card">
<AiCell title label="家庭成员"/> <AiCell title label="家庭成员" />
<AiTable :data="family" :colConfigs="colConfigs"/> <AiTable :data="family" :colConfigs="colConfigs" />
</div> </div>
</section> </section>
</template> </template>
<script> <script>
export default { export default {
name: "document", name: 'document',
inject: ['top'], inject: ['top'],
computed: { computed: {
IDObj() { IDObj() {
return this.showID ? { return this.showID
id: this.resident?.idNumber, ? {
btn: '隐藏' id: this.resident?.idNumber,
} : { btn: '隐藏',
id: this.resident?.idNumber?.replace(/(\d{10}).+/g, '$1******'), }
btn: '显示' : {
} id: this.resident?.idNumber?.replace(/(\d{10}).+/g, '$1******'),
btn: '显示',
}
}, },
colConfigs() { colConfigs() {
return [ return [
{label: "与户主关系", prop: "householdRelation", width: '160rpx', dict: "householdRelation"}, { label: '与户主关系', prop: 'householdRelation', width: '160rpx', dict: 'householdRelation' },
{label: "姓名", prop: "name", width: '120rpx'}, { label: '姓名', prop: 'name', width: '120rpx' },
{label: "性别", prop: "sex", dict: "sex"}, { label: '性别', prop: 'sex', dict: 'sex' },
{label: "年龄", prop: "age"}, { label: '年龄', prop: 'age' },
{label: "身份证号", prop: "idNumber", width: '320rpx'}, { label: '身份证号', prop: 'idNumber', width: '320rpx' },
] ]
}, },
resident() { resident() {
let obj = {} let obj = {}
Object.keys(this.top.detail?.residentInfo?.resident || {}).map(e => { Object.keys(this.top.detail?.residentInfo?.resident || {}).map((e) => {
obj[e] = this.top.detail?.residentInfo?.resident[e] || "" obj[e] = this.top.detail?.residentInfo?.resident[e] || ''
}) })
return obj return obj
}, },
family() { family() {
return this.top.detail?.residentInfo?.family?.map(e => ({...e, householdRelation: e.householdRelation || "户主"})) return this.top.detail?.residentInfo?.family?.map((e) => ({ ...e, householdRelation: e.householdRelation || '户主' }))
} },
}, },
data() { data() {
return { return {
showID: false, showID: false,
familyList: [] familyList: [],
} }
}, },
created() { onLoad() {
this.$dict.load("sex", "nation", "education", "job", uni.setNavigationBarTitle({ title: '居民详情' })
"faithType", "politicsStatus", "militaryStatus", "householdRelation", this.$dict.load('sex', 'nation', 'education', 'job', 'faithType', 'politicsStatus', 'militaryStatus', 'householdRelation', 'householdName')
"householdName") },
}
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.document { .document {
overflow-y: auto; overflow-y: auto;
background: #F5F5F5; background: #f5f5f5;
.info { .info {
height: 186px; height: 186px;
@@ -101,7 +101,7 @@ export default {
align-items: center; align-items: center;
.fill { .fill {
color: #3C7FC8; color: #3c7fc8;
margin-left: 24px; margin-left: 24px;
font-size: 28px; font-size: 28px;
line-height: 40px; line-height: 40px;

View File

@@ -2,58 +2,57 @@
<section class="info"> <section class="info">
<div class="card"> <div class="card">
<div class="baseInfo"> <div class="baseInfo">
<u-image border-radius="4" :src="top.detail.avatar" width="118" height="118"/> <u-image border-radius="4" :src="top.detail.avatar" width="118" height="118" />
<div class="fill"> <div class="fill">
<b>{{ top.detail.name }}</b> <b>{{ top.detail.name }}</b>
<div v-if="top.detail.type==1" class="wx">@微信</div> <div v-if="top.detail.type == 1" class="wx">@微信</div>
<div v-if="top.detail.type==2">@企业微信</div> <div v-if="top.detail.type == 2">@企业微信</div>
</div> </div>
<div class="certBtn" @tap="handleCert">{{ !isCert ? "实名认证" : "解绑" }}</div> <div class="certBtn" @tap="handleCert">{{ !isCert ? '实名认证' : '解绑' }}</div>
</div> </div>
<u-row> <u-row>
<AiCell class="half" top-label label="来源">{{ $dict.getLabel("wxCustomerAddWay", top.detail.addWay) }}</AiCell> <AiCell class="half" top-label label="来源">{{ $dict.getLabel('wxCustomerAddWay', top.detail.addWay) }}</AiCell>
<AiCell class="half" top-label label="添加时间">{{ top.detail.createTime }}</AiCell> <AiCell class="half" top-label label="添加时间">{{ top.detail.createTime }}</AiCell>
<AiCell class="half" top-label label="真实姓名">{{ top.detail.realName }}</AiCell> <AiCell class="half" top-label label="真实姓名">{{ top.detail.realName }}</AiCell>
<AiCell class="half" top-label label="手机号码">{{ resident.phone || "-" }}</AiCell> <AiCell class="half" top-label label="手机号码">{{ resident.phone || '-' }}</AiCell>
<AiCell class="half" top-label label="家庭积分">{{ resident.familyIntegral }}</AiCell> <AiCell class="half" top-label label="家庭积分">{{ resident.familyIntegral }}</AiCell>
<AiCell class="half" top-label label="个人积分">{{ resident.personalIntegral }}</AiCell> <AiCell class="half" top-label label="个人积分">{{ resident.personalIntegral }}</AiCell>
</u-row> </u-row>
</div> </div>
<div class="card"> <div class="card">
<AiCell title label="公共标签"> <AiCell title label="公共标签">
<u-icon label="添加" size="38" name="iconAdd" custom-prefix="iconfont" color="#1365DD" <u-icon label="添加" size="38" name="iconAdd" custom-prefix="iconfont" color="#1365DD" label-color="#1365DD" @tap="top.showTagManage = true" />
label-color="#1365DD" @tap="top.showTagManage=true"/>
</AiCell> </AiCell>
<AiCell top-label v-for="(op,name) in tagsList" :label="name" :key="name"> <AiCell top-label v-for="(op, name) in tagsList" :label="name" :key="name">
<u-row> <u-row>
<div class="tag" v-for="(tag,j) in op" :key="j">{{ tag }}</div> <div class="tag" v-for="(tag, j) in op" :key="j">{{ tag }}</div>
</u-row> </u-row>
</AiCell> </AiCell>
</div> </div>
<div class="card"> <div class="card">
<AiCell title label="动态"/> <AiCell title label="动态" />
<AiCell top-label> <AiCell top-label>
<div class="logItem" v-for="item in customLogs" :key="item.id"> <div class="logItem" v-for="item in customLogs" :key="item.id">
<div flex class="column" shrink> <div flex class="column" shrink>
<div class="dot"/> <div class="dot" />
<div class="line fill"/> <div class="line fill" />
</div> </div>
<div flex class="start column"> <div flex class="start column">
<b>{{ $dict.getLabel('wxCustomerLogType', item.type) }}</b> <b>{{ $dict.getLabel('wxCustomerLogType', item.type) }}</b>
<span>{{ item.createTime }}</span> <span>{{ item.createTime }}</span>
<div v-html="item.content"/> <div v-html="item.content" />
</div> </div>
</div> </div>
</AiCell> </AiCell>
</div> </div>
<u-mask :show="dialog" @tap="dialog=false"> <u-mask :show="dialog" @tap="dialog = false">
<div class="bindCert" @tap.stop> <div class="bindCert" @tap.stop>
<b class="title">实名认证</b> <b class="title">实名认证</b>
<u-input class="searchInput" v-model="search" clearable placeholder="请输入姓名或身份证号" @input="handleSearch"/> <u-input class="searchInput" v-model="search" clearable placeholder="请输入姓名或身份证号" @input="handleSearch" />
<div class="residents"> <div class="residents">
<div flex class="spb" v-for="(op,i) in result" :key="i" @tap="bindCert(op.id)"> <div flex class="spb" v-for="(op, i) in result" :key="i" @tap="bindCert(op.id)">
<div v-html="op.name"/> <div v-html="op.name" />
<div v-html="op.idNumber"/> <div v-html="op.idNumber" />
</div> </div>
</div> </div>
</div> </div>
@@ -66,10 +65,10 @@
</template> </template>
<script> <script>
import {mapActions} from "vuex"; import { mapActions } from 'vuex'
export default { export default {
name: "info", name: 'info',
inject: ['top'], inject: ['top'],
computed: { computed: {
resident() { resident() {
@@ -77,7 +76,7 @@ export default {
}, },
tagsList() { tagsList() {
let obj = {} let obj = {}
this.top.detail?.tags?.map(e => { this.top.detail?.tags?.map((e) => {
if (e.type == 1 && e?.groupName) { if (e.type == 1 && e?.groupName) {
if (obj?.[e.groupName]) { if (obj?.[e.groupName]) {
obj[e.groupName].push(e.tagName) obj[e.groupName].push(e.tagName)
@@ -92,33 +91,34 @@ export default {
return !!this.top?.detail?.residentInfo return !!this.top?.detail?.residentInfo
}, },
isMobile() { isMobile() {
return ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"] return ['Android', 'iPhone', 'SymbianOS', 'Windows Phone', 'iPad', 'iPod'].some((e) => navigator.userAgent.indexOf(e) > -1)
.some(e => navigator.userAgent.indexOf(e) > -1) },
}
}, },
data() { data() {
return { return {
dialog: false, dialog: false,
search: "", search: '',
result: [], result: [],
customLogs: [] customLogs: [],
} }
}, },
methods: { methods: {
...mapActions(['injectJWeixin', 'wxInvoke']), ...mapActions(['injectJWeixin', 'wxInvoke']),
searchResident() { searchResident() {
this.$http.post("/app/appresident/check-name", null, { this.$http
params: {name: this.search} .post('/app/appresident/check-name', null, {
}).then(res => { params: { name: this.search },
if (res?.data) { })
let reg = new RegExp(this.search, 'g') .then((res) => {
this.result = res.data?.map(e => ({ if (res?.data) {
...e, let reg = new RegExp(this.search, 'g')
name: e.name.replace(reg, `<b>${this.search}</b>`), this.result = res.data?.map((e) => ({
idNumber: e.idNumber.replace(reg, `<b>${this.search}</b>`), ...e,
})) name: e.name.replace(reg, `<b>${this.search}</b>`),
} idNumber: e.idNumber.replace(reg, `<b>${this.search}</b>`),
}) }))
}
})
}, },
handleSearch() { handleSearch() {
if (this.search?.length >= 2) { if (this.search?.length >= 2) {
@@ -129,58 +129,73 @@ export default {
}, },
handleCert() { handleCert() {
if (this.isCert) { if (this.isCert) {
this.$confirm("是否要解绑当前实名认证?").then(() => { this.$confirm('是否要解绑当前实名认证?').then(() => {
this.$http.post("/app/wxcp/wxcustomer/unBindCustomer2Resident", null, { this.$http
params: {residentId: this.resident.id, customerId: this.top.custom} .post('/app/wxcp/wxcustomer/unBindCustomer2Resident', null, {
}).then(res => { params: { residentId: this.resident.id, customerId: this.top.custom },
if (res?.code == 0) { })
this.$u.toast("解除绑定成功!") .then((res) => {
this.top.getContact() if (res?.code == 0) {
} this.$u.toast('解除绑定成功!')
}) this.top.getContact()
}
})
}) })
} else this.dialog = true } else this.dialog = true
}, },
bindCert(residentId) { bindCert(residentId) {
this.dialog = false this.dialog = false
this.$confirm("是否要绑定该居民?").then(() => { this.$confirm('是否要绑定该居民?')
this.$http.post("/app/wxcp/wxcustomer/bindCustomer2Resident", null, { .then(() => {
params: {residentId, customerId: this.top.custom} this.$http
}).then(res => { .post('/app/wxcp/wxcustomer/bindCustomer2Resident', null, {
if (res?.code == 0) { params: { residentId, customerId: this.top.custom },
this.$u.toast("绑定成功!") })
this.top.getContact() .then((res) => {
} if (res?.code == 0) {
}).catch(err => { this.$u.toast('绑定成功!')
this.$u.toast(err) this.top.getContact()
setTimeout(() => this.dialog = true, 1000) }
})
.catch((err) => {
this.$u.toast(err)
setTimeout(() => (this.dialog = true), 1000)
})
}) })
}).catch(() => this.dialog = true) .catch(() => (this.dialog = true))
}, },
getCustomLog(customerId) { getCustomLog(customerId) {
customerId && this.$http.post("/app/wxcp/wxcustomerlog/listAll", null, { customerId &&
params: {customerId} this.$http
}).then(res => { .post('/app/wxcp/wxcustomerlog/listAll', null, {
if (res?.data) { params: { customerId },
this.customLogs = res.data })
} .then((res) => {
}) if (res?.data) {
this.customLogs = res.data
}
})
}, },
handleTel() { handleTel() {
location.href = "tel:" + this.resident.phone location.href = 'tel:' + this.resident.phone
}, },
handleWechat() { handleWechat() {
this.wxInvoke(['openUserProfile', { this.wxInvoke([
type: 2, 'openUserProfile',
userid: this.top.custom {
}, () => 0]) type: 2,
} userid: this.top.custom,
},
() => 0,
])
},
}, },
created() { onLoad() {
this.$dict.load("wxCustomerAddWay", 'wxCustomerLogType') uni.setNavigationBarTitle({ title: '居民详情' })
this.$dict.load('wxCustomerAddWay', 'wxCustomerLogType')
this.getCustomLog(this.top.custom) this.getCustomLog(this.top.custom)
this.injectJWeixin('openUserProfile') this.injectJWeixin('openUserProfile')
} },
} }
</script> </script>
@@ -203,7 +218,7 @@ export default {
align-items: center; align-items: center;
.fill { .fill {
color: #3C7FC8; color: #3c7fc8;
margin-left: 24px; margin-left: 24px;
font-size: 28px; font-size: 28px;
line-height: 40px; line-height: 40px;
@@ -216,7 +231,7 @@ export default {
} }
.wx { .wx {
color: #2EA222; color: #2ea222;
} }
} }
} }
@@ -269,7 +284,7 @@ export default {
.searchInput { .searchInput {
margin: 16px 0; margin: 16px 0;
border: 1px solid #D0D4DC; border: 1px solid #d0d4dc;
border-radius: 8px; border-radius: 8px;
padding: 0 16px !important; padding: 0 16px !important;
flex: 0; flex: 0;
@@ -309,7 +324,7 @@ export default {
width: 16px; width: 16px;
height: 16px; height: 16px;
background: $uni-color-primary; background: $uni-color-primary;
border: 8px solid #FFFFFF; border: 8px solid #ffffff;
border-radius: 50%; border-radius: 50%;
margin: 8px 0; margin: 8px 0;
} }
@@ -346,7 +361,6 @@ export default {
& > div { & > div {
margin-top: 16px; margin-top: 16px;
} }
} }
} }
} }

View File

@@ -11,7 +11,6 @@
<component :is="currentTab.comp" /> <component :is="currentTab.comp" />
</template> </template>
</template> </template>
</section> </section>
</template> </template>
@@ -30,6 +29,9 @@ export default {
id: '', id: '',
} }
}, },
onLoad() {
uni.setNavigationBarTitle({ title: '居民详情' })
},
computed: { computed: {
tabs() { tabs() {
return [ return [

View File

@@ -47,6 +47,7 @@ export default {
}, },
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
onLoad(o) { onLoad(o) {
uni.setNavigationBarTitle({ title: '新增小程序公告' })
this.id = o.id this.id = o.id
this.getDetail() this.getDetail()
}, },
@@ -100,9 +101,12 @@ export default {
}) })
.then((res) => { .then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast('发布成功')
this.flag = false this.flag = false
uni.navigateTo({ url: `./AppUniMsg` }) this.$u.toast('提交成功')
uni.$emit('updateList')
setTimeout(() => {
uni.navigateBack()
}, 600)
} }
}) })
} else { } else {

View File

@@ -1,7 +1,6 @@
<template> <template>
<div class="AppUniMsg"> <div class="AppUniMsg">
<u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6" <u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#3975C6" inactive-color="#fff" active-color="#fff" @change="change"></u-tabs>
inactive-color="#fff" active-color="#fff" @change="change"></u-tabs>
<template v-if="datas.length > 0"> <template v-if="datas.length > 0">
<AiCard v-for="(item, i) in datas" :ref="item.id" :key="i" @click.native="toAdd(item, 1)"> <AiCard v-for="(item, i) in datas" :ref="item.id" :key="i" @click.native="toAdd(item, 1)">
@@ -21,8 +20,7 @@
</div> </div>
<div class="imgs"> <div class="imgs">
<img :src="items.url" alt="" v-for="(items, i) in item.images" :key="i" v-if="i < 3" <img :src="items.url" alt="" v-for="(items, i) in item.images" :key="i" v-if="i < 3" @click.stop="previewImage(item.images, items.url)" />
@click.stop="previewImage(item.images, items.url)"/>
</div> </div>
</template> </template>
@@ -32,22 +30,21 @@
</template> </template>
</AiCard> </AiCard>
<u-loadmore :status="loadmore" color="#999" font-size="24" margin-top="32" margin-bottom="80"/> <u-loadmore :status="loadmore" color="#999" font-size="24" margin-top="32" margin-bottom="80" />
</template> </template>
<AiEmpty description="暂无数据" v-else></AiEmpty> <AiEmpty description="暂无数据" v-else></AiEmpty>
<AiFixedBtn> <AiFixedBtn>
<div class="addBtn iconfont iconfont-iconfangda" @tap.stop="toAdd()"/> <div class="addBtn iconfont iconfont-iconfangda" @tap.stop="toAdd()" />
</AiFixedBtn> </AiFixedBtn>
<u-modal v-model="deletShow" content="您确认要删除该条信息吗?" :show-cancel-button="true" :mask-close-able="true" <u-modal v-model="deletShow" content="您确认要删除该条信息吗?" :show-cancel-button="true" :mask-close-able="true" :show-title="false" @confirm="delet"></u-modal>
:show-title="false" @confirm="delet"></u-modal>
</div> </div>
</template> </template>
<script> <script>
import {mapState} from 'vuex' import { mapState } from 'vuex'
export default { export default {
name: 'AppUniMsg', name: 'AppUniMsg',
@@ -81,36 +78,39 @@ export default {
}, },
watch: {}, watch: {},
onLoad() { onLoad() {
uni.setNavigationBarTitle({ title: '小程序公告' })
this.getList() this.getList()
uni.$on('updateList', () => {
this.current = 1
this.getList()
})
}, },
onShow() { onShow() {},
document.title= "小程序公告"
},
methods: { methods: {
getList() { getList() {
this.$http this.$http
.post('/app/appmininotice/list', null, { .post('/app/appmininotice/list', null, {
params: { params: {
size: this.size, size: this.size,
current: this.current, current: this.current,
createUserId: this.currentTabs == 1 ? this.user.id : '', createUserId: this.currentTabs == 1 ? this.user.id : '',
}, },
}) })
.then((res) => { .then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
if (this.datas) { if (this.datas) {
this.datas.map((item) => { this.datas.map((item) => {
if (item.images) { if (item.images) {
item.images = JSON.parse(item.images || '[]') item.images = JSON.parse(item.images || '[]')
} }
return item return item
}) })
} }
this.pages = res.data.pages this.pages = res.data.pages
} }
}) })
}, },
toAdd(item, type) { toAdd(item, type) {
@@ -118,13 +118,13 @@ export default {
this.$refs?.[item.id]?.[0]?.handleClose() this.$refs?.[item.id]?.[0]?.handleClose()
} }
if (type == '1') { if (type == '1') {
uni.navigateTo({url: `./Detail?id=${item.id}`}) uni.navigateTo({ url: `./Detail?id=${item.id}` })
} }
if (type == '2') { if (type == '2') {
uni.navigateTo({url: `./Add?id=${item.id}`}) uni.navigateTo({ url: `./Add?id=${item.id}` })
} }
if (type == null) { if (type == null) {
uni.navigateTo({url: `./Add`}) uni.navigateTo({ url: `./Add` })
} }
}, },
@@ -150,8 +150,8 @@ export default {
previewImage(images, img) { previewImage(images, img) {
uni.previewImage({ uni.previewImage({
urls: images.map(v => v.url), urls: images.map((v) => v.url),
current: img current: img,
}) })
}, },
}, },

View File

@@ -33,6 +33,7 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
onLoad(o) { onLoad(o) {
uni.setNavigationBarTitle({ title: '公告详情' })
this.id = o.id this.id = o.id
this.getDetail() this.getDetail()
}, },
@@ -48,10 +49,10 @@ export default {
} }
}) })
}, },
previewImage (images, img) { previewImage(images, img) {
uni.previewImage({ uni.previewImage({
urls: images.map(v => v.url), urls: images.map((v) => v.url),
current: img current: img,
}) })
}, },
}, },

View File

@@ -108,10 +108,15 @@ export default {
...mapState(['user']), ...mapState(['user']),
}, },
onLoad() { onLoad() {
uni.setNavigationBarTitle({ title: '走访慰问' })
this.areaId = this.user.areaId this.areaId = this.user.areaId
this.$dict.load('realityStatus').then(() => { this.$dict.load('realityStatus').then(() => {
this.getList() this.getList()
}) })
uni.$on('updateList', () => {
this.current = 1
this.getList()
})
}, },
mounted() {}, mounted() {},
methods: { methods: {

View File

@@ -44,8 +44,6 @@
</div> </div>
<div class="btn" @click="submit">保存</div> <div class="btn" @click="submit">保存</div>
</div> </div>
<component v-else :is="comp" :paramss="params" @back="backlist"></component> <component v-else :is="comp" :paramss="params" @back="backlist"></component>
@@ -88,6 +86,7 @@ export default {
}, },
computed: { ...mapState(['user']) }, computed: { ...mapState(['user']) },
created() { created() {
uni.setNavigationBarTitle({ title: '新建走访' })
this.areaIdProps = this.user.areaId this.areaIdProps = this.user.areaId
this.forms.areaId = this.user.areaId this.forms.areaId = this.user.areaId
this.$dict.load('realityStatus').then(() => { this.$dict.load('realityStatus').then(() => {
@@ -150,7 +149,10 @@ export default {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast('保存成功') this.$u.toast('保存成功')
this.flag = false this.flag = false
uni.navigateTo({ url: `./AppWalkask` }) uni.$emit('updateList')
setTimeout(() => {
uni.navigateBack()
}, 600)
} }
}) })
} else { } else {

View File

@@ -31,8 +31,6 @@
<img :src="item.url" alt="" v-for="(item, index) in data.images" :key="index" /> <img :src="item.url" alt="" v-for="(item, index) in data.images" :key="index" />
</div> </div>
</div> </div>
</div> </div>
</template> </template>
@@ -49,7 +47,8 @@ export default {
} }
}, },
computed: {}, computed: {},
created() { onLoad() {
uni.setNavigationBarTitle({ title: '走访详情' })
this.$dict.load('realityStatus').then(() => { this.$dict.load('realityStatus').then(() => {
this.getDetail() this.getDetail()
}) })

View File

@@ -71,7 +71,8 @@ export default {
} }
}, },
computed: {}, computed: {},
created() { onLoad() {
uni.setNavigationBarTitle({ title: '选择走访慰问对象' })
this.getDiyList() this.getDiyList()
}, },
mounted() {}, mounted() {},

View File

@@ -89,6 +89,7 @@ export default {
}, },
watch: {}, watch: {},
onLoad() { onLoad() {
uni.setNavigationBarTitle({ title: '网上办事' })
this.$dict.load('listApprovalStatusHb').then(() => { this.$dict.load('listApprovalStatusHb').then(() => {
this.getList() this.getList()
}) })

View File

@@ -237,6 +237,7 @@ export default {
}, },
}, },
onLoad(options) { onLoad(options) {
uni.setNavigationBarTitle({ title: '审批详情' })
this.objid = options.id this.objid = options.id
this.listType = options.listType this.listType = options.listType
this.getDetail() this.getDetail()

View File

@@ -5,7 +5,6 @@
<u-button type="primary" :custom-style="{ width: '100%', borderRadius: '4px', marginTop: '48px' }" @click="goBack"> <u-button type="primary" :custom-style="{ width: '100%', borderRadius: '4px', marginTop: '48px' }" @click="goBack">
{{ btnText }} {{ btnText }}
</u-button> </u-button>
</div> </div>
</template> </template>
@@ -19,6 +18,7 @@ export default {
} }
}, },
onLoad(val) { onLoad(val) {
uni.setNavigationBarTitle({ title: '审批详情' })
this.flag = val?.flag == 1 this.flag = val?.flag == 1
}, },
methods: { methods: {

View File

@@ -77,7 +77,6 @@
<!-- 日期选择器 --> <!-- 日期选择器 -->
<u-calendar v-model="show" :mode="mode" @change="calendar" /> <u-calendar v-model="show" :mode="mode" @change="calendar" />
</div> </div>
</template> </template>
@@ -102,6 +101,7 @@ export default {
} }
}, },
onLoad(options) { onLoad(options) {
uni.setNavigationBarTitle({ title: '审批详情' })
this.objid = options.id this.objid = options.id
this.type = options.type this.type = options.type

View File

@@ -237,6 +237,7 @@ export default {
}, },
}, },
onLoad(options) { onLoad(options) {
uni.setNavigationBarTitle({ title: '审批详情' })
this.objid = options.id this.objid = options.id
this.listType = options.listType this.listType = options.listType
this.getDetail() this.getDetail()

View File

@@ -6,7 +6,7 @@
<div class="content"> <div class="content">
<div class="title">{{label}}</div> <div class="title">{{label}}</div>
<div class="app-list"> <div class="app-list">
<div class="item" v-for="(item, index) in appList" :key="index" @click="linkTo(item.url)"> <div class="item" v-for="(item, index) in appList" :key="index" @click="linkTo(item.url)" :style="item.isBottom ? 'border-bottom: 1px solid #eee;' : ''">
<div class="icon" :style="`backgroundImage: url(${item.icon});`"></div> <div class="icon" :style="`backgroundImage: url(${item.icon});`"></div>
<p>{{item.name}}</p> <p>{{item.name}}</p>
</div> </div>
@@ -72,7 +72,6 @@ export default {
text-align: center; text-align: center;
padding-bottom: 38px; padding-bottom: 38px;
border-right: 1px solid #eee; border-right: 1px solid #eee;
border-top: 1px solid #eee;
width: calc(33% - 1px); width: calc(33% - 1px);
float: left; float: left;
.icon{ .icon{
@@ -94,11 +93,6 @@ export default {
.item:nth-of-type(3n) { .item:nth-of-type(3n) {
border-right: 0; border-right: 0;
} }
.item:nth-child(1),
.item:nth-child(2),
.item:nth-child(3) {
border-top: 0;
}
} }
} }
} }