123 lines
2.8 KiB
Vue
123 lines
2.8 KiB
Vue
<template>
|
||
<div class="SetList">
|
||
<div class="header">
|
||
<div class="title">事件类别</div>
|
||
<p>成员上报时需要选择事件类别,上报会按照分类进行统计。</p>
|
||
</div>
|
||
<div class="set-list">
|
||
<div class="item">
|
||
<div class="title">小区管理</div>
|
||
<div class="tips-list">
|
||
<span class="tips">公共部位设置地桩锁</span>
|
||
<span class="tips">公共部位桩锁</span>
|
||
<span class="tips">地桩锁</span>
|
||
<span class="tips">公共部位设置地桩锁</span>
|
||
<span class="tips">公共部位桩锁</span>
|
||
<span class="tips">地桩锁</span>
|
||
<span class="tips">公共部位设置地桩锁</span>
|
||
<span class="tips">公共部位桩锁</span>
|
||
<span class="tips">地桩锁</span>
|
||
</div>
|
||
<img src="./components/img/right-icon.png" alt="">
|
||
</div>
|
||
</div>
|
||
<div class="btn" @click="toAddSet">新建分类</div>
|
||
</div>
|
||
</template>
|
||
|
||
<script>
|
||
export default {
|
||
name: 'SetList',
|
||
components: {},
|
||
props: {
|
||
dict: Object,
|
||
instance: Function,
|
||
params: Object,
|
||
},
|
||
data() {
|
||
return {}
|
||
},
|
||
methods: {
|
||
toAddSet() {
|
||
uni.navigateTo({url: './AddSet'})
|
||
}
|
||
},
|
||
}
|
||
</script>
|
||
|
||
<style scoped lang="scss">
|
||
.SetList {
|
||
height: 100%;
|
||
background-color: #fff;
|
||
.header{
|
||
padding: 40px 30px 74px;
|
||
.title{
|
||
font-size: 42px;
|
||
font-family: PingFangSC-Regular, PingFang SC;
|
||
color: #333;
|
||
line-height: 48px;
|
||
margin-bottom: 16px;
|
||
}
|
||
p{
|
||
width: 100%;
|
||
font-size: 30px;
|
||
font-family: PingFangSC-Regular, PingFang SC;
|
||
color: #999;
|
||
line-height: 42px;
|
||
word-break: break-all;
|
||
}
|
||
}
|
||
.set-list{
|
||
padding: 0 28px 120px;
|
||
.item{
|
||
width: 100%;
|
||
padding-bottom: 20px;
|
||
border-bottom: 1px solid #E9EAEB;
|
||
position: relative;
|
||
.title{
|
||
font-size: 34px;
|
||
font-family: PingFangSC-Regular, PingFang SC;
|
||
color: #333;
|
||
line-height: 48px;
|
||
margin-bottom: 22px;
|
||
}
|
||
.tips-list{
|
||
width: calc(100% - 68px);
|
||
}
|
||
.tips{
|
||
display: inline-block;
|
||
line-height: 64px;
|
||
background: #F7F8F9;
|
||
border-radius: 8px;
|
||
padding: 0 20px;
|
||
font-size: 30px;
|
||
font-family: PingFangSC-Regular, PingFang SC;
|
||
color: #999;
|
||
margin: 0 16px 24px 0;
|
||
}
|
||
img{
|
||
width: 40px;
|
||
height: 40px;
|
||
position: absolute;
|
||
top: 50%;
|
||
right: 20px;
|
||
}
|
||
}
|
||
}
|
||
.btn{
|
||
width: 100%;
|
||
line-height: 112px;
|
||
background: #3975C6;
|
||
box-shadow: inset 0px 1px 0px 0px #EEEEEE;
|
||
position: fixed;
|
||
bottom: 0;
|
||
left: 0;
|
||
text-align: center;
|
||
font-size: 32px;
|
||
font-family: PingFangSC-Medium, PingFang SC;
|
||
font-weight: 500;
|
||
color: #FFF;
|
||
}
|
||
}
|
||
</style>
|