Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jianchayuan
Project
Project
Details
Activity
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
liuqing
jianchayuan
Commits
a58bbc28
Commit
a58bbc28
authored
Nov 09, 2023
by
daisy
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'master'
add workshop See merge request
!2
parents
93ff87cf
f8686dfb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
139 additions
and
1 deletion
+139
-1
index.html
index.html
+4
-1
workshop.css
static/css/workshop.css
+72
-0
workshop_bg.png
static/images/workshop_bg.png
+0
-0
workshop.html
workshop.html
+63
-0
No files found.
index.html
View file @
a58bbc28
...
@@ -6,9 +6,13 @@
...
@@ -6,9 +6,13 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<script
src=
"static/js/jquery-1.8.1.min.js"
type=
text/javascript
></script>
<script
src=
"static/js/jquery-1.8.1.min.js"
type=
text/javascript
></script>
<script
src=
"static/js/flexible.js"
></script>
<script
src=
"static/js/flexible.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/css/common.css"
/>
<title>
上海市人民检察院
</title>
<title>
上海市人民检察院
</title>
</head>
</head>
<style
type=
"text/css"
>
<style
type=
"text/css"
>
/* img {
width: 100%;
} */
/* 鼠标悬停时显示的tooltip样式 */
/* 鼠标悬停时显示的tooltip样式 */
.tooltip
{
.tooltip
{
position
:
absolute
;
position
:
absolute
;
...
@@ -69,7 +73,6 @@
...
@@ -69,7 +73,6 @@
<img
src=
"static/images/index1.png"
usemap=
"#image-map"
>
<img
src=
"static/images/index1.png"
usemap=
"#image-map"
>
<map
name=
"image-map"
>
<map
name=
"image-map"
>
<area
target=
""
alt=
"jianzu1"
title=
"jianzu1"
href=
""
coords=
"588,579,633,641"
<area
target=
""
alt=
"jianzu1"
title=
"jianzu1"
href=
""
coords=
"588,579,633,641"
onmouseover=
"showTooltip(event, 'Tooltip for Area 1')"
onmouseout=
"hideTooltip()"
onclick=
"handleClick(1)"
shape=
"rect"
>
onclick=
"handleClick(1)"
shape=
"rect"
>
<area
target=
""
alt=
"jianzu2"
title=
"jianzu2"
href=
""
coords=
"667,565,708,620"
onclick=
"handleClick(2)"
<area
target=
""
alt=
"jianzu2"
title=
"jianzu2"
href=
""
coords=
"667,565,708,620"
onclick=
"handleClick(2)"
shape=
"rect"
>
shape=
"rect"
>
...
...
static/css/workshop.css
0 → 100644
View file @
a58bbc28
.padding_box
{
padding
:
3.5rem
2rem
0
;
}
.flex-box
{
display
:
flex
;
align-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
}
.menu_box
{
width
:
10rem
;
}
.menu_title_box
{
width
:
100%
;
text-align
:
center
;
font-size
:
32px
;
color
:
#fff
;
}
.tab_list
ul
{
display
:
block
;
width
:
100%
;
}
.tab_list
ul
li
{
color
:
#fff
;
font-weight
:
normal
;
font-size
:
16px
;
background
:
rgb
(
0
35
105
/
70%
);
margin
:
0.4rem
0
;
border-radius
:
0.2rem
;
line-height
:
2rem
;
}
.tab_list
ul
li
div
{
font-size
:
0.6rem
;
justify-content
:
space-around
;
}
.monitor
{
font-size
:
0.5rem
;
}
.monitor
span
{
background
:
#006aec
;
padding
:
0.1rem
0.4rem
;
border-radius
:
2rem
;
margin-left
:
0.1rem
;
}
.tab_list
ul
li
a
{
color
:
#a84c47
;
}
.tab_list
ul
li
.current
{
line-height
:
2rem
;
border
:
none
;
background
:
#006aec
;
font-weight
:
normal
;
}
.tab_list
ul
li
.current
.monitor
span
{
background
:
#0055bd
;
}
.content_box
{
flex
:
1
;
}
\ No newline at end of file
static/images/workshop_bg.png
0 → 100644
View file @
a58bbc28
841 KB
workshop.html
0 → 100644
View file @
a58bbc28
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<script
src=
"static/js/jquery-1.8.1.min.js"
type=
text/javascript
></script>
<script
src=
"static/js/flexible.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/css/common.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/css/workshop.css"
/>
<title>
上海市人民检察院
</title>
</head>
<style
type=
"text/css"
>
.content
{
background
:
url(static/images/workshop_bg.png)
;
width
:
100%
;
min-height
:
100vh
;
background-position-x
:
center
;
}
</style>
<script
type=
"text/javascript"
>
$
(
function
()
{
// 1、点击上面的li,当前点击的li添加current类,其余兄弟移除类
$
(
".tab_list li"
).
click
(
function
()
{
// 链式编程 当前li添加类,其余兄弟移除类
$
(
this
).
addClass
(
'current'
).
siblings
().
removeClass
(
'current'
);
// 2、拿到当前点击的索引号
var
index
=
$
(
this
).
index
();
// 3、下面index对应的模块显示,其余的item隐藏
$
(
".tab_con .item"
).
eq
(
index
).
show
().
siblings
().
hide
();
})
});
</script>
<body>
<div
class=
"content"
>
<div
class=
"flex-box padding_box"
>
<div
class=
"menu_box"
>
<div
class=
"menu_title_box"
>
北车间
</div>
<div
class=
"tab_list"
>
<ul>
<li
class=
"current"
>
<div
class=
"flex-box"
>
<p>
一楼
</p>
<p
class=
"monitor"
>
监控点
<span>
28
</span></p>
</div>
</li>
<li>
<div
class=
"flex-box"
>
<p>
二楼
</p>
<p
class=
"monitor"
>
监控点
<span>
28
</span></p>
</div>
</li>
</ul>
</div>
</div>
<div
class=
"content_box"
>
222
</div>
</div>
</div>
</body>
</html>
\ 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