Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BCDH-APP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
首开风险隐患双控平台
BCDH-APP
Commits
28c75b18
Commit
28c75b18
authored
Nov 29, 2021
by
罗新东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了我的权限图标
parent
a486942c
Pipeline
#7358
passed with stage
in 10 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
17 deletions
+23
-17
src/assets/myTerritory/role.png
src/assets/myTerritory/role.png
+0
-0
src/views/my/role.vue
src/views/my/role.vue
+23
-17
No files found.
src/assets/myTerritory/role.png
View replaced file @
a486942c
View file @
28c75b18
4.64 KB
|
W:
|
H:
695 Bytes
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/my/role.vue
View file @
28c75b18
...
...
@@ -5,9 +5,9 @@
<!-- 通知 -->
<van-sticky
offset-top=
"1.5rem"
>
<van-notice-bar
left-icon=
"volume-o"
text=
"提示:系统使用时请核实应用权限如有问题请联系管理员。"
/>
left-icon=
"volume-o"
text=
"提示:系统使用时请核实应用权限如有问题请联系管理员。"
/>
</van-sticky>
<!-- 权限卡片 -->
<div
v-for=
"(item, key) in role_list"
:key=
"key"
>
...
...
@@ -15,17 +15,23 @@
<div
class=
"title"
>
{{
key
}}
</div>
<van-cell-group
inset
>
<div
class=
"tag-wrap"
>
<van-tag
:color=
"getColor()"
v-for=
"(i, index) in item"
:key=
"index"
plain
round
<van-skeleton
title
:row=
"2"
:loading=
"!item['length']"
>
<template
v-if=
"i"
>
{{
i
}}
</
template
>
</van-tag>
<van-tag
:color=
"getColor()"
v-for=
"(i, index) in item"
:key=
"index"
plain
round
>
<template
v-if=
"i"
>
{{
i
}}
</
template
>
</van-tag>
</van-skeleton>
</div>
</van-cell-group>
</template>
...
...
@@ -42,7 +48,7 @@ export default {
},
data
()
{
return
{
tabColor
:
[
"
red
"
,
"
orange
"
,
"
skyblue
"
,
'
yellowgreen
'
],
tabColor
:
[
"
red
"
,
"
orange
"
,
"
skyblue
"
,
"
yellowgreen
"
],
role_list
:
{
"
政务大数据项目cs-401
"
:
[],
...
...
@@ -59,7 +65,7 @@ export default {
// console.log(res)
if
(
res
)
{
this
.
role_list
=
res
.
data
;
}
else
{
}
else
{
this
.
$toast
.
fail
(
"
加载失败,请稍后再试
"
);
}
},
...
...
@@ -158,8 +164,8 @@ export default {
margin-right: 0.3rem;
margin-bottom: 0.3rem;
}
.van-tag{
.van-tag
{
padding: 0.03rem 0.2rem;
font-size: 0.25rem;
}
}
</
style
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment