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
2c19e149
Commit
2c19e149
authored
Nov 21, 2021
by
杨青杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a2c0d4f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
7 deletions
+34
-7
class3-student.vue
src/pages/class3-student.vue
+25
-2
class3.vue
src/pages/class3.vue
+9
-5
No files found.
src/pages/class3-student.vue
View file @
2c19e149
<
template
>
<
template
>
<div
class=
"student"
>
<div
class=
"student"
>
<img
src=
'../../static/images/classStudent/1.png'
/>
<img
class=
"img1"
src=
'../../static/images/classStudent/1.png'
/>
<img
class=
"img2"
@
click=
"change"
src=
"../../static/images/class3/back.png"
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
methods
:
{
change
()
{
this
.
$router
.
back
(
-
1
)
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
lang=
"less"
scoped
>
.student
{
.student
{
width
:
1920px
;
width
:
1920px
;
height
:
1080px
;
height
:
1080px
;
position
:
relative
;
.img1{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
}
.img2
{
position
:
absolute
;
top
:
50px
;
right
:
25px
;
width
:
83px
;
height
:
35px
;
cursor
:
pointer
;
}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/pages/class3.vue
View file @
2c19e149
...
@@ -147,7 +147,10 @@ export default {
...
@@ -147,7 +147,10 @@ export default {
* @method Search 查询更多
* @method Search 查询更多
*/
*/
Search
()
{
Search
()
{
this
.
$router
.
push
({
path
:
'/student'
})
if
(
this
.
studentName
===
'小王'
)
{
this
.
$router
.
push
({
path
:
'/student'
})
}
console
.
log
(
123
)
}
}
}
}
...
@@ -205,18 +208,19 @@ export default {
...
@@ -205,18 +208,19 @@ export default {
width
:
830px
;
width
:
830px
;
height
:
70px
;
height
:
70px
;
display
:
flex
;
display
:
flex
;
padding
:
16px
0px
0px
19px
;
background
:
url('@{imagePath}kuang.png')
no-repeat
center
;
background
:
url('@{imagePath}kuang.png')
no-repeat
center
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
border
:
springgreen
1px
solid
;
border
:
springgreen
1px
solid
;
.select-item
{
.select-item
{
position
:
relative
;
position
:
relative
;
width
:
1
4
0px
;
width
:
1
3
0px
;
height
:
32px
;
height
:
32px
;
margin-right
:
1
6
px
;
margin-right
:
1
3
px
;
&.student-name
{
&.student-name
{
width
:
16
2px
;
width
:
22
2px
;
padding
:
2px
10px
5px
;
padding
:
2px
10px
5px
;
background
:
rgba
(
7
,
32
,
65
,
0.3
);
background
:
rgba
(
7
,
32
,
65
,
0.3
);
border
:
1px
solid
rgba
(
73
,
133
,
217
,
0.6
);
border
:
1px
solid
rgba
(
73
,
133
,
217
,
0.6
);
...
@@ -238,7 +242,7 @@ export default {
...
@@ -238,7 +242,7 @@ export default {
}
}
.search
{
.search
{
width
:
73
px
;
width
:
125
px
;
height
:
32px
;
height
:
32px
;
background-color
:
rgba
(
7
,
32
,
65
,
0.3
);
background-color
:
rgba
(
7
,
32
,
65
,
0.3
);
border
:
1px
solid
rgba
(
73
,
133
,
217
,
.6
);
border
:
1px
solid
rgba
(
73
,
133
,
217
,
.6
);
...
...
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