Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
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
baiguangyao
mr-julyedu
Commits
2b573b60
Commit
2b573b60
authored
Jun 09, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ai-test' into dev
parents
6691e508
efaeef74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
1 deletions
+44
-1
src/components/ai-test/scores/index.js
+4
-0
src/components/ai-test/scores/index.scss
+40
-1
No files found.
src/components/ai-test/scores/index.js
View file @
2b573b60
...
...
@@ -303,6 +303,10 @@ class Scores extends Component {
}
<
/div
>
<
/div
>
<
div
className
=
"qrcode"
>
<
img
src
=
"https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/qr.png"
alt
=
""
/>
<
div
>
得
100
分,请长按
/
扫码,免费领课!
<
/div
>
<
/div
>
<
div
className
=
"btn"
>
{
compareDesc
(
new
Date
(),
pageState
.
stop_time
*
1000
)
>
0
?
...
...
src/components/ai-test/scores/index.scss
View file @
2b573b60
...
...
@@ -145,8 +145,32 @@
div
:nth-child
(
1
)
{
font-size
:
18px
;
position
:
relative
;
margin-bottom
:
5px
;
font-size
:
18px
;
@mixin
pseudo
{
content
:
''
;
display
:
block
;
position
:
absolute
;
top
:
50%
;
transform
:
translateY
(
-50%
);
width
:
25px
;
height
:
11px
;
background
:
url("https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/ai-test/m/title-decoration.png")
no-repeat
;
background-size
:
contain
;
}
&
:
:
before
{
@include
pseudo
;
left
:
109px
;
}
&
:
:
after
{
@include
pseudo
;
right
:
109px
;
transform
:
scaleX
(
-1
)
translateY
(
-50%
);
}
}
div
:nth-child
(
2
)
{
...
...
@@ -475,4 +499,18 @@
color
:
#fff
;
}
}
.qrcode
{
padding-bottom
:
40px
;
font-size
:
12px
;
color
:
#fff
;
text-align
:
center
;
$font-family-zh
:
"PingFang SC"
,
"Hiragino Sans GB"
,
"Microsoft YaHei"
,
"微软雅黑"
,
Arial
,
sans-serif
;
img
{
width
:
110px
;
height
:
110px
;
margin-bottom
:
6px
;
}
}
}
\ 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