Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Bug 终结者
vue-vben-admin
提交
abb0cfae
V
vue-vben-admin
项目概览
Bug 终结者
/
vue-vben-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-vben-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
abb0cfae
编写于
11月 15, 2020
作者:
V
vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update center page
上级
661db0c7
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
35 addition
and
46 deletion
+35
-46
mock/demo/account.ts
mock/demo/account.ts
+3
-11
src/api/demo/account.ts
src/api/demo/account.ts
+1
-3
src/views/demo/page/account/center/Application.vue
src/views/demo/page/account/center/Application.vue
+4
-4
src/views/demo/page/account/center/Project.vue
src/views/demo/page/account/center/Project.vue
+4
-4
src/views/demo/page/account/center/data.tsx
src/views/demo/page/account/center/data.tsx
+6
-7
src/views/demo/page/account/center/index.vue
src/views/demo/page/account/center/index.vue
+14
-14
src/views/demo/page/account/setting/AccountBind.vue
src/views/demo/page/account/setting/AccountBind.vue
+3
-3
未找到文件。
mock/demo/account.ts
浏览文件 @
abb0cfae
...
...
@@ -8,7 +8,7 @@ const userInfo = {
signature
:
'
海纳百川,有容乃大
'
,
introduction
:
'
微笑着,努力着,欣赏着
'
,
title
:
'
交互专家
'
,
group
:
'
蚂蚁集团-某某某事业群-某某平台部-某某技术部-UED
'
,
group
:
'
蚂蚁集团
11
-某某某事业群-某某平台部-某某技术部-UED
'
,
tags
:
[
{
key
:
'
0
'
,
...
...
@@ -38,16 +38,8 @@ const userInfo = {
notifyCount
:
12
,
unreadCount
:
11
,
country
:
'
China
'
,
province
:
{
label
:
'
浙江省
'
,
value
:
'
330000
'
,
},
city
:
{
label
:
'
杭州市
'
,
value
:
'
330100
'
,
},
address
:
'
西湖区工专路 77 号
'
,
phone
:
'
0752-268888888
'
,
address
:
'
厦门市 77 号
'
,
phone
:
'
0592-268888888
'
,
};
export
default
[
...
...
src/api/demo/account.ts
浏览文件 @
abb0cfae
...
...
@@ -3,14 +3,12 @@ import { GetAccountInfoModel } from './model/accountModel';
enum
Api
{
ACCOUNT_INFO
=
'
/account/getAccountInfo
'
,
SECURE_LIST
=
'
/account/getSecureList
'
,
}
// 获取个人中心--基础设置内容
export
function
accountInfoApi
(
params
:
any
)
{
export
function
accountInfoApi
()
{
return
defHttp
.
request
<
GetAccountInfoModel
>
({
url
:
Api
.
ACCOUNT_INFO
,
method
:
'
GET
'
,
params
,
});
}
src/views/demo/page/account/center/Application.vue
浏览文件 @
abb0cfae
<
template
>
<List
:class=
"prefixCls"
>
<
R
ow
:gutter=
"16"
>
<
a-r
ow
:gutter=
"16"
>
<template
v-for=
"(item, index) in list"
:key=
"index"
>
<
C
ol
:span=
"6"
>
<
a-c
ol
:span=
"6"
>
<ListItem>
<Card
:hoverable=
"true"
:class=
"`$
{prefixCls}__card`">
<div
:class=
"`$
{prefixCls}__card-title`">
...
...
@@ -22,9 +22,9 @@
/>
</Card>
</ListItem>
</
C
ol>
</
a-c
ol>
</
template
>
</
R
ow>
</
a-r
ow>
</List>
</template>
<
script
lang=
"ts"
>
...
...
src/views/demo/page/account/center/Project.vue
浏览文件 @
abb0cfae
<
template
>
<List
:class=
"prefixCls"
>
<
R
ow
:gutter=
"16"
>
<
a-r
ow
:gutter=
"16"
>
<template
v-for=
"(item, index) in list"
:key=
"index"
>
<
C
ol
:span=
"6"
>
<
a-c
ol
:span=
"6"
>
<ListItem>
<Card
:hoverable=
"true"
:class=
"`$
{prefixCls}__card`">
<img
:src=
"demoImg"
/>
...
...
@@ -12,9 +12,9 @@
<div
:class=
"`$
{prefixCls}__card-content`">
{{
item
.
content
}}
</div>
</Card>
</ListItem>
</
C
ol>
</
a-c
ol>
</
template
>
</
R
ow>
</
a-r
ow>
</List>
</template>
<
script
lang=
"ts"
>
...
...
src/views/demo/page/account/center/data.tsx
浏览文件 @
abb0cfae
...
...
@@ -60,7 +60,7 @@ export const details: ListItem[] = [
},
{
icon
:
'
ant-design:cluster-outlined
'
,
title
:
'
蚂蚁金服-
某某某事业群
'
,
title
:
'
某某某事业群
'
,
},
{
icon
:
'
ant-design:home-outlined
'
,
...
...
@@ -96,10 +96,9 @@ export const articleList = (() => {
const
result
:
any
[]
=
[];
for
(
let
i
=
0
;
i
<
4
;
i
++
)
{
result
.
push
({
title
:
'
Ant Design
'
,
description
:
[
'
Ant Design
'
,
'
设计语言
'
,
'
蚂蚁金服
'
],
content
:
'
段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案
'
,
title
:
'
Vben Admin
'
,
description
:
[
'
Vben
'
,
'
设计语言
'
,
'
Typescript
'
],
content
:
'
基于Vue Next, TypeScript, Ant Design实现的一套完整的企业级后台管理系统。
'
,
time
:
'
2020-11-14 11:20
'
,
});
}
...
...
@@ -110,9 +109,9 @@ export const applicationList = (() => {
const
result
:
any
[]
=
[];
for
(
let
i
=
0
;
i
<
8
;
i
++
)
{
result
.
push
({
title
:
'
Ant Desig
n
'
,
title
:
'
Vben Admi
n
'
,
icon
:
'
emojione-monotone:letter-a
'
,
color
:
'
#
7c51b8
'
,
color
:
'
#
1890ff
'
,
active
:
'
100
'
,
new
:
'
1,799
'
,
download
:
'
bx:bx-download
'
,
...
...
src/views/demo/page/account/center/index.vue
浏览文件 @
abb0cfae
<
template
>
<div
:class=
"prefixCls"
>
<
R
ow
:class=
"`$
{prefixCls}-top`">
<
C
ol
:span=
"9"
:class=
"`$
{prefixCls}-col`">
<
R
ow>
<
C
ol
:span=
"8"
>
<
a-r
ow
:class=
"`$
{prefixCls}-top`">
<
a-c
ol
:span=
"9"
:class=
"`$
{prefixCls}-col`">
<
a-r
ow>
<
a-c
ol
:span=
"8"
>
<div
:class=
"`$
{prefixCls}-top__avatar`">
<img
width=
"70"
:src=
"headerImg"
/>
<span>
Serati Ma
</span>
<div>
海纳百川,有容乃大
</div>
</div>
</
C
ol>
<
C
ol
:span=
"16"
>
</
a-c
ol>
<
a-c
ol
:span=
"16"
>
<div
:class=
"`$
{prefixCls}-top__detail`">
<template
v-for=
"(detail, index) in details"
:key=
"index"
>
<p>
...
...
@@ -19,25 +19,25 @@
</p>
</
template
>
</div>
</
C
ol>
</
R
ow>
</
C
ol>
<
C
ol
:span=
"7"
:class=
"`${prefixCls}-col`"
>
</
a-c
ol>
</
a-r
ow>
</
a-c
ol>
<
a-c
ol
:span=
"7"
:class=
"`${prefixCls}-col`"
>
<CollapseContainer
title=
"标签"
:canExpan=
"false"
>
<
template
v-for=
"(tag, index) in tags"
:key=
"index"
>
<Tag
class=
"mb-2"
>
{{
tag
}}
</Tag>
</
template
>
</CollapseContainer>
</
C
ol>
<
C
ol
:span=
"8"
:class=
"`${prefixCls}-col`"
>
</
a-c
ol>
<
a-c
ol
:span=
"8"
:class=
"`${prefixCls}-col`"
>
<CollapseContainer
:class=
"`${prefixCls}-top__team`"
title=
"团队"
:canExpan=
"false"
>
<div
v-for=
"(team, index) in teams"
:key=
"index"
:class=
"`${prefixCls}-top__team-item`"
>
<Icon
:icon=
"team.icon"
:color=
"team.color"
/>
<span>
{{ team.title }}
</span>
</div>
</CollapseContainer>
</
C
ol>
</
R
ow>
</
a-c
ol>
</
a-r
ow>
<div
:class=
"`${prefixCls}-bottom`"
>
<Tabs>
<
template
v-for=
"item in achieveList"
:key=
"item.key"
>
...
...
src/views/demo/page/account/setting/AccountBind.vue
浏览文件 @
abb0cfae
...
...
@@ -9,7 +9,9 @@
</
template
>
<
template
#title
>
{{
item
.
title
}}
<div
v-if=
"item.extra"
class=
"extra"
>
{{
item
.
extra
}}
</div>
<a-button
type=
"link"
size=
"small"
v-if=
"item.extra"
class=
"extra"
>
{{
item
.
extra
}}
</a-button>
</
template
>
<
template
#description
>
<div>
{{
item
.
description
}}
</div>
...
...
@@ -52,8 +54,6 @@
float: right;
margin-top: 10px;
margin-right: 30px;
font-weight: normal;
color: #1890ff;
cursor: pointer;
}
</
style
>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录