Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
JuyuanPrimarySchool
Overview
Overview
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
vue-project
JuyuanPrimarySchool
Commits
a9acf013
Project 'vue-project/liangXing/frontEnd' was moved to 'vue-project/ZhangJian/ZhangJianFrontEnd'. Please update any links and bookmarks that may still have the old path.
Commit
a9acf013
authored
Nov 22, 2021
by
xiaxiansheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xiaxs' into '
1a86cad6
'
Xiaxs See merge request
!27
parents
21ac51ca
18a8046f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
40 deletions
+19
-40
index.vue
src/components/Tab/index.vue
+6
-2
progress.vue
src/pages/progress.vue
+8
-37
safety.vue
src/pages/safety.vue
+1
-0
sixthFormStudent.vue
src/pages/sixthFormStudent.vue
+4
-1
No files found.
src/components/Tab/index.vue
View file @
a9acf013
<
template
>
<
template
>
<div
class=
"tab"
>
<div
class=
"tab"
:class=
"
{ init: activeIndex === null }"
>
<div
class=
"item"
:class=
"
{ active: activeIndex === 0 }" @click="grow">
</div>
<div
class=
"item"
:class=
"
{ active: activeIndex === 0 }" @click="grow">
</div>
<div
class=
"item"
:class=
"
{ active: activeIndex === 1 }" @click="progress">
</div>
<div
class=
"item"
:class=
"
{ active: activeIndex === 1 }" @click="progress">
</div>
<div
class=
"item"
:class=
"
{ active: activeIndex === 2 }" @click="safety">
</div>
<div
class=
"item"
:class=
"
{ active: activeIndex === 2 }" @click="safety">
</div>
...
@@ -17,7 +17,7 @@ export default {
...
@@ -17,7 +17,7 @@ export default {
mounted
()
{
mounted
()
{
const
{
index
=
null
}
=
this
.
$route
.
query
const
{
index
=
null
}
=
this
.
$route
.
query
this
.
activeIndex
=
Number
(
index
)
this
.
activeIndex
=
index
===
null
?
null
:
Number
(
index
)
},
},
methods
:
{
methods
:
{
...
@@ -46,6 +46,10 @@ export default {
...
@@ -46,6 +46,10 @@ export default {
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
&.init
{
top
:
45px
;
}
.item
{
.item
{
cursor
:
pointer
;
cursor
:
pointer
;
width
:
126px
;
width
:
126px
;
...
...
src/pages/progress.vue
View file @
a9acf013
...
@@ -37,9 +37,9 @@
...
@@ -37,9 +37,9 @@
<!-- 轮播图 -->
<!-- 轮播图 -->
<div
class=
"carousel"
>
<div
class=
"carousel"
>
<
img
src=
"../../static/images/progress/carousel.png"
style=
"position: relative; top: -45px;"
/
>
<
!--
<img
src=
"../../static/images/progress/carousel.png"
style=
"position: relative; top: -45px;"
/>
--
>
<
!--
<
div
class=
"swiper-container swiper-container-horizontal"
>
<div
class=
"swiper-container swiper-container-horizontal"
>
<div
class=
"swiper-wrapper"
style=
"transition-duration: 0ms; transform: translate3d(-3300px, 0px, 0px);"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-slide"
>
<div
class=
"swiper-slide"
>
<img
src=
"../../static/images/progress/img1.png"
>
<img
src=
"../../static/images/progress/img1.png"
>
</div>
</div>
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<img
src=
"../../static/images/progress/img5.png"
>
<img
src=
"../../static/images/progress/img5.png"
>
</div>
</div>
</div>
</div>
</div>
-->
</div>
</div>
</div>
<!-- 视频 -->
<!-- 视频 -->
...
@@ -255,10 +255,7 @@ export default {
...
@@ -255,10 +255,7 @@ export default {
if
(
this
.
teacherName
===
'陈涛'
)
{
if
(
this
.
teacherName
===
'陈涛'
)
{
this
.
visible
=
true
this
.
visible
=
true
}
else
{
}
else
{
this
.
$alert
(
'暂无数据'
,
'提示'
,
{
this
.
$message
(
'暂无数据'
)
confirmButtonText
:
'确定'
,
center
:
true
})
}
}
}
}
}
}
...
@@ -271,35 +268,6 @@ export default {
...
@@ -271,35 +268,6 @@ export default {
left
:
50%
!important
;
left
:
50%
!important
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
}
}
.carousel
{
.swiper-container
{
width
:
100%
;
height
:
100%
;
.swiper-slide
{
width
:
394px
!important
;
height
:
210px
;
background
:
rgba
(
0
,
34
,
36
,
0.3
);
border-radius
:
10px
;
overflow
:
hidden
;
&.swiper-slide-prev,
&.swiper-slide-next
{
opacity
:
.5
!important
;
}
&
.swiper-slide-active
{
z-index
:
10
;
opacity
:
1
!important
;
}
img
{
display
:
block
;
width
:
100%
;
height
:
100%
;
}
}
}
}
</
style
>
</
style
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
...
@@ -414,7 +382,10 @@ export default {
...
@@ -414,7 +382,10 @@ export default {
width
:
1200px
;
width
:
1200px
;
.swiper-container
{
.swiper-container
{
top
:
-42px
;
left
:
-190px
;
padding-bottom
:
60px
;
padding-bottom
:
60px
;
transform
:
scale
(
.85
);
}
}
.swiper-slide
{
.swiper-slide
{
...
...
src/pages/safety.vue
View file @
a9acf013
<
template
>
<
template
>
<div
class=
"safety-page"
>
<div
class=
"safety-page"
>
<page-back
/>
<div
class=
"header"
>
<div
class=
"header"
>
<div
class=
"loge"
@
click=
"loge"
></div>
<div
class=
"loge"
@
click=
"loge"
></div>
...
...
src/pages/sixthFormStudent.vue
View file @
a9acf013
...
@@ -258,14 +258,16 @@ export default {
...
@@ -258,14 +258,16 @@ export default {
position
:
absolute
;
position
:
absolute
;
top
:
111px
;
top
:
111px
;
left
:
408px
;
left
:
408px
;
cursor
:
pointer
;
}
}
.left-bottom
{
.left-bottom
{
width
:
96px
;
width
:
96px
;
height
:
22px
;
height
:
22px
;
background
:
url('@{imagePath}btn.png')
no-repeat
;
background
:
url('@{imagePath}btn.png')
no-repeat
;
position
:
absolute
;
position
:
absolute
;
bottom
:
2
71
px
;
bottom
:
2
67
px
;
left
:
408px
;
left
:
408px
;
cursor
:
pointer
;
}
}
.research
{
.research
{
width
:
828px
;
width
:
828px
;
...
@@ -324,6 +326,7 @@ export default {
...
@@ -324,6 +326,7 @@ export default {
position
:
absolute
;
position
:
absolute
;
top
:
110px
;
top
:
110px
;
left
:
1798px
;
left
:
1798px
;
cursor
:
pointer
;
}
}
.right-bottom
{
.right-bottom
{
position
:
absolute
;
position
:
absolute
;
...
...
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