Files
dvcp_v2_wechat_app/src/project/qujing/AppMine/integralInfo.vue

139 lines
3.1 KiB
Vue
Raw Normal View History

2023-02-09 10:26:20 +08:00
<template>
<div class="page">
2023-02-09 11:49:46 +08:00
<div class="header-bg">
2023-02-16 15:48:00 +08:00
<u-navbar title="积分明细" title-color="#FFF" title-width="300" title-size="26" :background="backgroundNavbar" back-icon-color="#fff"></u-navbar>
2023-02-09 11:49:46 +08:00
<div class="header-info">
<p>我的积分</p>
<h1>142</h1>
</div>
</div>
<div class="list">
<div class="title">积分明细</div>
<div class="item">
<div class="flex">
<div class="left">
<p>发布新闻</p>
<div>2021-03-18 13:45:36</div>
</div>
<div class="right status0">20</div>
</div>
</div>
<div class="item">
<div class="flex">
<div class="left">
<p>积分阅读</p>
<div>2021-03-18 13:45:36</div>
</div>
<div class="right status1">-20</div>
</div>
</div>
</div>
2023-02-09 10:26:20 +08:00
</div>
</template>
<script>
import {mapState} from 'vuex'
export default {
name: "integralInfo",
2023-02-09 11:49:46 +08:00
customNavigation: true,
2023-02-09 10:26:20 +08:00
appName: "积分明细",
data() {
return {
2023-02-09 11:49:46 +08:00
backgroundNavbar: {
2023-02-10 15:39:49 +08:00
background: 'url(https://cdn.cunwuyun.cn/qujing/my-header-nav.png) no-repeat',
2023-02-09 11:49:46 +08:00
backgroundSize: '100% 100%',
},
2023-02-09 10:26:20 +08:00
}
},
computed: {
...mapState(['user', 'token']),
},
onLoad() {
},
methods: {
}
}
</script>
<style scoped lang="scss">
@import "~dvcp-wui/common";
.page {
width: 100%;
background-color: #F4F5FA;
2023-02-09 11:49:46 +08:00
.header-bg {
width: 100%;
.header-info {
width: 100%;
2023-02-10 15:39:49 +08:00
height: 304px;
background: url("https://cdn.cunwuyun.cn/qujing/my-header-bg.png") no-repeat no-repeat;
2023-02-09 11:49:46 +08:00
background-size: 100% 100%;
box-sizing: border-box;
padding: 32px 0 0 32px;
p {
font-family: PingFangSC-SNaNpxibold;
font-weight: 600;
font-size: 34px;
color: #FFF;
margin-bottom: 8px;
}
h1 {
font-family: AlibabaPuHuiTiB;
font-size: 96px;
color: #FFF;
line-height: 112px;
}
}
}
.list {
2023-02-09 15:44:20 +08:00
width: calc(100% - 64px);
2023-02-09 11:49:46 +08:00
margin: -56px 0 0 32px;
background: #FFF;
border-radius: 16px;
padding: 0 32px 66px;
box-sizing: border-box;
.title {
line-height: 108px;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 34px;
color: #333;
}
.item {
border-bottom: 1px solid #eee;
padding: 32px 0;
.flex {
display: flex;
.left {
width: calc(100% - 120px);
p {
font-family: PingFangSC-Regular;
font-size: 32px;
color: #333;
margin-bottom: 8px;
line-height: 44px;
}
div {
font-family: PingFangSC-Regular;
font-size: 24px;
color: #999;
}
}
.right {
width: 120px;
text-align: right;
font-family: PingFangSC-SNaNpxibold;
font-weight: 600;
font-size: 36px;
}
.status0 {
color: #2C51CE;
}
.status1 {
color: #E6736E;
}
}
}
}
2023-02-09 10:26:20 +08:00
}
</style>