Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
B
basic-vue-admin
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Basic
basic-vue-admin
Commits
abb0cfae
提交
abb0cfae
authored
11月 15, 2020
作者:
vben
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update center page
上级
661db0c7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
35 行增加
和
46 行删除
+35
-46
account.ts
mock/demo/account.ts
+3
-11
account.ts
src/api/demo/account.ts
+1
-3
Application.vue
src/views/demo/page/account/center/Application.vue
+4
-4
Project.vue
src/views/demo/page/account/center/Project.vue
+4
-4
data.tsx
src/views/demo/page/account/center/data.tsx
+6
-7
index.vue
src/views/demo/page/account/center/index.vue
+14
-14
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
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论