Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
华
华夏模拟理财_20250701
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
华夏模拟理财_20250701
Commits
d87dbf23
Commit
d87dbf23
authored
Jul 29, 2025
by
zhangyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
到实际
parent
35f929d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
14 deletions
+25
-14
main.ts
mock/main.ts
+1
-1
index.less
src/panels/answerPanel/index.less
+24
-13
No files found.
mock/main.ts
View file @
d87dbf23
...
@@ -494,7 +494,7 @@ export default [
...
@@ -494,7 +494,7 @@ export default [
return
{
return
{
"code"
:
null
,
"code"
:
null
,
"data"
:
{
"data"
:
{
"answers"
:
[
'
选项选项选项选项选项选项选项选项选项选项
a'
,
"选项2"
,
"选项3"
,
"选项4"
],
"answers"
:
[
'
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
a'
,
"选项2"
,
"选项3"
,
"选项4"
],
"avatar"
:
null
,
"avatar"
:
null
,
"content"
:
"题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目"
,
"content"
:
"题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目题目"
,
"fullStrength"
:
true
,
"fullStrength"
:
true
,
...
...
src/panels/answerPanel/index.less
View file @
d87dbf23
...
@@ -36,31 +36,42 @@
...
@@ -36,31 +36,42 @@
position: absolute;
position: absolute;
top: 740px;
top: 740px;
left: 105px;
left: 105px;
display: flex;
flex-direction: column;
row-gap: 20px;
.answer-item {
.answer-item {
width: 5
4
0px;
width: 5
2
0px;
height:
80px
;
height:
auto
;
text-align: left;
text-align: left;
color: rgb(88, 88, 88);
color: rgb(88, 88, 88);
font-size: 24px;
font-size: 24px;
font-weight: bold;
font-weight: bold;
margin-bottom: 6px;
line-height: 1.5;
line-height: 80px;
vertical-align: middle;
padding-left: 10px;
word-break: break-all;
.sparkBg("answerPanel/normalBg.png");
background-color: #dbdbdb;
border: 1px solid #fff;
border-radius: 10px;
padding: 10px 15px;
// .sparkBg("answerPanel/normalBg.png");
position: relative;
position: relative;
}
}
.toolong {
//
.toolong {
line-height: 1.5;
//
line-height: 1.5;
}
//
}
.error {
.error {
.sparkBg("answerPanel/errorBg.png");
color: #fff;
background-color: #e57174;
// .sparkBg("answerPanel/errorBg.png");
}
}
.correct {
.correct {
.sparkBg("answerPanel/correctBg.png");
color: #fff;
background-color: #5eb272;
// .sparkBg("answerPanel/correctBg.png");
}
}
.correct-icon {
.correct-icon {
...
@@ -68,7 +79,7 @@
...
@@ -68,7 +79,7 @@
position: absolute;
position: absolute;
width: 61px;
width: 61px;
height: 60px;
height: 60px;
right:
-1
0px;
right: 0px;
top: -10px;
top: -10px;
.sparkBg("answerPanel/correctIcon.png");
.sparkBg("answerPanel/correctIcon.png");
}
}
...
@@ -77,7 +88,7 @@
...
@@ -77,7 +88,7 @@
position: absolute;
position: absolute;
width: 58px;
width: 58px;
height: 54px;
height: 54px;
right:
-1
0px;
right: 0px;
top: -10px;
top: -10px;
display: inline-block;
display: inline-block;
.sparkBg("answerPanel/errorIcon.png");
.sparkBg("answerPanel/errorIcon.png");
...
...
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