静态页面
This commit is contained in:
132
src/apps/AppPartyPoints/Add.vue
Normal file
132
src/apps/AppPartyPoints/Add.vue
Normal 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>
|
||||
126
src/apps/AppPartyPoints/AppPartyPoints.vue
Normal file
126
src/apps/AppPartyPoints/AppPartyPoints.vue
Normal 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>
|
||||
Reference in New Issue
Block a user