Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuYingJiH5-ASD
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
xinzhedeai
GaoQuYingJiH5-ASD
Commits
aa23bf20
Commit
aa23bf20
authored
Aug 06, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 安全等级显示不全问题处理
parent
d52b9951
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
4 deletions
+8
-4
_consumer_home.css
src/_consumer_home.css
+1
-0
_consumer_home.html
src/_consumer_home.html
+2
-1
_consumer_home.js
src/_consumer_home.js
+1
-1
_shanghu_home.css
src/_shanghu_home.css
+1
-0
_shanghu_home.html
src/_shanghu_home.html
+2
-1
_shanghu_home.js
src/_shanghu_home.js
+1
-1
No files found.
src/_consumer_home.css
View file @
aa23bf20
...
@@ -100,6 +100,7 @@ body {
...
@@ -100,6 +100,7 @@ body {
font-weight
:
500
;
font-weight
:
500
;
font-size
:
0.28rem
;
font-size
:
0.28rem
;
color
:
#ffffff
;
color
:
#ffffff
;
flex
:
none
;
}
}
.green
{
.green
{
background
:
#00b55e
;
background
:
#00b55e
;
...
...
src/_consumer_home.html
View file @
aa23bf20
...
@@ -172,7 +172,8 @@
...
@@ -172,7 +172,8 @@
<div
class=
"header"
>
<div
class=
"header"
>
<!-- <div class="level">安全等级</div> -->
<!-- <div class="level">安全等级</div> -->
<div
class=
"title"
>
<div
class=
"title"
>
<img
src=
"../image/code/sj.png"
alt=
""
@
click=
"openDebug"
><span>
{{merInformation.unitName}}
</span>
<img
src=
"../image/code/sj.png"
alt=
""
@
click=
"openDebug"
>
<span
style=
"display: inline-block; max-width: 4.5rem;word-break: break-all;"
>
{{merInformation.unitName}}
</span>
<span
class=
"tag green"
v-if=
"merInformation.safeLevel==0"
@
click=
"gotoPage('anquan_level')"
>
安全等级-绿
</span>
<span
class=
"tag green"
v-if=
"merInformation.safeLevel==0"
@
click=
"gotoPage('anquan_level')"
>
安全等级-绿
</span>
<span
class=
"tag yellow"
v-if=
"merInformation.safeLevel==1"
@
click=
"gotoPage('anquan_level')"
>
安全等级-黄
</span>
<span
class=
"tag yellow"
v-if=
"merInformation.safeLevel==1"
@
click=
"gotoPage('anquan_level')"
>
安全等级-黄
</span>
<span
class=
"tag red"
v-if=
"merInformation.safeLevel==2"
@
click=
"gotoPage('anquan_level')"
>
安全等级-红
</span>
<span
class=
"tag red"
v-if=
"merInformation.safeLevel==2"
@
click=
"gotoPage('anquan_level')"
>
安全等级-红
</span>
...
...
src/_consumer_home.js
View file @
aa23bf20
...
@@ -135,7 +135,7 @@ window.addEventListener("load", function () {
...
@@ -135,7 +135,7 @@ window.addEventListener("load", function () {
}
}
},
},
gotoPage
(
stringifyUrl
)
{
gotoPage
(
stringifyUrl
)
{
let
url
=
gemhoUtil
.
setParameter
(
`
src/
_
${
stringifyUrl
}
.html`
)
let
url
=
gemhoUtil
.
setParameter
(
`_
${
stringifyUrl
}
.html`
)
gemhoUtil
.
navigatePage
(
url
,
'
跳转中...
'
)
gemhoUtil
.
navigatePage
(
url
,
'
跳转中...
'
)
},
},
// 确认日期选择
// 确认日期选择
...
...
src/_shanghu_home.css
View file @
aa23bf20
...
@@ -97,6 +97,7 @@ body {
...
@@ -97,6 +97,7 @@ body {
font-weight
:
500
;
font-weight
:
500
;
font-size
:
0.28rem
;
font-size
:
0.28rem
;
color
:
#ffffff
;
color
:
#ffffff
;
flex
:
none
;
}
}
.green
{
.green
{
background
:
#00b55e
;
background
:
#00b55e
;
...
...
src/_shanghu_home.html
View file @
aa23bf20
...
@@ -15,7 +15,8 @@
...
@@ -15,7 +15,8 @@
<div
class=
"header"
>
<div
class=
"header"
>
<!-- <div class="level">安全等级</div> -->
<!-- <div class="level">安全等级</div> -->
<div
class=
"title"
>
<div
class=
"title"
>
<img
src=
"../image/code/sj.png"
alt=
""
><span>
{{merInformation.unitName}}
</span>
<img
src=
"../image/code/sj.png"
alt=
""
>
<span
style=
"display: inline-block; max-width: 4.5rem;word-break: break-all;"
>
{{merInformation.unitName}}
</span>
<span
class=
"tag green"
v-if=
"merInformation.safeLevel==0"
@
click=
"gotoPage('anquan_level')"
>
安全等级-绿
</span>
<span
class=
"tag green"
v-if=
"merInformation.safeLevel==0"
@
click=
"gotoPage('anquan_level')"
>
安全等级-绿
</span>
<span
class=
"tag yellow"
v-if=
"merInformation.safeLevel==1"
@
click=
"gotoPage('anquan_level')"
>
安全等级-黄
</span>
<span
class=
"tag yellow"
v-if=
"merInformation.safeLevel==1"
@
click=
"gotoPage('anquan_level')"
>
安全等级-黄
</span>
<span
class=
"tag red"
v-if=
"merInformation.safeLevel==2"
@
click=
"gotoPage('anquan_level')"
>
安全等级-红
</span>
<span
class=
"tag red"
v-if=
"merInformation.safeLevel==2"
@
click=
"gotoPage('anquan_level')"
>
安全等级-红
</span>
...
...
src/_shanghu_home.js
View file @
aa23bf20
...
@@ -107,7 +107,7 @@ window.addEventListener("load", function () {
...
@@ -107,7 +107,7 @@ window.addEventListener("load", function () {
},
},
gotoPage
(
stringifyUrl
)
{
gotoPage
(
stringifyUrl
)
{
let
url
=
gemhoUtil
.
setParameter
(
`
src/
_
${
stringifyUrl
}
.html`
)
let
url
=
gemhoUtil
.
setParameter
(
`_
${
stringifyUrl
}
.html`
)
gemhoUtil
.
navigatePage
(
url
,
'
跳转中...
'
)
gemhoUtil
.
navigatePage
(
url
,
'
跳转中...
'
)
},
},
// 新增选择确认方法
// 新增选择确认方法
...
...
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