个人中心

This commit is contained in:
liuye
2023-02-09 10:26:20 +08:00
parent 2e22f1a494
commit 6b7fd4f9b0
6 changed files with 360 additions and 209 deletions

View File

@@ -25,16 +25,6 @@
</div>
</div>
</div>
<div class="list-wrap point-card">
<div class="card">
<div class="item">
<div class="block">
<img class="icon" src="./img/jfmx.png" alt="">
</div>
<span class="desc">积分明细</span>
</div>
</div>
</div>
<div class="list-wrap">
<div class="card" v-for="(group,index) in listGroup" :key="index">
<div class="item" v-for="(item) in group" hover-class="bg-hover" :key="item.label"
@@ -42,10 +32,7 @@
<div class="block">
<img class="icon" :src="item.icon" alt="">
</div>
<span class="desc" v-if="!item.share">{{ item.label }}</span>
<button open-type="share" v-else>
<span>{{ item.label }}</span>
</button>
<span class="desc">{{ item.label }}</span>
</div>
</div>
</div>
@@ -66,17 +53,25 @@ export default {
},
listGroup() {
return [
[
{
icon: require('./img/jfmx.png'),
label: "积分明细",
path: "./integralInfo",
type: 'token'
},
],
[
{
icon: require('./img/xxjl.png'),
label: "学习记录",
path: "./myFamily",
path: "./studyList",
type: 'token'
},
{
icon: require('./img/ksjl.png'),
label: "考试记录",
path: "/mods/AppHometown/AppHometown",
path: "./testList",
type: 'token'
},
{
@@ -165,7 +160,7 @@ export default {
.header-info {
width: 100%;
height: 100%;
background: url("./img/header-banner.png") no-repeat no-repeat;
// background: url("./img/header-banner.png") no-repeat no-repeat;
background-size: 100% 100%;
box-sizing: border-box;
padding: 240px 0 0 48px;