静态页面

This commit is contained in:
liuye
2022-04-18 11:34:03 +08:00
parent 2f0e2c95a4
commit 888e82e8ac
8 changed files with 798 additions and 0 deletions

View File

@@ -0,0 +1,133 @@
<template>
<div class="Add">
<div class="flex mar-b16">
<div class="label">
<span class="tips">*</span>党员信息
</div>
<div class="value">
<span class="color-999">请选择</span>
<u-icon name="arrow-right" color="#ddd" size="28"></u-icon>
</div>
</div>
<div class="flex mar-b16">
<div class="label">
<span class="tips">*</span>四邻对象
</div>
<div class="value">
<span class="color-999">请选择</span>
<u-icon name="arrow-right" color="#ddd" size="28"></u-icon>
</div>
</div>
<div class="flex mar-b16">
<div class="label">
<span class="tips">*</span>事件日期
</div>
<div class="value">
<span class="color-999">请选择</span>
<u-icon name="arrow-right" color="#ddd" size="28"></u-icon>
</div>
</div>
<div class="flex">
<div class="label">
<span class="tips">*</span>事件描述
</div>
</div>
<div class="text-area">
<u-input v-model="value" type="textarea" :height="150" :auto-height="true" maxlength="500" placeholder="请输入事件内容描述" placeholder-style="font-size:16px;" />
<div class="hint">{{ value.length }}/500</div>
</div>
<div class="footer">
<div class="btn">确认提交</div>
</div>
</div>
</template>
<script>
import {mapState} from "vuex";
export default {
name: 'Add',
data() {
return {
value: ''
}
},
computed: {
...mapState(['user']),
},
created() {
this.$dict.load('appSpecialTypeFive')
},
onShow() {
document.title = '新增'
},
methods: {
},
}
</script>
<style lang="scss" scoped>
.Add {
.flex{
display: flex;
justify-content: space-between;
padding: 34px 32px 34px 12px;
font-size: 32px;
font-family: PingFangSC-Regular, PingFang SC;
color: #333;
line-height: 44px;
background-color: #fff;
.label{
width: 150px;
.tips{
font-size: 32px;
font-family: PingFangSC-Regular, PingFang SC;
color: #F46;
}
}
.value{
span{
display: inline-block;
margin-right: 12px;
}
.color-999{
color: #999;
}
}
}
.mar-b16{
margin-bottom: 16px;
}
.text-area{
width: 100%;
padding: 0 32px 32px;
background-color: #fff;
box-sizing: border-box;
.hint{
width: 100%;
color: #999;
text-align: right;
}
}
.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;
}
}
</style>

View File

@@ -0,0 +1,193 @@
<template>
<div class="AppFourNeighbor">
<AiTopFixed>
<div flex>
<div class="time-select" @click="showTimeSelect=true">
<img src="./components/img/time-icon.png" alt="" class="time-icon">
<span>{{search.time || '日期选择' }}</span>
<img src="./components/img/down-icon-666.png" alt="" v-if="!search.time" class="mar-r16">
</div>
<u-icon name="close-circle" color="#999" size="32" v-if="search.time" @click="clearTime" class="mar-r16"></u-icon>
<u-search placeholder="请输入四邻对象、描述、党员信息" :show-action="false" search-icon-color="#ccc" v-model="search.title"
@search="isMore = false, search.current = 1, getList()"/>
</div>
</AiTopFixed>
<div class="list-content">
<div class="item" @click="toDetail">
<div class="top">
<p class="title">帮助赵顺伟咨询户口迁移问题帮助赵顺伟咨询户口迁移问题</p>
<div class="info"><span class="label">党员信息</span>张三</div>
<div class="info"><span class="label">四邻对象</span>张三</div>
<div class="info"><span class="label">事件日期</span>2022-04-15</div>
</div>
<div class="bottom status0">
<span class="tips"></span>待审核
</div>
</div>
<div class="item">
<div class="top">
<p class="title">帮助赵顺伟咨询户口迁移问题帮助赵顺伟咨询户口迁移问题</p>
<div class="info"><span class="label">党员信息</span>张三</div>
<div class="info"><span class="label">四邻对象</span>张三</div>
<div class="info"><span class="label">事件日期</span>2022-04-15</div>
</div>
<div class="bottom status0">
<span class="tips"></span>待审核
</div>
</div>
</div>
<div class="footer" @click="toAdd">
<div class="btn">新增联动记录</div>
</div>
<u-picker v-model="showTimeSelect" mode="time" :params="params" @confirm="selectTime"></u-picker>
</div>
</template>
<script>
import {mapState} from "vuex";
export default {
name: 'AppFourNeighbor',
appName: '四邻联动',
data() {
return {
search: {title: '', time: ''},
showTimeSelect: false,
params: {year: true, month: true, day: true, hour: false, minute: false, second: false},
}
},
computed: {
...mapState(['user']),
},
created() {
this.$dict.load('appSpecialTypeFive')
},
onShow() {
document.title = '四邻联动'
},
methods: {
clearTime() {
this.search.time = ''
},
selectTime(e) {
this.search.time = e.year + '-' + e.month + '-' + e.day
},
toAdd() {
uni.navigateTo({url: './Add'})
},
toDetail() {
uni.navigateTo({url: './Detail'})
}
},
}
</script>
<style lang="scss" scoped>
.AppFourNeighbor {
// background-color: #F3F6F9;
::v-deep .AiTopFixed .u-search {
margin-bottom: 0 !important;
}
.mar-r16{
margin-right: 16px;
}
.time-select{
img{
width: 32px;
height: 32px;
vertical-align: bottom;
}
.time-icon{
width: 40px;
height: 40px;
}
span{
display: inline-block;
margin: 0 4px;
font-size: 28px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #666;
line-height: 40px;
}
}
.list-content{
padding: 24px 32px 144px;
.item{
width: 100%;
background: #FFF;
box-shadow: inset 0px 0px 0px 0px #DDDDDD;
border-radius: 16px;
margin-bottom: 24px;
.top{
padding: 32px 32px 24px;
border-bottom: 1px solid #ddd;
.title{
font-size: 32px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333;
line-height: 44px;
margin-bottom: 32px;
}
.info{
font-size: 26px;
font-family: PingFangSC-Regular, PingFang SC;
line-height: 36px;
margin-bottom: 8px;
color: #333;
.label{
display: inline-block;
color: #999;
width: 150px;
}
}
}
.bottom{
padding: 32px;
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
line-height: 40px;
.tips{
display: inline-block;
width: 8px;
height: 8px;
margin-right: 8px;
border-radius: 50%;
vertical-align: middle;
}
}
.status0{
color: #FF883C;
.tips{
background: #FF883C;
}
}
}
}
.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;
}
}
</style>

View File

@@ -0,0 +1,106 @@
<template>
<div class="Add">
<div class="flex">
<div class="label">
<span class="tips">*</span>审核意见
</div>
</div>
<div class="text-area">
<u-input v-model="value" type="textarea" :height="500" :auto-height="true" maxlength="500" placeholder="请输入审核意见" placeholder-style="font-size:16px;" />
<div class="hint">{{ value.length }}/500</div>
</div>
<div class="footer">
<div class="btn">确认提交</div>
</div>
</div>
</template>
<script>
import {mapState} from "vuex";
export default {
name: 'Add',
data() {
return {
value: ''
}
},
computed: {
...mapState(['user']),
},
created() {
this.$dict.load('appSpecialTypeFive')
},
onShow() {
document.title = '新增'
},
methods: {
},
}
</script>
<style lang="scss" scoped>
.Add {
.flex{
display: flex;
justify-content: space-between;
padding: 34px 32px 34px 12px;
font-size: 32px;
font-family: PingFangSC-Regular, PingFang SC;
color: #333;
line-height: 44px;
background-color: #fff;
.label{
width: 150px;
.tips{
font-size: 32px;
font-family: PingFangSC-Regular, PingFang SC;
color: #F46;
}
}
.value{
span{
display: inline-block;
margin-right: 12px;
}
.color-999{
color: #999;
}
}
}
.mar-b16{
margin-bottom: 16px;
}
.text-area{
width: 100%;
padding: 0 32px 32px;
background-color: #fff;
box-sizing: border-box;
.hint{
width: 100%;
color: #999;
text-align: right;
}
}
.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;
}
}
</style>

View File

@@ -0,0 +1,108 @@
<template>
<div class="detail">
<div class="flex mar-b16">
<div class="label">党员信息</div>
<div class="value">待审核</div>
</div>
<div class="flex mar-b16">
<div class="label">四邻对象</div>
<div class="value">张三</div>
</div>
<div class="flex mar-b16">
<div class="label">事件日期</div>
<div class="value">2022-04-15</div>
</div>
<div class="flex">
<div class="label">事件描述</div>
</div>
<div class="content">帮助赵顺伟咨询户口迁移问题</div>
<div class="footer">
<div @click="toContent">审核不通过</div>
<div class="btn">审核通过</div>
</div>
</div>
</template>
<script>
import {mapState} from "vuex";
export default {
name: 'detail',
data() {
return {
value: ''
}
},
computed: {
...mapState(['user']),
},
created() {
this.$dict.load('appSpecialTypeFive')
},
onShow() {
document.title = '四邻联动'
},
methods: {
toContent() {
uni.navigateTo({url: './Content'})
}
},
}
</script>
<style lang="scss" scoped>
.detail {
.flex{
display: flex;
justify-content: space-between;
padding: 34px 32px 34px 32px;
font-size: 32px;
font-family: PingFangSC-Regular, PingFang SC;
color: #333;
line-height: 44px;
background-color: #fff;
.label{
width: 150px;
}
}
.mar-b16{
margin-bottom: 16px;
}
.content{
width: 100%;
padding: 0 32px 32px;
background-color: #fff;
box-sizing: border-box;
font-size: 32px;
font-family: PingFangSC-Regular, PingFang SC;
color: #333;
line-height: 44px;
word-break: break-all;
}
.footer {
width: 100%;
position: fixed;
bottom: 0;
left: 0;
display: flex;
background: #fff;
color: #f46;
div{
flex: 1;
height: 112px;
line-height: 112px;
text-align: center;
font-size: 32px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
}
.btn {
background: #3975C6;
color: #fff;
}
}
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,132 @@
<template>
<div class="Add">
<div class="flex mar-b16">
<div class="label">
<span class="tips">*</span>党员信息
</div>
<div class="value">
<span class="color-999">请选择</span>
<u-icon name="arrow-right" color="#ddd" size="28"></u-icon>
</div>
</div>
<div class="flex mar-b16">
<div class="label">
<span class="tips">*</span>积分操作
</div>
<div class="value">
<span class="color-999">请选择</span>
<u-icon name="arrow-right" color="#ddd" size="28"></u-icon>
</div>
</div>
<div class="flex mar-b16">
<div class="label">
<span class="tips">*</span>积分分值
</div>
<div class="value">
<u-input v-model="value" type="number" maxlength="6" placeholder="请输入" placeholder-style="font-size:16px;" input-align="right"/>
</div>
</div>
<div class="flex">
<div class="label">
<span class="tips">*</span>调整说明
</div>
</div>
<div class="text-area">
<u-input v-model="value" type="textarea" :height="150" :auto-height="true" maxlength="500" placeholder="请输入调整说明" placeholder-style="font-size:16px;" />
<div class="hint">{{ value.length }}/500</div>
</div>
<div class="footer">
<div class="btn">确认提交</div>
</div>
</div>
</template>
<script>
import {mapState} from "vuex";
export default {
name: 'Add',
data() {
return {
value: ''
}
},
computed: {
...mapState(['user']),
},
created() {
this.$dict.load('appSpecialTypeFive')
},
onShow() {
document.title = '积分调整'
},
methods: {
},
}
</script>
<style lang="scss" scoped>
.Add {
.flex{
display: flex;
justify-content: space-between;
padding: 34px 32px 34px 12px;
font-size: 32px;
font-family: PingFangSC-Regular, PingFang SC;
color: #333;
line-height: 44px;
background-color: #fff;
.label{
width: 150px;
.tips{
font-size: 32px;
font-family: PingFangSC-Regular, PingFang SC;
color: #F46;
}
}
.value{
span{
display: inline-block;
margin-right: 12px;
}
.color-999{
color: #999;
}
}
}
.mar-b16{
margin-bottom: 16px;
}
.text-area{
width: 100%;
padding: 0 32px 32px;
background-color: #fff;
box-sizing: border-box;
.hint{
width: 100%;
color: #999;
text-align: right;
}
}
.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;
}
}
</style>

View File

@@ -0,0 +1,126 @@
<template>
<div class="AppPartyPoints">
<AiTopFixed>
<u-search placeholder="搜索党员" :show-action="false" search-icon-color="#ccc" v-model="search.title"
@search="isMore = false, search.current = 1, getList()"/>
</AiTopFixed>
<div class="list-content">
<div class="item" >
<div class="left">
<p>刘宝华:参与环保宣传</p>
<div>2022-03-18 13:45:36</div>
</div>
<div class="right status0">20</div>
</div>
</div>
<div class="height-144"></div>
<div class="footer" @click="toAdd">
<div class="btn">积分调整</div>
</div>
</div>
</template>
<script>
import {mapState} from "vuex";
export default {
name: 'AppPartyPoints',
appName: '党员积分',
data() {
return {
search: {title: ''},
}
},
computed: {
...mapState(['user']),
},
created() {
this.$dict.load('appSpecialTypeFive')
},
onShow() {
document.title = '党员积分'
},
methods: {
toAdd() {
uni.navigateTo({url: './Add'})
},
},
}
</script>
<style lang="scss" scoped>
.AppPartyPoints {
min-height: 100%;
::v-deep .AiTopFixed .u-search {
margin-bottom: 0 !important;
}
.list-content{
padding: 4px 48px 16px;
background-color: #fff;
.item{
width: 100%;
padding: 34px 0 32px 0;
display: flex;
justify-content: space-between;
border-bottom: 1px solid #ddd;
.left{
width: 500px;
p{
font-size: 32px;
font-family: PingFangSC-Regular, PingFang SC;
color: #333;
line-height: 44px;
word-break: break-all;
margin-bottom: 8px;
}
div{
font-size: 24px;
font-family: PingFangSC-Regular, PingFang SC;
color: #999;
line-height: 34px;
}
}
.right{
width: calc(100% - 500px);
font-size: 36px;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
line-height: 50px;
text-align: right;
}
.status0{
color: #2C51CE;
}
.status0{
color: #E6736E;
}
}
}
.height-144{
height: 144px;
}
.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;
}
}
</style>