Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzksxt
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
常超
xzksxt
Commits
d53d4f4f
Commit
d53d4f4f
authored
Jan 29, 2024
by
宋珺琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改布局、修改选项存到服务器
parent
74d8a8b1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
20 deletions
+50
-20
dist.zip
+0
-0
src/components/student/answer.vue
+48
-19
src/components/teacher/addAnswerChildren.vue
+2
-1
No files found.
dist.zip
deleted
100644 → 0
View file @
74d8a8b1
File deleted
src/components/student/answer.vue
View file @
d53d4f4f
...
@@ -5,15 +5,14 @@
...
@@ -5,15 +5,14 @@
<!--顶部信息栏-->
<!--顶部信息栏-->
<div
class=
"top"
>
<div
class=
"top"
>
<ul
class=
"item"
>
<div
class=
"item"
style=
"display: flex;justify-content: space-between"
>
<li><i
class=
"iconfont icon-menufold icon20"
ref=
"toggle"
@
click=
"slider_flag = !slider_flag"
></i></li>
<div
style=
"display: flex;justify-content: flex-start"
>
<div
style=
"display: flex;"
>
<img
class=
"jinhuiClass"
src=
"@/assets/img/jinhui.png"
alt=
""
/>
<img
class=
"jinhuiClass"
src=
"@/assets/img/jinhui.png"
alt=
""
/>
<
li
style=
" font-family:'youshe';color: white;font-size: 40px;margin-right: -15px "
>
{{
examData
.
type
}}
-
{{
examData
.
source
}}
</li
>
<
p
class=
"titleClass"
>
{{
examData
.
type
}}
-
{{
examData
.
source
}}
</p
>
<!--
阴影效果 text-shadow: 8px 1px 1px #888888;color: rgba(255, 255, 0, 0.8);
-->
<!--
<p
>
"啊刑侦百科”-线上学习系统
</p>
-->
</div>
</div>
<
li>
(
{{
userInfo
.
name
}}
)
</li
>
<
div
class=
"itemTwo"
>
<li
>
<div
style=
"display: flex; align-items: center; margin-left: auto;"
>
<router-link
<router-link
:to=
"
{
:to=
"
{
path: '/scoreTable',
path: '/scoreTable',
...
@@ -21,18 +20,17 @@
...
@@ -21,18 +20,17 @@
cid: this.$route.query.cid,
cid: this.$route.query.cid,
cname:this.$route.query.cname,
cname:this.$route.query.cname,
role:this.$route.query.role
role:this.$route.query.role
}}" class="router1" target="_blank" >个人统计
}
}" class="router1" target="_blank">个人统计
</router-link>
</router-link>
</li
>
</div
>
<li
>
<div
style=
"display: flex; align-items: center; margin-left: auto;"
>
<router-link
<router-link
:to=
"
{
:to=
"
{ path: '/videoList' }" class="router1" target="_blank">视频学习
path: '/videoList',
}" class="router1" target="_blank">视频
</router-link>
</router-link>
</li
>
</div
>
<li><i
class=
"iconfont icon-arrLeft icon20"
></i></li
>
</div
>
</
ul
>
</
div
>
</div>
</div>
<div
class=
"flexarea"
>
<div
class=
"flexarea"
>
<!--右边选择答题区-->
<!--右边选择答题区-->
...
@@ -43,6 +41,7 @@
...
@@ -43,6 +41,7 @@
<i
class=
"iconfont icon-right auto-right"
></i>
<i
class=
"iconfont icon-right auto-right"
></i>
<span
style=
"color: black;font-weight: bold"
>
全卷共1题
<i
class=
"iconfont icon-time"
></i>
<!--倒计时:
<b>
{{
time
}}
</b>
分钟-->
</span>
<span
style=
"color: black;font-weight: bold"
>
全卷共1题
<i
class=
"iconfont icon-time"
></i>
<!--倒计时:
<b>
{{
time
}}
</b>
分钟-->
</span>
<div
style=
"color: black;font-weight: bold"
>
(
{{
userInfo
.
name
}}
)
</div>
</div>
</div>
<ul
style=
"display: flex;margin-left: 30px"
>
<ul
style=
"display: flex;margin-left: 30px"
>
<li
v-for=
"item in reduceAnswer.img"
style=
"overflow: visible;display: flex"
>
<li
v-for=
"item in reduceAnswer.img"
style=
"overflow: visible;display: flex"
>
...
@@ -586,11 +585,41 @@ export default {
...
@@ -586,11 +585,41 @@ export default {
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
.titleClass
{
font-family
:
'youshe'
;
color
:
white
;
font-size
:
40px
;
margin-right
:
-15px
;
margin-left
:
-10px
;
//不换行
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
/* 在 756px 或以下的屏幕上应用这些样式 */
@media
(
max-width
:
756px
)
{
.itemTwo
{
display
:
flex
;
flex-direction
:
column
;
margin-top
:
-10px
;
margin-bottom
:
-15px
;
}
.titleClass
{
width
:
70vw
;
}
}
/* 在 756px 以上的屏幕上应用这些样式 */
@media
(
min-width
:
757px
)
{
.itemTwo
{
display
:
flex
;
}
}
.jinhuiClass
{
.jinhuiClass
{
height
:
80px
;
height
:
80px
;
margin-top
:
-15px
;
margin-top
:
-15px
;
margin-bottom
:
-15px
;
margin-bottom
:
-15px
;
margin-left
:
-1
5
px
;
margin-left
:
-1
0
px
;
}
}
@font-face
{
@font-face
{
font-family
:
"youshe"
;
font-family
:
"youshe"
;
...
@@ -897,7 +926,7 @@ export default {
...
@@ -897,7 +926,7 @@ export default {
}
}
.right
.title
{
.right
.title
{
margin-right
:
10px
;
margin-right
:
10px
;
padding-right
:
30px
;
/*padding-right: 30px;*/
display
:
flex
;
display
:
flex
;
margin-top
:
10px
;
margin-top
:
10px
;
height
:
50px
;
height
:
50px
;
...
@@ -1036,7 +1065,6 @@ export default {
...
@@ -1036,7 +1065,6 @@ export default {
padding-bottom
:
20px
;
padding-bottom
:
20px
;
padding-top
:
20px
;
padding-top
:
20px
;
font-size
:
23px
;
font-size
:
23px
;
letter-spacing
:
1px
;
}
}
#answer
.top
.item
li
:nth-child
(
1
)
{
#answer
.top
.item
li
:nth-child
(
1
)
{
margin-right
:
10px
;
margin-right
:
10px
;
...
@@ -1092,6 +1120,7 @@ export default {
...
@@ -1092,6 +1120,7 @@ export default {
margin-right
:
5px
;
margin-right
:
5px
;
border
:
2px
solid
white
;
border
:
2px
solid
white
;
border-radius
:
10px
;
border-radius
:
10px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
}
//
背景
//
背景
.bg
{
.bg
{
...
...
src/components/teacher/addAnswerChildren.vue
View file @
d53d4f4f
...
@@ -755,11 +755,12 @@
...
@@ -755,11 +755,12 @@
params
.
append
(
'questionId'
,
self
.
row
.
questionid
)
params
.
append
(
'questionId'
,
self
.
row
.
questionid
)
params
.
append
(
'questionType'
,
'1'
)
params
.
append
(
'questionType'
,
'1'
)
params
.
append
(
'paperId'
,
self
.
row
.
paperid
)
params
.
append
(
'paperId'
,
self
.
row
.
paperid
)
console
.
log
(
self
.
photoList
)
self
.
photoList
.
forEach
(
file
=>
{
self
.
photoList
.
forEach
(
file
=>
{
if
(
file
.
raw
){
if
(
file
.
raw
){
params
.
append
(
'files'
,
file
.
raw
);
params
.
append
(
'files'
,
file
.
raw
);
}
else
{
}
else
{
params
.
append
(
'
files'
,
base64
.
dataURLtoFile
(
file
.
url
)
);
params
.
append
(
'
UrlFiles'
,
file
.
url
);
}
}
});
});
this
.
$axios
({
this
.
$axios
({
...
...
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