Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
740d6328
Commit
740d6328
authored
Apr 09, 2024
by
王晓旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
站点编排添加背景修改
parent
6f64534a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
portal-manager-ui/admin/src/views/siteArrange/siteArrange.vue
...al-manager-ui/admin/src/views/siteArrange/siteArrange.vue
+16
-1
No files found.
portal-manager-ui/admin/src/views/siteArrange/siteArrange.vue
View file @
740d6328
<
template
>
<div
class=
"station w-full h-auto flex flex-col justify-between"
>
<div
class=
"station w-full h-auto flex flex-col justify-between"
:style=
"
{ backgroundImage: `url(${imgUrl})` }">
<!-- 删除常用 -->
<div
class=
"del-box"
:class=
"['del-box',
{ active: isDel }]">
<draggable
...
...
@@ -130,6 +131,7 @@
<
script
>
import
{
appsListInterface
,
getCollect
,
saveCollect
}
from
"
@/api/siteArrange
"
;
import
{
getSlogan
}
from
"
@/api/user.js
"
;
import
Storage
from
"
@/utils/js/Storage
"
;
import
{
mapState
}
from
"
vuex
"
;
export
default
{
...
...
@@ -146,6 +148,7 @@ export default {
placeholder
:
"
将模块拖到此处删除
"
,
delList
:
[],
isDel
:
false
,
imgUrl
:
""
,
};
},
...
...
@@ -159,9 +162,21 @@ export default {
:
""
;
this
.
getCollect
();
this
.
appsListInterface
();
this
.
getTitle
();
},
methods
:
{
getTitle
()
{
getSlogan
(
"
siteImg
"
).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
res
.
data
?
(
this
.
imgUrl
=
res
.
data
)
:
(
this
.
imgUrl
=
require
(
"
@/assets/images/siteArrange/bg_3.jpg
"
));
}
else
{
this
.
imgUrl
=
require
(
"
@/assets/images/siteArrange/bg_3.jpg
"
);
}
});
},
// 获取用户常用站点列表
async
getCollect
()
{
let
res
=
await
getCollect
({
...
...
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