申请积分

This commit is contained in:
shijingjing
2022-11-24 09:12:36 +08:00
parent c2c28581a3
commit 788de30fd2
3 changed files with 0 additions and 0 deletions

View File

@@ -1,97 +0,0 @@
<template>
<div class="AppPointsApply">
<div class="points_img" @click="toAdd">
<img src="./imgs/points.png" alt="">
</div>
<h3>申请记录</h3>
<div class="card">
<div class="top">
<div class="top_title">完成群发任务完成群发任务完成群发任务完成群发任务完成群发任务完成群发任务</div>
<div><span class="top_status">审核通过</span></div>
</div>
<div class="bottom">
<div class="bottom_points">积分+5</div>
<div class="bottom_time">2020-12-11 10:10</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'AppPointsApply',
appName: '积分申请',
data() {
return {
}
},
onShow() {
},
methods: {
toAdd() {
uni.navigateTo({url: './addPoints'})
}
},
}
</script>
<style lang="scss" scoped>
.AppPointsApply {
padding: 32px;
box-sizing: border-box;
.points_img {
width: 100%;
img {
width: 100%;
}
}
h3 {
margin-top: 48px;
}
.card {
margin-top: 24px;
padding: 24px;
box-sizing: border-box;
background: #FFFFFF;
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.02);
border-radius: 16px;
.top {
display: flex;
justify-content: space-between;
.top_title {
width: 450px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
color: #333333;
font-weight: 500;
}
.top_status {
padding: 6px 16px;
box-sizing: border-box;
background: #F5FCF5;
border: 1px solid #E2F6E1;
border-radius: 8px;
text-align: right;
width: calc(100% - 450px);
}
}
.bottom {
display: flex;
justify-content: space-between;
margin-top: 24px;
.bottom_points {
color: #FF6900;
}
.bottom_time {
color: #999999;
}
}
}
}
</style>

View File

@@ -1,110 +0,0 @@
<template>
<div class="addPoints">
<div class="item">
<div class="item_left"><span class="red">*</span><span class="color-666">申请事项</span></div>
<div class="input"><u-input v-model="value" type="text" placeholder="请输入" /></div>
</div>
<div class="item">
<div class="item_left"><span class="red">*</span><span class="color-666">积分数量</span></div>
<div class="input"><u-input v-model="value" type="number" placeholder="请输入"/></div>
</div>
<div class="items">
<div class="color-666">上传图片</div>
<AiUploader style="margin-top: 12px;" v-model="form.files" :limit="1" action="/admin/file/add2"></AiUploader>
</div>
<div class="btn">
<div class="subBtn">提交</div>
</div>
</div>
</template>
<script>
export default {
name: 'addPoints',
data() {
return {
value: '',
form: {
files: []
}
}
},
onShow() {
document.title = '积分申请'
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.addPoints {
padding: 32px 16px;
box-sizing: border-box;
font-size: 32px;
.item {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 24px;
background: #FFF;
box-shadow: inset 0 0 0 0 #EEEEEE;
border-radius: 32px;
padding: 16px 32px;
box-sizing: border-box;
.item_left {
font-size: 32px;
.red {
color: #E64A4A;
}
.color-666 {
color: #666666;
}
}
.input {
width: calc(100% - 200px);
}
::v-deep .uni-input-input,
.uni-input-placeholder {
text-align: right;
}
}
.items {
margin-top: 24px;
background: #FFF;
box-shadow: inset 0 0 0 0 #EEEEEE;
border-radius: 32px;
padding: 16px 32px;
box-sizing: border-box;
}
.btn {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: #F5F5F5;
padding: 16px 32px;
box-sizing: border-box;
height: 120px;
line-height: 120px;
.subBtn {
text-align: center;
color: #FFF;
background: #3975C6;
border-radius: 44px;
width: 100%;
height: 88px;
line-height: 88px;
font-style: 34px;
}
}
}
</style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 548 KiB