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
1386b9f6
Commit
1386b9f6
authored
May 26, 2025
by
lei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:安全等级详情页面;home.html.css.js;shanghu_home.html.css.js;
parent
f747b514
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
845 additions
and
651 deletions
+845
-651
home.css
home.css
+190
-194
home.html
home.html
+19
-2
home.js
home.js
+36
-31
axios_http.js
sdk/axios_http.js
+6
-6
_anquan_level.css
src/_anquan_level.css
+97
-0
_anquan_level.html
src/_anquan_level.html
+52
-0
_anquan_level.js
src/_anquan_level.js
+24
-0
_check_info.css
src/_check_info.css
+304
-306
_shanghu_home.css
src/_shanghu_home.css
+109
-111
_shanghu_home.html
src/_shanghu_home.html
+4
-1
_shanghu_home.js
src/_shanghu_home.js
+4
-0
No files found.
home.css
View file @
1386b9f6
body
{
body
{
letter-spacing
:
.02rem
;
letter-spacing
:
0
.02rem
;
}
}
.page_wrapper
{
.page_wrapper
{
...
@@ -48,7 +48,7 @@ body {
...
@@ -48,7 +48,7 @@ body {
.second-layer-zf
{
.second-layer-zf
{
background-color
:
transparent
;
background-color
:
transparent
;
padding-top
:
1rem
;
padding-top
:
1rem
;
padding-left
:
.6rem
;
padding-left
:
0
.6rem
;
}
}
.second-layer-sj
{
.second-layer-sj
{
...
@@ -62,27 +62,26 @@ body {
...
@@ -62,27 +62,26 @@ body {
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
padding
:
0.2rem
0
;
padding
:
0.2rem
0
;
}
}
.second-layer-sj
.header
span
{
.second-layer-sj
.header
span
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
.3rem
;
font-size
:
0
.3rem
;
color
:
#0166BC
;
color
:
#0166bc
;
}
}
.second-layer-sj
.header
img
{
.second-layer-sj
.header
img
{
width
:
0.25rem
;
width
:
0.25rem
;
height
:
.25rem
;
height
:
0
.25rem
;
}
}
.second-layer-sj
.bottom
{
.second-layer-sj
.bottom
{
display
:
flex
;
display
:
flex
;
margin
:
0
auto
;
margin
:
0
auto
;
border-radius
:
.2rem
;
border-radius
:
0
.2rem
;
background-color
:
#ffffff42
;
background-color
:
#ffffff42
;
padding
:
.24rem
;
padding
:
0
.24rem
;
margin-bottom
:
-
.22rem
;
margin-bottom
:
-0
.22rem
;
}
}
.second-layer-sj
img
{
.second-layer-sj
img
{
...
@@ -92,55 +91,59 @@ body {
...
@@ -92,55 +91,59 @@ body {
.second-layer-sj
.user_tag
{
.second-layer-sj
.user_tag
{
width
:
1.8rem
;
width
:
1.8rem
;
height
:
.48rem
;
height
:
0
.48rem
;
line-height
:
.48rem
;
line-height
:
0
.48rem
;
background
:
#CFE8FD
;
background
:
#cfe8fd
;
border-radius
:
.24rem
;
border-radius
:
0
.24rem
;
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
.26rem
;
font-size
:
0
.26rem
;
color
:
#0166BC
;
color
:
#0166bc
;
text-align
:
center
;
text-align
:
center
;
}
}
.second-layer-sj
.merchant-name
{
.second-layer-sj
.merchant-name
{
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
.34rem
;
font-size
:
0
.34rem
;
color
:
#0166BC
;
color
:
#0166bc
;
}
}
.second-layer-sj
.name-rank
{
.second-layer-sj
.name-rank
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-around
;
justify-content
:
space-around
;
align-items
:
start
;
align-items
:
start
;
gap
:
.2rem
;
gap
:
0
.2rem
;
flex-direction
:
column
;
flex-direction
:
column
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.second-layer-sj
.user-rank
{
.second-layer-sj
.user-rank
{
width
:
2.4rem
;
width
:
2.4rem
;
text-align
:
center
;
text-align
:
center
;
height
:
0.5rem
;
height
:
0.5rem
;
line-height
:
0.5rem
;
line-height
:
0.5rem
;
background
:
#00B55E
;
border-radius
:
0.22rem
;
border-radius
:
0.22rem
;
font-family
:
PingFang
SC
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
0.26rem
;
font-size
:
0.26rem
;
color
:
#FFFFFF
;
color
:
#ffffff
;
}
.second-layer-sj
.green
{
background
:
#00b55e
;
}
.second-layer-sj
.yellow
{
background
:
rgba
(
255
,
148
,
21
,
1
);
}
.second-layer-sj
.red
{
background
:
rgba
(
255
,
33
,
49
,
1
);
}
}
.second-layer-sj
.type-address
p
{
.second-layer-sj
.type-address
p
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
0.28rem
;
font-size
:
0.28rem
;
color
:
#1376CA
;
color
:
#1376ca
;
margin-bottom
:
.14rem
;
margin-bottom
:
0
.14rem
;
}
}
.merchant-icon
{
.merchant-icon
{
width
:
1rem
;
width
:
1rem
;
height
:
1rem
;
height
:
1rem
;
...
@@ -159,7 +162,7 @@ body {
...
@@ -159,7 +162,7 @@ body {
.welcome
{
.welcome
{
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
0.32rem
;
font-size
:
0.32rem
;
color
:
#FFFFFF
;
color
:
#ffffff
;
line-height
:
1.8
;
line-height
:
1.8
;
letter-spacing
:
0.02rem
;
letter-spacing
:
0.02rem
;
}
}
...
@@ -169,12 +172,12 @@ body {
...
@@ -169,12 +172,12 @@ body {
right
:
0.3rem
;
right
:
0.3rem
;
top
:
0.3rem
;
top
:
0.3rem
;
width
:
2rem
;
width
:
2rem
;
height
:
.48rem
;
height
:
0
.48rem
;
background
:
#CFE8FD
;
background
:
#cfe8fd
;
border-radius
:
.24rem
;
border-radius
:
0
.24rem
;
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
.26rem
;
font-size
:
0
.26rem
;
color
:
#0166BC
;
color
:
#0166bc
;
text-align
:
center
;
text-align
:
center
;
}
}
...
@@ -183,18 +186,12 @@ body {
...
@@ -183,18 +186,12 @@ body {
height
:
0.25rem
;
height
:
0.25rem
;
}
}
.divider
{
.divider
{
height
:
1px
;
height
:
1px
;
background-color
:
#eee
;
background-color
:
#eee
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
/* 第三层样式 */
/* 第三层样式 */
.third-layer
{
.third-layer
{
background-color
:
white
;
background-color
:
white
;
...
@@ -209,13 +206,13 @@ body {
...
@@ -209,13 +206,13 @@ body {
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
padding
:
.3rem
;
padding
:
0
.3rem
;
border-bottom
:
1px
solid
#eee
;
border-bottom
:
1px
solid
#eee
;
}
}
.stats-header
.formValue
{
.stats-header
.formValue
{
font-size
:
.28rem
;
font-size
:
0
.28rem
;
margin-right
:
.1rem
;
margin-right
:
0
.1rem
;
}
}
.stats-header
.van-icon
:before
{
.stats-header
.van-icon
:before
{
...
@@ -223,14 +220,14 @@ body {
...
@@ -223,14 +220,14 @@ body {
}
}
.stats-title
{
.stats-title
{
font-size
:
.36rem
;
font-size
:
0
.36rem
;
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#333
;
color
:
#333
;
}
}
.stats-content
{
.stats-content
{
display
:
flex
;
display
:
flex
;
padding
:
.3rem
0
;
padding
:
0
.3rem
0
;
}
}
.stat-item
{
.stat-item
{
...
@@ -241,43 +238,43 @@ body {
...
@@ -241,43 +238,43 @@ body {
.stat-value
{
.stat-value
{
font-family
:
PingFang
SC
;
font-family
:
PingFang
SC
;
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
.36rem
;
font-size
:
0
.36rem
;
color
:
#1081E
3
;
color
:
#1081e
3
;
margin-bottom
:
.15rem
;
margin-bottom
:
0
.15rem
;
}
}
.stat-label
{
.stat-label
{
font-family
:
PingFang
SC
;
font-family
:
PingFang
SC
;
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
.3rem
;
font-size
:
0
.3rem
;
color
:
#5B5B5B
;
color
:
#5b5b5b
;
}
}
/* 第四层样式 */
/* 第四层样式 */
.fourth-layer
{
.fourth-layer
{
background-color
:
white
;
background-color
:
white
;
padding
:
.3rem
;
padding
:
0
.3rem
;
width
:
92vw
;
width
:
92vw
;
margin
:
0
auto
;
margin
:
0
auto
;
border-radius
:
.1rem
;
border-radius
:
0
.1rem
;
}
}
.fourth-layer
h2
{
.fourth-layer
h2
{
font-size
:
.36rem
;
font-size
:
0
.36rem
;
color
:
#000000
;
color
:
#000000
;
margin-bottom
:
.4rem
;
margin-bottom
:
0
.4rem
;
}
}
.check-modules
{
.check-modules
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
gap
:
.3rem
;
gap
:
0
.3rem
;
}
}
.check-module
{
.check-module
{
width
:
3rem
;
width
:
3rem
;
height
:
1.8rem
;
height
:
1.8rem
;
padding
:
.2rem
;
padding
:
0
.2rem
;
/* border-bottom: 1px solid #eee;
/* border-bottom: 1px solid #eee;
border-right: 1px solid #eee; */
border-right: 1px solid #eee; */
background-image
:
url('image/code/bg1.png')
;
background-image
:
url('image/code/bg1.png')
;
...
@@ -288,16 +285,15 @@ border-right: 1px solid #eee; */
...
@@ -288,16 +285,15 @@ border-right: 1px solid #eee; */
.check-module
p
:first-child
{
.check-module
p
:first-child
{
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
.32rem
;
font-size
:
0
.32rem
;
color
:
#0C4BA
2
;
color
:
#0c4ba
2
;
margin-bottom
:
.2rem
;
margin-bottom
:
0
.2rem
;
}
}
.check-module
p
:last-child
{
.check-module
p
:last-child
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
.24rem
;
font-size
:
0.24rem
;
color
:
#4C81CA
;
color
:
#4c81ca
;
}
}
.check-module.saoma
{
.check-module.saoma
{
...
@@ -305,11 +301,11 @@ border-right: 1px solid #eee; */
...
@@ -305,11 +301,11 @@ border-right: 1px solid #eee; */
}
}
.check-module.saoma
p
:first-child
{
.check-module.saoma
p
:first-child
{
color
:
#0C4BA
2
;
color
:
#0c4ba
2
;
}
}
.check-module.saoma
p
:last-child
{
.check-module.saoma
p
:last-child
{
color
:
#4C81CA
;
color
:
#4c81ca
;
}
}
.check-module.jiancha
{
.check-module.jiancha
{
...
@@ -317,11 +313,11 @@ border-right: 1px solid #eee; */
...
@@ -317,11 +313,11 @@ border-right: 1px solid #eee; */
}
}
.check-module.jiancha
p
:first-child
{
.check-module.jiancha
p
:first-child
{
color
:
#1E7B
61
;
color
:
#1e7b
61
;
}
}
.check-module.jiancha
p
:last-child
{
.check-module.jiancha
p
:last-child
{
color
:
#5CA
691
;
color
:
#5ca
691
;
}
}
.check-module.yinhuan
{
.check-module.yinhuan
{
...
@@ -329,11 +325,11 @@ border-right: 1px solid #eee; */
...
@@ -329,11 +325,11 @@ border-right: 1px solid #eee; */
}
}
.check-module.yinhuan
p
:first-child
{
.check-module.yinhuan
p
:first-child
{
color
:
#901A
14
;
color
:
#901a
14
;
}
}
.check-module.yinhuan
p
:last-child
{
.check-module.yinhuan
p
:last-child
{
color
:
#901A
14
;
color
:
#901a
14
;
}
}
.check-module.anquan
{
.check-module.anquan
{
...
@@ -341,11 +337,11 @@ border-right: 1px solid #eee; */
...
@@ -341,11 +337,11 @@ border-right: 1px solid #eee; */
}
}
.check-module.anquan
p
:first-child
{
.check-module.anquan
p
:first-child
{
color
:
#0063A
1
;
color
:
#0063a
1
;
}
}
.check-module.anquan
p
:last-child
{
.check-module.anquan
p
:last-child
{
color
:
#5AA1CE
;
color
:
#5aa1ce
;
}
}
.check-module.shangjia
{
.check-module.shangjia
{
...
@@ -353,11 +349,11 @@ border-right: 1px solid #eee; */
...
@@ -353,11 +349,11 @@ border-right: 1px solid #eee; */
}
}
.check-module.shangjia
p
:first-child
{
.check-module.shangjia
p
:first-child
{
color
:
#9E5D
15
;
color
:
#9e5d
15
;
}
}
.check-module.shangjia
p
:last-child
{
.check-module.shangjia
p
:last-child
{
color
:
#CD995F
;
color
:
#cd995f
;
}
}
.check-module.zicha
{
.check-module.zicha
{
...
@@ -369,7 +365,7 @@ border-right: 1px solid #eee; */
...
@@ -369,7 +365,7 @@ border-right: 1px solid #eee; */
}
}
.module-intro
{
.module-intro
{
font-size
:
.24rem
;
font-size
:
0
.24rem
;
color
:
#666
;
color
:
#666
;
margin-top
:
.1rem
;
margin-top
:
0
.1rem
;
}
}
home.html
View file @
1386b9f6
...
@@ -103,7 +103,24 @@
...
@@ -103,7 +103,24 @@
<div
class=
"merchant-info"
>
<div
class=
"merchant-info"
>
<div
class=
"name-rank"
>
<div
class=
"name-rank"
>
<span
class=
"merchant-name"
>
{{userInfo.unitName}}
</span>
<span
class=
"merchant-name"
>
{{userInfo.unitName}}
</span>
<span
class=
"user-rank"
>
安全等级:绿
</span>
<span
class=
"user-rank green"
v-if=
"userInfo.safeLevel==0"
@
click=
"gotoPage('anquan_level')"
>
安全等级:绿
</span
>
<span
class=
"user-rank yellow"
v-if=
"userInfo.safeLevel==1"
@
click=
"gotoPage('anquan_level')"
>
安全等级:黄
</span
>
<span
class=
"user-rank red"
v-if=
"userInfo.safeLevel==2"
@
click=
"gotoPage('anquan_level')"
>
安全等级:红
</span
>
</div>
</div>
<div
class=
"divider"
></div>
<div
class=
"divider"
></div>
<div
class=
"type-address"
>
<div
class=
"type-address"
>
...
...
home.js
View file @
1386b9f6
...
@@ -44,6 +44,7 @@ window.onload = function () {
...
@@ -44,6 +44,7 @@ window.onload = function () {
userName
:
'
张三
'
,
// 登录用户name
userName
:
'
张三
'
,
// 登录用户name
deptId
:
'
1
'
,
// 登录用户部门id
deptId
:
'
1
'
,
// 登录用户部门id
deptName
:
'
部门1
'
,
// 登录用户部门name
deptName
:
'
部门1
'
,
// 登录用户部门name
safeLevel
:
'
0
'
,
//0:绿、1:黄、2:红
role
:
'
dudao
'
,
role
:
'
dudao
'
,
roleName
:
''
,
roleName
:
''
,
},
},
...
@@ -167,7 +168,10 @@ window.onload = function () {
...
@@ -167,7 +168,10 @@ window.onload = function () {
navTo
(
url
)
{
navTo
(
url
)
{
// gemhoUtil.nav2asd(url)
// gemhoUtil.nav2asd(url)
},
},
gotoPage
(
stringifyUrl
)
{
let
url
=
gemhoUtil
.
setParameter
(
`src/_
${
stringifyUrl
}
.html`
)
gemhoUtil
.
navigatePage
(
url
,
'
跳转中...
'
)
},
init
()
{
init
()
{
// 在组件挂载后执行
// 在组件挂载后执行
// 调用你的方法
// 调用你的方法
...
@@ -237,6 +241,7 @@ window.onload = function () {
...
@@ -237,6 +241,7 @@ window.onload = function () {
userId
:
'
1
'
,
// 登录用户id
userId
:
'
1
'
,
// 登录用户id
userName
:
'
张三
'
,
// 登录用户name
userName
:
'
张三
'
,
// 登录用户name
deptId
:
'
1
'
,
// 登录用户部门id
deptId
:
'
1
'
,
// 登录用户部门id
safeLevel
:
result
.
data
.
merchantInfoNumVo
?.
safeLevel
,
//0:绿、1:黄、2:红
deptName
:
result
.
data
.
roleDeptNameVo
.
deptName
,
// 登录用户部门name
deptName
:
result
.
data
.
roleDeptNameVo
.
deptName
,
// 登录用户部门name
businessAddress
:
businessAddress
:
result
.
data
.
merchantInfoNumVo
?.
businessAddress
,
//
result
.
data
.
merchantInfoNumVo
?.
businessAddress
,
//
...
@@ -249,9 +254,9 @@ window.onload = function () {
...
@@ -249,9 +254,9 @@ window.onload = function () {
}
}
gemhoUtil
.
setCookie
(
'
userType
'
,
this
.
userInfo
.
userType
)
gemhoUtil
.
setCookie
(
'
userType
'
,
this
.
userInfo
.
userType
)
if
(
this
.
userInfo
.
userType
===
'
consumers
'
)
{
// 2025年5月14日新增消费者逻辑
if
(
this
.
userInfo
.
userType
===
'
consumers
'
)
{
// 2025年5月14日新增消费者逻辑
// 根据url地址的merid获取商户信息
// 根据url地址的merid获取商户信息
if
(
gemhoUtil
.
getParameter
(
'
merId
'
))
{
// 消费者直接在爱山东扫商户码进入首页
if
(
gemhoUtil
.
getParameter
(
'
merId
'
))
{
// 消费者直接在爱山东扫商户码进入首页
// this.getMerInfo()
// this.getMerInfo()
param
=
{
param
=
{
merId
:
gemhoUtil
.
getParameter
(
'
merId
'
),
merId
:
gemhoUtil
.
getParameter
(
'
merId
'
),
...
@@ -260,7 +265,7 @@ window.onload = function () {
...
@@ -260,7 +265,7 @@ window.onload = function () {
let
url
=
gemhoUtil
.
setParameter
(
`
${
param
.
pageName
}
.html`
,
param
)
let
url
=
gemhoUtil
.
setParameter
(
`
${
param
.
pageName
}
.html`
,
param
)
gemhoUtil
.
navigatePage
(
url
,
'
跳转中...
'
)
gemhoUtil
.
navigatePage
(
url
,
'
跳转中...
'
)
return
return
}
else
{
// 消费者不扫码后,直接退出到爱山东首页。(用户直接在爱山东点击应用进入首页)
}
else
{
// 消费者不扫码后,直接退出到爱山东首页。(用户直接在爱山东点击应用进入首页)
vant
.
Dialog
.
alert
({
vant
.
Dialog
.
alert
({
title
:
'
信息提示
'
,
title
:
'
信息提示
'
,
message
:
'
请扫描商户码访问~
'
,
message
:
'
请扫描商户码访问~
'
,
...
@@ -273,7 +278,7 @@ window.onload = function () {
...
@@ -273,7 +278,7 @@ window.onload = function () {
}
}
return
return
}
else
if
(
this
.
userInfo
.
userType
===
'
shop
'
)
{
}
else
if
(
this
.
userInfo
.
userType
===
'
shop
'
)
{
this
.
defaultMenuList
[
1
].
navTo
=
'
checkrecord
'
this
.
defaultMenuList
[
1
].
navTo
=
'
checkrecord
'
}
else
{
}
else
{
this
.
defaultMenuList
[
1
].
navTo
=
'
shanghu_list
'
this
.
defaultMenuList
[
1
].
navTo
=
'
shanghu_list
'
...
...
sdk/axios_http.js
View file @
1386b9f6
...
@@ -10,14 +10,14 @@ axios.defaults.headers.post['Content-Type'] = 'application/json'
...
@@ -10,14 +10,14 @@ axios.defaults.headers.post['Content-Type'] = 'application/json'
// axios.defaults.headers.common['Authorization'] = gemhoUtil.getCookie('token')
// axios.defaults.headers.common['Authorization'] = gemhoUtil.getCookie('token')
// 消费者token
//
//
消费者token
axios
.
defaults
.
headers
.
common
[
'
Authorization
'
]
=
//
axios.defaults.headers.common['Authorization'] =
'
Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiLmtojotLnogIUiLCJsb2dpbl91c2VyX2tleSI6ImExNWIwMDNjLWRlYWItNGU2MC04ODg4LTJiODNjMzVkNDUzNSJ9.l6gHzFX-U5rKGJ7zoDA4jMBIxkhVgCjWr5ynFg1DR6xspM9Ls6raTxyEo2Kr61UbG2UD6P2kN63vF_U8nX8afg
'
//
'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiLmtojotLnogIUiLCJsb2dpbl91c2VyX2tleSI6ImExNWIwMDNjLWRlYWItNGU2MC04ODg4LTJiODNjMzVkNDUzNSJ9.l6gHzFX-U5rKGJ7zoDA4jMBIxkhVgCjWr5ynFg1DR6xspM9Ls6raTxyEo2Kr61UbG2UD6P2kN63vF_U8nX8afg'
//
//
商户token
// 商户token
//
axios.defaults.headers.common['Authorization'] =
axios
.
defaults
.
headers
.
common
[
'
Authorization
'
]
=
// 'Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiLlvKDlrZ3lvakiLCJsb2dpbl91c2VyX2tleSI6ImYzZDMwY2Q4LWY5ODAtNGE0NC1iNzE1LTZiMTJlNGQyZTQ1OCJ9.HjtdJuJS7NjTw4GMaAtDtOeA2EnF75pXVQefzwkdrxQdxyHB6L8h0XhKSB5A_YMsznQMd4DZrGZ5TPEmc1fueg
'
'
eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxMzg2MzE1OTk4NyIsImxvZ2luX3VzZXJfa2V5IjoiMDc1ZWVkOGUtYjZjNC00OTE3LWJlYjYtY2RhOTBmYWY2YTkwIn0.7IcT8J7AGWR7vlesikjZvDYYvSY46TKIU2F41g8V7z6naxJQOlOKt-IXTzTo2QmlSF5Eo7hbxfTy7OJxdT4MWw
'
// admin账号token
// admin账号token
// axios.defaults.headers.common['Authorization'] =
// axios.defaults.headers.common['Authorization'] =
...
...
src/_anquan_level.css
0 → 100644
View file @
1386b9f6
/* 全局样式重置 */
*
{
margin
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
-webkit-tap-highlight-color
:
transparent
;
}
/* 基础样式 */
body
{
font-family
:
-apple-system
,
BlinkMacSystemFont
,
'PingFang SC'
,
'Helvetica Neue'
,
sans-serif
;
line-height
:
1.5
;
color
:
#333
;
background-color
:
#f8f8f8
;
padding-bottom
:
20px
;
}
/* 表格样式 */
.table-container
{
margin
:
15px
;
background-color
:
#fff
;
border-radius
:
8px
;
overflow
:
hidden
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
}
table
{
width
:
100%
;
border-collapse
:
collapse
;
}
th
,
td
{
padding
:
12px
15px
;
text-align
:
center
;
border-bottom
:
1px
solid
#eee
;
border-right
:
1px
solid
#eee
;
}
/* 最后一列去除右边框 */
th
:last-child
,
td
:last-child
{
border-right
:
none
;
}
th
{
font-size
:
20px
;
color
:
#666
;
font-weight
:
bold
;
}
td
{
font-size
:
16px
;
}
/* 等级标识样式 */
.level-icon
{
display
:
inline-block
;
width
:
24px
;
height
:
24px
;
margin-right
:
10px
;
vertical-align
:
middle
;
text-align
:
center
;
line-height
:
24px
;
color
:
#fff
;
}
.green
.level-icon
{
background-color
:
#4caf50
;
}
.yellow
.level-icon
{
background-color
:
#ffc107
;
}
.red
.level-icon
{
background-color
:
#f44336
;
}
/* 第一列宽度调整 */
th
:first-child
,
td
:first-child
{
width
:
100px
;
}
/* 最后一行去除下边框 */
tr
:last-child
td
{
border-bottom
:
none
;
}
/* 注释样式 */
.note
{
margin
:
15px
;
font-size
:
12px
;
color
:
#999
;
line-height
:
1.4
;
}
src/_anquan_level.html
0 → 100644
View file @
1386b9f6
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0, viewprot-fit:cover"
>
<title>
高区“码”上
</title>
<script
type=
"text/javascript"
src=
"../sdk/includeHead.js"
></script>
</head>
</head>
<body>
<div
id=
"app"
>
<div
class=
"wrapper"
>
<van-nav-bar
title=
"安全等级说明"
left-arrow
@
click-left=
"onClickLeft"
></van-nav-bar>
<div
class=
"table-container"
>
<table>
<thead>
<tr>
<th>
等级
</th>
<th>
判定条件
</th>
</tr>
</thead>
<tbody>
<tr
class=
"green"
>
<td><span
class=
"level-icon"
>
绿
</span></td>
<td>
1个月内自查数≥1次 且 超期未整改≤2次
</td>
</tr>
<tr
class=
"yellow"
>
<td><span
class=
"level-icon"
>
黄
</span></td>
<td>
1个月内自查数=0 或 超期未整改>2次
</td>
</tr>
<tr
class=
"red"
>
<td><span
class=
"level-icon"
>
红
</span></td>
<td>
2个月内自查数=0 或 超期未整改>4次
</td>
</tr>
</tbody>
</table>
</div>
<p
class=
"note"
>
注:等级根据企业自查、整改数据实时变动
</p>
</div>
</div>
</body>
</html>
\ No newline at end of file
src/_anquan_level.js
0 → 100644
View file @
1386b9f6
/**
* author: dabao
* date: 2024-03-15
* description: 安全等级
*/
var
VUE
=
null
window
.
addEventListener
(
"
load
"
,
function
()
{
VUE
=
new
Vue
({
el
:
'
#app
'
,
data
()
{
return
{
}
},
methods
:
{
// 跳转
onClickLeft
()
{
window
.
history
.
back
()
}
}
});
})
\ No newline at end of file
src/_check_info.css
View file @
1386b9f6
/* 基础样式 */
/* 基础样式 */
html
,
html
,
body
{
body
{
background-color
:
#fff
;
background-color
:
#fff
;
letter-spacing
:
.01rem
;
letter-spacing
:
0
.01rem
;
}
}
/* 通用工具类 */
/* 通用工具类 */
.pd-01rem
{
.pd-01rem
{
padding-bottom
:
0.1rem
;
padding-bottom
:
0.1rem
;
}
}
/* 表单相关 */
/* 表单相关 */
.formValue
{
.formValue
{
float
:
right
;
float
:
right
;
}
}
.formSubmitBtnWrapper
{
.formSubmitBtnWrapper
{
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
margin-top
:
0.2rem
;
margin-top
:
0.2rem
;
margin-bottom
:
0.2rem
;
margin-bottom
:
0.2rem
;
}
}
.formSubmitBtnWrapper
.van-button
{
.formSubmitBtnWrapper
.van-button
{
width
:
4rem
;
width
:
4rem
;
}
}
/* 框架样式覆盖修改 */
/* 框架样式覆盖修改 */
.checklist-container
.van-cell__value
{
.checklist-container
.van-cell__value
{
overflow
:
unset
;
overflow
:
unset
;
background-color
:
#f5f6fa
;
background-color
:
#f5f6fa
;
}
}
.checklist-container
.van-cell
:after
{
.checklist-container
.van-cell
:after
{
border-bottom
:
none
;
border-bottom
:
none
;
}
}
.checklist-container
.van-radio-group--horizontal
{
.checklist-container
.van-radio-group--horizontal
{
float
:
left
;
float
:
left
;
}
}
.checklist-container
.van-checkbox
{
.checklist-container
.van-checkbox
{
width
:
auto
;
width
:
auto
;
float
:
left
;
float
:
left
;
margin-right
:
.3rem
;
margin-right
:
0
.3rem
;
margin-bottom
:
.2rem
;
margin-bottom
:
0
.2rem
;
}
}
.checklist-container
.van-checkbox__label
,
.checklist-container
.van-checkbox__label
,
.checklist-container
.van-radio__label
{
.checklist-container
.van-radio__label
{
font-size
:
0.28rem
;
font-size
:
0.28rem
;
}
}
.checklist-container
.van-checkbox__icon
,
.checklist-container
.van-checkbox__icon
,
.checklist-container
.van-radio__icon
{
.checklist-container
.van-radio__icon
{
font-size
:
0.34rem
;
font-size
:
0.34rem
;
background-color
:
#fff
;
background-color
:
#fff
;
}
}
.checklist-container
.van-radio
{
.checklist-container
.van-radio
{
margin
:
.2rem
0
0.2rem
0.8rem
;
margin
:
0
.2rem
0
0.2rem
0.8rem
;
}
}
.checklist-container
.van-cell
{
.checklist-container
.van-cell
{
background
:
#f5f6fa
;
background
:
#f5f6fa
;
margin-top
:
0.2rem
;
margin-top
:
0.2rem
;
padding
:
0
;
padding
:
0
;
}
}
/* 表单内的表项 背景色覆盖 */
/* 表单内的表项 背景色覆盖 */
.van-form
{
.van-form
{
margin-bottom
:
1rem
;
margin-bottom
:
1rem
;
padding-left
:
.3rem
;
padding-left
:
0
.3rem
;
}
}
.van-form
.van-field__label
{
.van-form
.van-field__label
{
width
:
1.8rem
;
width
:
1.8rem
;
}
}
.van-form
.van-field__control
{
.van-form
.van-field__control
{
text-align
:
right
;
text-align
:
right
;
padding-right
:
.3rem
;
padding-right
:
0.3rem
;
}
}
.van-form
.van-cell
,
.van-form
.van-cell
,
.van-form
.van-cell__value
{
.van-form
.van-cell__value
{
background
:
#fff
;
background
:
#fff
;
}
}
.yh_desc
{
.yh_desc
{
width
:
6.2rem
;
width
:
6.2rem
;
min-height
:
0.68rem
;
min-height
:
0.68rem
;
background
:
rgb
(
238
,
238
,
238
);
background
:
rgb
(
238
,
238
,
238
);
border-radius
:
0.04rem
;
border-radius
:
0.04rem
;
border
:
0px
solid
rgb
(
191
,
191
,
191
);
border
:
0px
solid
rgb
(
191
,
191
,
191
);
padding
:
.2rem
;
padding
:
0
.2rem
;
font-size
:
0.28rem
;
font-size
:
0.28rem
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#545454
;
color
:
#545454
;
}
}
.checklist-container
.van-cell-group
{
.checklist-container
.van-cell-group
{
background-color
:
#f5f6fa
;
background-color
:
#f5f6fa
;
}
}
.checklist-container
textarea
{
.checklist-container
textarea
{
background-color
:
#fff
!important
;
background-color
:
#fff
!important
;
}
}
.checklist-container
.van-uploader__upload
{
.checklist-container
.van-uploader__upload
{
background-color
:
#fff
;
background-color
:
#fff
;
}
}
.limit_date_wrapper
.van-field__label
{
.limit_date_wrapper
.van-field__label
{
width
:
1.3rem
;
width
:
1.3rem
;
}
}
.checklist-container
.van-icon-apps-o
:before
,
.checklist-container
.van-icon-apps-o
:before
,
.checklist-container
.van-icon-fire-o
:before
{
.checklist-container
.van-icon-fire-o
:before
{
font-size
:
0.32rem
;
font-size
:
0.32rem
;
}
}
/* 检查清单容器 */
/* 检查清单容器 */
.checklist-container
{
.checklist-container
{
/* padding: 12px; */
/* padding: 12px; */
background
:
#fff
;
background
:
#fff
;
overflow
:
hidden
;
overflow
:
hidden
;
padding-bottom
:
2rem
;
padding-bottom
:
2rem
;
}
}
/* 检查项 */
/* 检查项 */
.check-item
{
.check-item
{
background
:
white
;
background
:
white
;
float
:
left
;
float
:
left
;
}
}
.item-header
{
.item-header
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin
:
.3rem
0px
.1rem
.3rem
;
margin
:
0.3rem
0px
0.1rem
0
.3rem
;
}
}
.item-number
{}
.item-number
{
}
.item-title
{
.item-title
{
font-size
:
0.28rem
;
font-size
:
0.28rem
;
}
}
.item_title
{
.item_title
{
font-size
:
0.3rem
;
font-size
:
0.3rem
;
color
:
#1081E
3
;
color
:
#1081e
3
;
font-weight
:
bold
;
font-weight
:
bold
;
position
:
relative
;
position
:
relative
;
padding-left
:
0.2rem
;
padding-left
:
0.2rem
;
margin-left
:
.2rem
;
margin-left
:
0
.2rem
;
}
}
.item_title
::before
{
.item_title
::before
{
content
:
''
;
content
:
''
;
display
:
block
;
display
:
block
;
width
:
0.05rem
;
width
:
0.05rem
;
height
:
0.32rem
;
height
:
0.32rem
;
background-color
:
#1081E
3
;
background-color
:
#1081e
3
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
0
;
top
:
0
;
}
}
/* 展开部分 */
/* 展开部分 */
.expand-section
{
.expand-section
{
width
:
calc
(
7.5rem
-
0.6rem
);
width
:
calc
(
7.5rem
-
0.6rem
);
float
:
left
;
float
:
left
;
background
:
#f5f6fa
;
background
:
#f5f6fa
;
padding
:
0.1rem
0.3rem
;
padding
:
0.1rem
0.3rem
;
}
}
/* 图片预览大小 */
/* 图片预览大小 */
.expand-section
.van-uploader__preview-image
{
.expand-section
.van-uploader__preview-image
{
display
:
block
;
display
:
block
;
width
:
1.4rem
;
width
:
1.4rem
;
height
:
1.4rem
;
height
:
1.4rem
;
overflow
:
hidden
;
overflow
:
hidden
;
}
}
/* 子复选框组 */
/* 子复选框组 */
.sub-checkbox-group
{
.sub-checkbox-group
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
gap
:
0.2rem
;
gap
:
0.2rem
;
margin
:
.2rem
0
.3rem
0
;
margin
:
0.2rem
0
0
.3rem
0
;
}
}
/* 上传器 */
/* 上传器 */
.uploader-wrapper
{
.uploader-wrapper
{
--van-uploader-size
:
80px
;
--van-uploader-size
:
80px
;
}
}
/* 截止日期选择器 */
/* 截止日期选择器 */
.deadline-picker
{
.deadline-picker
{
display
:
flex
;
display
:
flex
;
gap
:
12px
;
gap
:
12px
;
margin
:
12px
0
;
margin
:
12px
0
;
}
}
/* 检查清单头部 */
/* 检查清单头部 */
.checklist-header
p
{
.checklist-header
p
{
background-color
:
rgb
(
25
,
137
,
250
);
background-color
:
rgb
(
25
,
137
,
250
);
color
:
rgb
(
255
,
255
,
255
);
color
:
rgb
(
255
,
255
,
255
);
font-size
:
0.26rem
;
font-size
:
0.26rem
;
padding
:
0.2rem
0.3rem
0.2rem
;
padding
:
0.2rem
0.3rem
0.2rem
;
line-height
:
0.39999rem
;
line-height
:
0.39999rem
;
margin
:
0
;
margin
:
0
;
}
}
.checklist-header
h5
{
.checklist-header
h5
{
font-size
:
0.32rem
;
font-size
:
0.32rem
;
text-align
:
center
;
text-align
:
center
;
}
}
/* 必填标题 */
/* 必填标题 */
.title_require
{
.title_require
{
position
:
relative
;
position
:
relative
;
padding
:
0
;
padding
:
0
;
margin
:
0
;
margin
:
0
;
margin-top
:
0.1rem
;
margin-top
:
0.1rem
;
padding-left
:
0.2rem
;
padding-left
:
0.2rem
;
font-size
:
.28rem
;
font-size
:
0
.28rem
;
}
}
.title_require
::before
{
.title_require
::before
{
position
:
absolute
;
position
:
absolute
;
content
:
'*'
;
content
:
'*'
;
color
:
#ee0a24
;
color
:
#ee0a24
;
...
@@ -235,10 +234,10 @@
...
@@ -235,10 +234,10 @@
left
:
0
;
left
:
0
;
top
:
50%
;
top
:
50%
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
}
}
/* 底部栏 */
/* 底部栏 */
.bottom_bar
{
.bottom_bar
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
position
:
fixed
;
position
:
fixed
;
...
@@ -248,32 +247,32 @@
...
@@ -248,32 +247,32 @@
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
width
:
88vw
;
width
:
88vw
;
/* border: 1px solid; */
/* border: 1px solid; */
background
:
#FFFFFF
;
background
:
#ffffff
;
box-shadow
:
2px
-5px
21px
0px
rgba
(
103
,
103
,
103
,
0.14
);
box-shadow
:
2px
-5px
21px
0px
rgba
(
103
,
103
,
103
,
0.14
);
padding-top
:
0.2rem
;
padding-top
:
0.2rem
;
padding-bottom
:
0.2rem
;
padding-bottom
:
0.2rem
;
padding-left
:
0.2rem
;
padding-left
:
0.2rem
;
padding-right
:
0.2rem
;
padding-right
:
0.2rem
;
}
}
.bottom_bar
>
div
{
.bottom_bar
>
div
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
auto
auto
.6
fr
;
grid-template-columns
:
auto
auto
0
.6
fr
;
padding-left
:
.2rem
;
padding-left
:
0
.2rem
;
align-items
:
center
;
align-items
:
center
;
gap
:
0.2rem
;
gap
:
0.2rem
;
width
:
100vw
;
width
:
100vw
;
}
}
.bottom_bar
>
div
>
span
{
.bottom_bar
>
div
>
span
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
0.28rem
;
font-size
:
0.28rem
;
color
:
#545454
;
color
:
#545454
;
display
:
inline-block
;
display
:
inline-block
;
/* width: 1.8rem; */
/* width: 1.8rem; */
}
}
.bottom_bar
>
div
>
span
:before
{
.bottom_bar
>
div
>
span
:before
{
display
:
inline-block
;
display
:
inline-block
;
width
:
0.3rem
;
width
:
0.3rem
;
height
:
0.3rem
;
height
:
0.3rem
;
...
@@ -282,25 +281,24 @@
...
@@ -282,25 +281,24 @@
background-size
:
cover
;
background-size
:
cover
;
font-weight
:
500
;
font-weight
:
500
;
margin-right
:
0.1rem
;
margin-right
:
0.1rem
;
}
}
.bottom_bar
>
div
>
span
:first-child:before
{
.bottom_bar
>
div
>
span
:first-child:before
{
background-image
:
url('../image/code/check_num.png')
;
background-image
:
url('../image/code/check_num.png')
;
}
}
.bottom_bar
>
div
>
span
:nth-child
(
2
)
:before
{
.bottom_bar
>
div
>
span
:nth-child
(
2
)
:before
{
background-image
:
url('../image/code/yh_num.png')
;
background-image
:
url('../image/code/yh_num.png')
;
}
}
.bottom_bar
button
{
.bottom_bar
button
{
color
:
#fff
;
color
:
#fff
;
}
}
.day_select
{
.day_select
{
border-color
:
rgb
(
191
,
191
,
191
);
border-color
:
rgb
(
191
,
191
,
191
);
margin-right
:
0.1rem
;
margin-right
:
0.1rem
;
width
:
1rem
;
width
:
1rem
;
padding-left
:
.2rem
;
padding-left
:
0
.2rem
;
background-color
:
#fff
;
background-color
:
#fff
;
}
}
\ No newline at end of file
src/_shanghu_home.css
View file @
1386b9f6
html
,
html
,
body
{
body
{
letter-spacing
:
.01rem
;
letter-spacing
:
0
.01rem
;
}
}
.wrapper
{
.wrapper
{
...
@@ -9,7 +9,7 @@ body {
...
@@ -9,7 +9,7 @@ body {
}
}
.header
{
.header
{
padding
:
.2rem
;
padding
:
0
.2rem
;
}
}
.header
.title
{
.header
.title
{
...
@@ -31,7 +31,7 @@ body {
...
@@ -31,7 +31,7 @@ body {
.detail
{
.detail
{
width
:
6.5rem
;
width
:
6.5rem
;
/* height: 1.88rem; */
/* height: 1.88rem; */
background
:
#F5F6FA
;
background
:
#f5f6fa
;
border-radius
:
0.01rem
;
border-radius
:
0.01rem
;
/* padding-left: 0.2rem; */
/* padding-left: 0.2rem; */
padding
:
0.3rem
;
padding
:
0.3rem
;
...
@@ -42,7 +42,6 @@ body {
...
@@ -42,7 +42,6 @@ body {
justify-content
:
space-around
;
justify-content
:
space-around
;
/* padding-bottom: 0.1rem;
/* padding-bottom: 0.1rem;
gap: 0.1rem; */
gap: 0.1rem; */
}
}
.detail
.van-col
{
.detail
.van-col
{
...
@@ -61,32 +60,31 @@ body {
...
@@ -61,32 +60,31 @@ body {
.detail
.detail_link
{
.detail
.detail_link
{
position
:
absolute
;
position
:
absolute
;
right
:
.3rem
;
right
:
0
.3rem
;
font-size
:
.26rem
;
font-size
:
0
.26rem
;
color
:
#1081E
3
;
color
:
#1081e
3
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.func_btn
{
.func_btn
{
width
:
7.12rem
;
width
:
7.12rem
;
height
:
0.8rem
;
height
:
0.8rem
;
background
:
#1081E
3
;
background
:
#1081e
3
;
border-radius
:
0.1rem
;
border-radius
:
0.1rem
;
font-family
:
PingFang
SC
;
font-family
:
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
0.3rem
;
font-size
:
0.3rem
;
color
:
#FFFFFF
;
color
:
#ffffff
;
margin
:
0
auto
;
margin
:
0
auto
;
border-width
:
0
;
border-width
:
0
;
margin-left
:
.2rem
;
margin-left
:
0
.2rem
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.func_btn
span
{
.func_btn
span
{
font-size
:
0.5rem
;
font-size
:
0.5rem
;
vertical-align
:
-0.05rem
;
vertical-align
:
-0.05rem
;
margin-right
:
.1rem
;
margin-right
:
0
.1rem
;
}
}
.tag
{
.tag
{
...
@@ -95,13 +93,20 @@ body {
...
@@ -95,13 +93,20 @@ body {
height
:
0.42rem
;
height
:
0.42rem
;
line-height
:
0.42rem
;
line-height
:
0.42rem
;
text-align
:
center
;
text-align
:
center
;
background
:
#00B55E
;
border-radius
:
21px
;
border-radius
:
21px
;
font-weight
:
500
;
font-weight
:
500
;
font-size
:
0.28rem
;
font-size
:
0.28rem
;
color
:
#FFFFFF
;
color
:
#ffffff
;
}
.green
{
background
:
#00b55e
;
}
.yellow
{
background
:
rgba
(
255
,
148
,
21
,
1
);
}
.red
{
background
:
rgba
(
255
,
33
,
49
,
1
);
}
}
/* 添加以下样式 */
/* 添加以下样式 */
.van-tabs__line
{
.van-tabs__line
{
...
@@ -134,14 +139,9 @@ body {
...
@@ -134,14 +139,9 @@ body {
}
}
.van-tab--active
{
.van-tab--active
{
color
:
#1081e3
;
color
:
#1081E3
;
}
}
.van-field__label
{
.van-field__label
{
font-weight
:
bold
;
font-weight
:
bold
;
}
}
...
@@ -151,13 +151,13 @@ body {
...
@@ -151,13 +151,13 @@ body {
}
}
.subNavWrapper
{
.subNavWrapper
{
background-color
:
#F5F6FA
;
background-color
:
#f5f6fa
;
padding
:
0.2rem
0.2rem
;
padding
:
0.2rem
0.2rem
;
margin-top
:
-0.3rem
;
margin-top
:
-0.3rem
;
}
}
.subNavWrapper
.van-tab__text
{
.subNavWrapper
.van-tab__text
{
color
:
#5B5B5B
;
color
:
#5b5b5b
;
}
}
.subNavWrapper
.van-tab--active
span
{
.subNavWrapper
.van-tab--active
span
{
...
@@ -165,7 +165,6 @@ body {
...
@@ -165,7 +165,6 @@ body {
font-size
:
0.28rem
;
font-size
:
0.28rem
;
}
}
.subNavWrapper
.van-tabs__nav--card
{
.subNavWrapper
.van-tabs__nav--card
{
border
:
none
!important
;
border
:
none
!important
;
}
}
...
@@ -175,34 +174,33 @@ body {
...
@@ -175,34 +174,33 @@ body {
}
}
.subNavWrapper
.van-tabs__nav--card
.van-tab
{
.subNavWrapper
.van-tabs__nav--card
.van-tab
{
color
:
#5B5B5B
;
color
:
#5b5b5b
;
border
:
none
!important
;
border
:
none
!important
;
}
}
.subNavWrapper
.van-tabs__nav--card
.van-tab.van-tab--active
{
.subNavWrapper
.van-tabs__nav--card
.van-tab.van-tab--active
{
color
:
#FFFFFF
;
color
:
#ffffff
;
background
:
#58A5E
8
;
background
:
#58a5e
8
;
border-radius
:
0.4rem
;
border-radius
:
0.4rem
;
}
}
.subNavWrapper
.van-list
{
.subNavWrapper
.van-list
{
background
:
#F5F6FA
;
background
:
#f5f6fa
;
}
}
.subNavWrapper
.van-cell
{
.subNavWrapper
.van-cell
{
margin-bottom
:
.3rem
;
margin-bottom
:
0
.3rem
;
}
}
.subNavWrapper
.van-tabs__nav
{
.subNavWrapper
.van-tabs__nav
{
background
:
#F5F6FA
;
background
:
#f5f6fa
;
margin
:
0
;
margin
:
0
;
}
}
.navToBtn
{
.navToBtn
{
color
:
#5B5B5B
;
color
:
#5b5b5b
;
font-size
:
.36rem
;
font-size
:
0
.36rem
;
margin-top
:
.04rem
;
margin-top
:
0
.04rem
;
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
}
}
src/_shanghu_home.html
View file @
1386b9f6
...
@@ -15,7 +15,10 @@
...
@@ -15,7 +15,10 @@
<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><span
class=
"tag"
>
安全等级-绿
</span>
<img
src=
"../image/code/sj.png"
alt=
""
><span>
{{merInformation.unitName}}
</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 red"
v-if=
"merInformation.safeLevel==2"
@
click=
"gotoPage('anquan_level')"
>
安全等级-红
</span>
</div>
</div>
<div
class=
"detail"
>
<div
class=
"detail"
>
<van-row>
<van-row>
...
...
src/_shanghu_home.js
View file @
1386b9f6
...
@@ -85,6 +85,10 @@ window.addEventListener("load", function () {
...
@@ -85,6 +85,10 @@ window.addEventListener("load", function () {
}
}
},
},
gotoPage
(
stringifyUrl
)
{
let
url
=
gemhoUtil
.
setParameter
(
`src/_
${
stringifyUrl
}
.html`
)
gemhoUtil
.
navigatePage
(
url
,
'
跳转中...
'
)
},
// 新增选择确认方法
// 新增选择确认方法
onConfirmType
(
value
)
{
onConfirmType
(
value
)
{
this
.
formData
.
type
=
value
;
this
.
formData
.
type
=
value
;
...
...
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