Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
海康威视
web-project
Commits
8808b42b
Commit
8808b42b
authored
Jul 16, 2024
by
moonby
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
240716
parent
452209b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
LOGO_index.png
public/imgs/home/LOGO_index.png
+0
-0
home.vue
src/views/home.vue
+3
-3
No files found.
public/imgs/home/LOGO_index.png
View replaced file @
452209b4
View file @
8808b42b
108 KB
|
W:
|
H:
106 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/views/home.vue
View file @
8808b42b
...
...
@@ -20,10 +20,10 @@
<div
class=
"ams-container"
:style=
"
{ left: menuWidth - 2 + 'px' }">
<div
class=
"ams-header"
style=
" background-color: rgb(31, 63, 141);"
>
<div
class=
"enterprise-name"
>
<el-dropdown
size=
"'large'"
style=
"margin-left: 10px;margin-top: 5px;color:blue; width: 100%;"
<el-dropdown
size=
"'large'"
style=
"
margin-left: 10px;margin-top: 5px;color:blue; width: 100%;"
@
command=
"handleCommand"
:trigger=
"(roleId > 2) ? 'contextmenu' : 'hover'"
>
<span
class=
"el-dropdown-link"
>
<el-image
style=
" height:
6
0px "
:src=
"currLogoUrl"
:fit=
"'full'"
/>
<el-image
style=
" height:
5
0px "
:src=
"currLogoUrl"
:fit=
"'full'"
/>
</span>
<template
#
dropdown
>
<el-dropdown-menu>
...
...
@@ -479,7 +479,7 @@ export default defineComponent({
showWeatherData
.
supplyData
.
supplyId
=
enterpriseList
.
value
[
0
].
supplyList
[
0
].
supplyId
;
showWeatherData
.
supplyData
.
supplyName
=
enterpriseList
.
value
[
0
].
supplyList
[
0
].
supplyName
;
}
currLogoUrl
=
new
URL
(
'
../assets
/imgs/home/'
+
enterpriseList
.
value
[
0
].
logo
,
import
.
meta
.
url
).
href
;
currLogoUrl
=
new
URL
(
'/imgs/home/'
+
enterpriseList
.
value
[
0
].
logo
,
import
.
meta
.
url
).
href
;
//console.log(currLogoUrl);
await
getWeather
();
...
...
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