This commit is contained in:
liuye
2022-01-22 17:37:09 +08:00
parent fc526e6c2d
commit d8ef701748
17 changed files with 373 additions and 4 deletions

View File

@@ -16,7 +16,7 @@
<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" />
<u-input type="text" 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">

Binary file not shown.

After

Width:  |  Height:  |  Size: 891 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 896 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

View File

@@ -1,6 +1,83 @@
<template>
<div class="home">
<div>1111</div>
<div class="header-img">
<img src="./components/img/mdtj.png" alt="">
</div>
<div class="tab-flex">
<div class="item" v-for="(item, index) in tabs" :key="index">
<img :src="item.icon" alt="">
<p>{{item.text}}</p>
</div>
</div>
<div class="app-list">
<div class="item" v-for="(item, index) in appList" :key="index">
<img :src="item.icon" alt="">
<p>{{item.text}}</p>
</div>
</div>
<div class="banner-img">
<img src="./components/img/home-banner-center.png" alt="">
</div>
<div class="notice">
<div class="left">
<img src="./components/img/notice.png" alt="">
</div>
<div class="right">
<p><span>最新</span>市委人大工作会议召开关于各县(市委人大工作会议召开关于各县</p>
<p><span>最新</span>市委人大工作会议召开关于各县(市委人大工作会议召开关于各县</p>
</div>
</div>
<div class="matter">
<div class="left">
<div>
<p :class="tabIndex == 1 ? 'title-matter' : 'title-matter active'" @click="tabIndex = 0">待办事件</p>
<p :class="tabIndex == 1 ? 'title-meet active' : 'title-meet'" @click="tabIndex = 1">待参加会议</p>
<span class="tips" :class="tabIndex == 1 ? 'right-tips' : 'left-tips'"></span>
</div>
<p class="text">即刻提醒,及时跟进工作进度</p>
</div>
<div class="right">
<img src="./components/img/matter-banner.png" alt="">
</div>
</div>
<div class="matter-list">
<div class="item">
<p>
<span>待处理</span>
张家湾地铁站门口有大量建筑垃圾没有进行张家湾地铁站门口有大量建筑垃圾没有进行张家湾地铁站门口有大量建筑垃圾没有进行张家湾地铁站门口有大量建筑垃圾没有进行
</p>
<div class="flex">
<div class="time">
<img src="./components/img/matter-banner.png" alt="">2022-01-10 14:00:08
</div>
<div class="type">民生服务</div>
</div>
</div>
<div class="item">
<p>
<span>待处理</span>
张家湾地铁站门口有大量建筑垃圾没有进行张家湾地铁站门口有大量建筑垃圾没有进行张家湾地铁站门口有大量建筑垃圾没有进行张家湾地铁站门口有大量建筑垃圾没有进行
</p>
<div class="flex">
<div class="time">
<img src="./components/img/matter-banner.png" alt="">2022-01-10 14:00:08
</div>
<div class="type">民生服务</div>
</div>
</div>
<div class="item">
<p>
<span>待处理</span>
张家湾地铁站门口有大量建筑垃圾没有进行张家湾地铁站门口有大量建筑垃圾没有进行张家湾地铁站门口有大量建筑垃圾没有进行张家湾地铁站门口有大量建筑垃圾没有进行
</p>
<div class="flex">
<div class="time">
<img src="./components/img/matter-banner.png" alt="">2022-01-10 14:00:08
</div>
<div class="type">民生服务</div>
</div>
</div>
</div>
</div>
</template>
@@ -9,7 +86,59 @@ export default {
name: 'home',
data() {
return {
tabs: [
{
icon: require('./components/img/mdtj.png'),
text: '矛盾调解'
},
{
icon: require('./components/img/wggl.png'),
text: '网格管理'
},
{
icon: require('./components/img/tsrq.png'),
text: '特殊人群'
},
{
icon: require('./components/img/zfww.png'),
text: '走访慰问'
}
],
appList: [
{
icon: require('./components/img/hytz.png'),
text: '会议通知'
},
{
icon: require('./components/img/txl.png'),
text: '通讯录'
},
{
icon: require('./components/img/wjbd.png'),
text: '问卷表单'
},
{
icon: require('./components/img/swjl.png'),
text: '事务记录'
},
{
icon: require('./components/img/yfzr.png'),
text: '以房找人'
},
{
icon: require('./components/img/jmgl.png'),
text: '居民管理'
},
{
icon: require('./components/img/jkgl.png'),
text: '健康管理'
},
{
icon: require('./components/img/gd.png'),
text: '更多'
},
],
tabIndex: 0
}
},
@@ -25,6 +154,246 @@ export default {
<style lang="scss" scoped>
.home {
position: relative;
overflow: hidden;
background-color: #F4F7FD;
padding-bottom: 100px;
.header-img{
width: 100%;
img{
width: 100%;
height: 324px;
}
}
.tab-flex{
width: calc(100% - 64px);
background: #FFF;
box-shadow: 0px 2px 4px 0px rgba(146, 211, 255, 0.3);
border-radius: 16px;
display: flex;
position: absolute;
top: 300px;
left: 30px;
.item{
flex: 1;
text-align: center;
padding-bottom: 30px;
img{
width: 88px;
height: 88px;
margin-top: 32px;
}
p{
margin-top: 4px;
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #333;
line-height: 40px;
}
}
}
.app-list{
width: 100%;
background: #FFF;
border-radius: 16px 16px 0px 0px;
padding: 194px 32px 16px;
box-sizing: border-box;
overflow: hidden;
.item{
width: 25%;
float: left;
text-align: center;
padding-bottom: 32px;
img{
width: 48px;
height: 48px;
}
p{
margin-top: 8px;
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #333;
line-height: 40px;
}
}
}
.banner-img{
width: 100%;
padding: 0 24px 48px;
background-color: #fff;
box-sizing: border-box;
img{
width: 100%;
height: 168px;
border-radius: 16px;
}
}
.notice{
padding: 24px 58px 22px 32px;
box-sizing: border-box;
background-color: #fff;
display: flex;
margin-bottom: 12px;
.left{
width: 94px;
img{
width: 68px;
height: 82px;
}
}
.right{
width: calc(100% - 94px);
p{
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-bottom: 18px;
span{
display: inline-block;
padding: 0 6px;
line-height: 36px;
border-radius: 4px;
border: 1px solid #23C3E4;
box-sizing: border-box;
font-size: 26px;
font-family: PingFangSC-Regular, PingFang SC;
color: #23C3E4;
margin-right: 16px;
}
}
}
}
.matter{
background-color: #fff;
padding: 20px 24px 28px 32px;
box-sizing: border-box;
display: flex;
border-bottom: 2px solid #f3f6f9;
.left{
width: calc(100% - 328px);
padding-top: 58px;
div{
display: flex;
justify-content: space-between;
position: relative;
height: 52px;
p{
font-size: 30px;
font-family: PingFangSC-Regular, PingFang SC;
color: #999;
line-height: 42px;
position: absolute;
top: 0;
z-index: 9;
}
.title-matter{
left: 0;
}
.title-meet{
right: 0;
}
.active{
font-size: 38px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333;
line-height: 52px;
}
.tips{
display: inline-block;
width: 28px;
height: 28px;
background: linear-gradient(63deg, rgba(228, 244, 252, 0.62) 0%, #D6EDF8 28%, #3AB3F0 100%);
border-radius: 50%;
position: absolute;
top: 0;
z-index: 1;
}
.right-tips{
right: -10px;
}
.left-tips{
left: 128px;
}
}
.text{
font-size: 26px;
font-family: PingFangSC-Regular, PingFang SC;
color: #999;
line-height: 36px;
margin-top: 8px;
}
}
.right{
width: 328px;
img{
width: 286px;
height: 170px;
}
}
}
.matter-list{
.item{
padding: 32px 32px 48px 24px;
box-sizing: border-box;
background-color: #fff;
border-bottom: 1px solid #ddd;
p{
width: 100%;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
font-size: 30px;
font-family: PingFang-SC-Medium, PingFang-SC;
font-weight: 500;
color: #333;
line-height: 40px;
span{
display: inline-block;
padding: 0 10px;
font-size: 24px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #FFF;
line-height: 40px;
border-radius: 8px;
margin-right: 16px;
background-color: #F1826D;
}
}
.flex{
margin-top: 32px;
display: flex;
justify-content: space-between;
img{
width: 28px;
height: 28px;
margin-right: 4px;
}
.time{
font-size: 24px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #666;
line-height: 34px;
}
.type{
display: inline-block;
padding: 0 14px;
font-size: 24px;
font-family: PingFangSC-Regular, PingFang SC;
color: #44B6F0;
line-height: 34px;
border-radius: 18px;
border: 1px solid #44B6F0;
}
}
}
}
}
</style>