This commit is contained in:
liuye
2022-01-24 13:35:32 +08:00
parent 196b342a9d
commit 558607dd6b
7 changed files with 165 additions and 6 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="text" placeholder="请输入" v-model="userInfo.phone" input-align="right" placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="11" :clearable="false" />
<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">

View File

@@ -21,7 +21,7 @@ export default {
data() {
return {
component: 'home',
component: 'statistics',
params: {},
refresh: true,
tabIndex: 0,

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@@ -184,7 +184,7 @@ export default {
position: relative;
overflow: hidden;
background-color: #F4F7FD;
padding-bottom: 120px;
height: calc(100% - 98px);
.header-img{
width: 100%;
img{

View File

@@ -1,6 +1,53 @@
<template>
<div class="statistics">
<div class="tab-select">
<div class="item">
本周<img src="./components/img/down-icon-666.png" alt="">
</div>
<div class="item">
所有网格<img src="./components/img/down-icon-666.png" alt="">
</div>
</div>
<p class="time-title">2021-12-18 2022-1-14</p>
<div class="num-content">
<div class="item">
<p>新增居民群</p>
<h2>341</h2>
<img src="./components/img/down-icon-666.png" alt="">
<span class="right-line"></span>
</div>
<div class="item">
<p>新增居民群</p>
<h2>341</h2>
<img src="./components/img/down-icon-666.png" alt="">
<span class="right-line"></span>
</div>
<div class="item">
<p>新增居民群</p>
<h2>341</h2>
<img src="./components/img/down-icon-666.png" alt="">
<span class="right-line"></span>
</div>
<div class="item">
<p>新增居民群</p>
<h2>341</h2>
<img src="./components/img/down-icon-666.png" alt="">
<span class="right-line"></span>
</div>
</div>
<div class="list-content">
<div class="title">
<div class="text">网格入群数排行</div>
<div class="more">更多<img src="./components/img/right-icon-999.png" alt=""></div>
</div>
<div class="item">
<div>
<span>1</span>
<p>千岩街网格一</p>
</div>
<div>6702</div>
</div>
</div>
</div>
</template>
@@ -19,13 +66,125 @@ export default {
},
onShow() {
document.title = '统计'
},
}
</script>
<style lang="scss" scoped>
.statistics {
height: calc(100% - 98px);
background-color: #F6F8F8;
.tab-select{
display: flex;
background-color: #fff;
.item{
flex: 1;
text-align: center;
line-height: 88px;
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #666;
img{
width: 32px;
height: 32px;
margin-left: 8px;
vertical-align: middle;
}
}
}
.time-title{
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #666;
line-height: 28px;
padding-left: 54px;
margin: 28px 0 38px 0;
}
.num-content{
width: calc(100% - 32px);
margin: 0 16px 32px 16px;
padding: 0 20px 0 4px;
box-sizing: border-box;
background-color: #fff;
overflow: hidden;
.item{
display: inline-block;
width: 50%;
float: left;
position: relative;
margin-top: 36px;
padding: 0 44px 36px 48px;
box-sizing: border-box;
border-bottom: 1px solid #F5F6F9;
p{
font-size: 26px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #71777E;
line-height: 36px;
margin-top: -18px;
}
h2{
font-size: 40px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333;
line-height: 56px;
}
img{
width: 56px;
position: absolute;
right: 44px;
top: 0;
}
.right-line{
position: absolute;
top: 0;
right: 0;
height: 72px;
border-right: 1px solid #F6F6F6;
}
}
.item:nth-of-type(2n) {
.right-line{
display: none;
}
}
.border-b{
border-bottom: 1px solid #F6F6F6;
}
}
.list-content{
width: calc(100% - 60px);
margin: 0 30px;
border-radius: 16px;
.title{
display: flex;
justify-content: space-between;
background-color: #fff;
padding: 28px 6px 28px 50px;
.text{
font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #000;
line-height: 48px;
}
.more{
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #666;
line-height: 40px;
img{
width: 40px;
height: 40px;
vertical-align: middle;
}
}
}
.item{
background-color: #fff;
}
}
}
</style>