个人中心
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
:label="approveLabel" label-color="#E7F2FF" label-pos="left" @click="approve"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="list-wrap">
|
||||
<!-- <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"
|
||||
@click="linkTo(item.path, item.type)">
|
||||
@@ -45,7 +45,7 @@
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="logout" v-if="token">
|
||||
<b class="login-out" @click="onLogout">退出登录</b>
|
||||
</div>
|
||||
@@ -70,20 +70,20 @@ export default {
|
||||
},
|
||||
listGroup() {
|
||||
return [
|
||||
[
|
||||
{
|
||||
icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png",
|
||||
label: "我的家庭",
|
||||
path: "./myFamily",
|
||||
type: 'idNumber'
|
||||
},
|
||||
{
|
||||
icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiaxiang.png",
|
||||
label: "我的家乡",
|
||||
path: "/mods/AppHometown/AppHometown",
|
||||
type: 'token'
|
||||
}
|
||||
],
|
||||
// [
|
||||
// {
|
||||
// icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiating.png",
|
||||
// label: "我的家庭",
|
||||
// path: "./myFamily",
|
||||
// type: 'idNumber'
|
||||
// },
|
||||
// {
|
||||
// icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejiaxiang.png",
|
||||
// label: "我的家乡",
|
||||
// path: "/mods/AppHometown/AppHometown",
|
||||
// type: 'token'
|
||||
// }
|
||||
// ],
|
||||
// [
|
||||
// {
|
||||
// icon: "https://cdn.cunwuyun.cn/wxmp/mine/wodejifen.png",
|
||||
|
||||
Reference in New Issue
Block a user