Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
有来技术
vue3-element-admin
提交
37e53383
V
vue3-element-admin
项目概览
有来技术
/
vue3-element-admin
通知
3
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue3-element-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
37e53383
编写于
1月 28, 2022
作者:
郝
郝先瑞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(dashboard/index.vue): 完善控制台的团队信息
上级
6c2b343b
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
105 addition
and
57 deletion
+105
-57
src/views/dashboard/components/Project/index.vue
src/views/dashboard/components/Project/index.vue
+2
-3
src/views/dashboard/components/Team/index.vue
src/views/dashboard/components/Team/index.vue
+98
-50
src/views/dashboard/index.vue
src/views/dashboard/index.vue
+2
-2
src/views/system/user/index.vue
src/views/system/user/index.vue
+3
-2
未找到文件。
src/views/dashboard/components/Project/index.vue
浏览文件 @
37e53383
...
...
@@ -45,7 +45,7 @@
</el-col>
<el-col
:span=
"20"
>
Spring Boot、Spring Cloud
&
Alibaba、Spring Security
OAuth2、
Sentinel
、Elastic Stack ...
OAuth2、
JWT
、Elastic Stack ...
</el-col>
</el-row>
<el-divider/>
...
...
@@ -76,14 +76,13 @@ export default {
&
__main
{
line-height
:
28px
;
height
:
315px
;
}
}
.fw-b
{
font-weight
:
bold
;
}
}
</
style
>
\ No newline at end of file
src/views/dashboard/components/Team/index.vue
浏览文件 @
37e53383
...
...
@@ -9,57 +9,38 @@
<el-tab-pane
label=
"开发者「无回」"
name=
"developer"
>
<div
class=
"developers"
>
<ul
class=
"developers__content"
>
<li
class=
"developer"
>
<li
class=
"developer"
v-for=
"(item,index) in developers"
>
<div
class=
"developer__content"
>
<el-image
class=
"developer-img"
src=
"https://gitee.com/haoxr/image/raw/master/hxr.jpg
"
:preview-src-list=
"[
'https://gitee.com/haoxr/image/raw/master/hxr.jpg'
]"
>
:src=
"item.imgUrl
"
:preview-src-list=
"[
item.imgUrl
]"
>
</el-image>
<div
class=
"developer-info"
>
<span
class=
"developer-info-nickname"
>
郝先瑞
</span>
<span
class=
"developer-info-nickname"
>
{{ item.nickname }}
</span>
<div
class=
"developer-info-position"
>
<el-tag
type=
"primary"
size=
"mini"
>
后端
</el-tag>
<el-tag
type=
"success"
class=
"f-ml"
size=
"mini"
>
前端
</el-tag>
<el-tag
type=
"danger"
class=
"f-ml"
size=
"mini"
>
运维
</el-tag>
<el-tag
v-for=
"(position,i) in item.positions"
:type=
"colors[i%colors.length]"
:class=
"i!==0?'f-ml':''"
size=
"mini"
>
{{ position }}
</el-tag>
</div>
</div>
</div>
</li>
<li
class=
"developer"
>
<div
class=
"developer__content"
>
<el-image
class=
"developer-img"
src=
"https://gitee.com/haoxr/image/raw/master/hxr.jpg"
:preview-src-list=
"['https://gitee.com/haoxr/image/raw/master/hxr.jpg']"
>
</el-image>
<div
class=
"developer-info"
>
<span
class=
"developer-info-nickname"
>
XLSS
</span>
<div
class=
"developer-info-position"
>
<el-tag
type=
"primary"
class=
"f-ml"
size=
"mini"
>
DevOps
</el-tag>
<div
class=
"developer-info-homepage"
>
<a
:href=
"item.homepage"
target=
"_blank"
>
个人主页
</a>
</div>
</div>
</div>
</li>
<li
class=
"developer"
>
<div
class=
"developer__content"
>
<el-image
class=
"developer-img"
src=
"https://gitee.com/haoxr/image/raw/master/hxr.jpg"
:preview-src-list=
"['https://gitee.com/haoxr/image/raw/master/hxr.jpg']"
>
</el-image>
<div
class=
"developer-info"
>
<span
class=
"developer-info-nickname"
>
总有刁民要害朕
</span>
<div
class=
"developer-info-position"
>
<el-tag
size=
"mini"
>
后端
</el-tag>
<el-tag
type=
"success"
class=
"f-ml"
size=
"mini"
>
前端
</el-tag>
</div>
</div>
<li
class=
"pointer"
>
<el-image
src=
"https://gitee.com/haoxr/image/raw/master/default/left.png"
/>
<div
class=
"pointer-tip"
>
欢迎添加开发者微信🤗🤗🤗
</div>
</li>
</ul>
</div>
</el-tab-pane>
...
...
@@ -68,6 +49,12 @@
</el-tab-pane>
<el-tab-pane
label=
"加入我们"
name=
"3"
>
<div
class=
"join-us"
>
<p>
1. 人品良好、善于思考、执行力强;
</p>
<p>
2. 至少给项目提交过一个PR(无论大小);
</p>
<p>
3. Git代码库活跃,个人主页、博客完善者优先;
</p>
<p>
4. 过份优秀者我们会主动联系您...
</p>
</div>
</el-tab-pane>
</el-tabs>
...
...
@@ -81,12 +68,33 @@ import {nextTick, onMounted, reactive, toRefs, watchEffect} from "vue";
import
BScroll
from
"
better-scroll
"
;
const
state
=
reactive
({
teamActiveName
:
'
developer
'
teamActiveName
:
'
developer
'
,
developers
:
[
{
imgUrl
:
'
https://gitee.com/haoxr/image/raw/master/hxr.jpg
'
,
nickname
:
'
郝先瑞
'
,
positions
:
[
'
后端
'
,
'
前端
'
,
'
打杂
'
],
homepage
:
'
https://www.cnblogs.com/haoxianrui/
'
},
{
imgUrl
:
'
https://gitee.com/haoxr/image/raw/master/default/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20220128222910_gaitubao_841x841.jpg
'
,
nickname
:
'
张加林
'
,
positions
:
[
'
DevOps
'
],
homepage
:
'
https://gitee.com/ximy
'
},
{
imgUrl
:
'
https://gitee.com/haoxr/image/raw/master/default/ba695a5e70410a066b7052c5dc9db5c.jpg
'
,
nickname
:
'
张川
'
,
positions
:
[
'
后端
'
,
'
前端
'
],
homepage
:
'
https://blog.csdn.net/qq_41595149
'
},
],
colors
:
[
''
,
'
success
'
,
'
warning
'
,
'
danger
'
]
})
const
{
teamActiveName
}
=
toRefs
(
state
)
const
{
teamActiveName
,
developers
,
colors
}
=
toRefs
(
state
)
let
bScroll
=
reactive
({})
/*
let bScroll = reactive({})
onMounted(() => {
bScroll = new BScroll(document.querySelector('.developer-wrapper') as any, {
...
...
@@ -102,7 +110,7 @@ watchEffect(() => {
nextTick(() => {
bScroll && (bScroll as any).refresh()
})
})
})
*/
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -118,18 +126,36 @@ watchEffect(() => {
display
:
flex
;
justify-content
:
flex-start
;
.pointer
{
list-style
:
none
;
width
:
180px
;
min-width
:
180px
;
align-items
:
center
;
margin-left
:
50px
;
&
-tip
{
position
:
absolute
;
min-width
:
180px
;
top
:
18px
;
color
:
#5959d0
;
}
}
.developer
{
margin-left
:
20px
;
&
:not
(
:first-child
)
{
margin-left
:
20px
;
}
align-items
:
center
;
list-style
:
none
;
width
:
20
0px
;
height
:
206
px
;
width
:
18
0px
;
min-width
:
180
px
;
&
__content
{
border
:
1px
solid
#cccccc
;
border-radius
:
5px
;
box-shadow
:
10px
10px
5px
#CCC
;
padding
:
23
px
;
box-shadow
:
6px
6px
6px
#AAA
;
padding
:
8
px
;
text-align
:
center
;
.developer-img
{
...
...
@@ -139,19 +165,41 @@ watchEffect(() => {
.developer-info
{
padding
:
6px
;
font-size
:
14px
;
&
-
nickname
{
font-size
:
14
px
;
&
-
position
{
margin-top
:
10
px
;
}
&
-position
{
margin-top
:
5px
;
&
-homepage
{
margin-top
:
16px
;
a
{
display
:
inline-block
;
padding
:
4px
10px
;
color
:
#409EFF
;
border
:
1px
solid
#409EFF
;
border-radius
:
5px
;
background
:
#ecf5ff
;
&
:hover
{
background
:
#409EFF
;
color
:
#FFFFFF
;
}
}
}
}
}
}
}
}
.join-us
{
height
:
247px
;
p
{
font-weight
:
bold
;
}
}
}
.fw-b
{
...
...
src/views/dashboard/index.vue
浏览文件 @
37e53383
...
...
@@ -68,12 +68,12 @@
<el-row
:gutter=
"40"
>
<!-- 项目介绍 -->
<el-col
:
sm=
"24
"
:lg=
"12"
>
<el-col
:
md=
"12
"
:lg=
"12"
>
<Project/>
</el-col>
<!-- 团队介绍 -->
<el-col
:
sm=
"24
"
:lg=
"12"
>
<el-col
:
md=
"12
"
:lg=
"12"
>
<Team/>
</el-col>
</el-row>
...
...
src/views/system/user/index.vue
浏览文件 @
37e53383
...
...
@@ -369,13 +369,14 @@ const state = reactive({
multiple
:
true
,
// 总条数
total
:
0
,
// 用户
表格
数据
// 用户
分页
数据
pageList
:
[],
// 弹窗属性
dialog
:
{
title
:
''
,
visible
:
false
},
deptName
:
undefined
,
// 部门树选项
deptOptions
:
[],
// 部门名称
...
...
@@ -446,11 +447,11 @@ const {
dialog
,
formData
,
rules
,
deptName
,
deptOptions
,
roleOptions
}
=
toRefs
(
state
)
/**
* 部门筛选
**/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录