Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
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
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
向伟
educationStu
Commits
b8c5c029
Commit
b8c5c029
authored
Jan 12, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
2fd18c68
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
25 deletions
+30
-25
Pronunciation.vue
src/components/word/Pronunciation.vue
+10
-7
choiceQuestion.vue
src/components/word/choiceQuestion.vue
+14
-9
fillInTheBlanks.vue
src/components/word/fillInTheBlanks.vue
+0
-2
index.vue
src/pages/index/index.vue
+4
-0
wordStudy.vue
src/pages/word/wordStudy.vue
+2
-7
No files found.
src/components/word/Pronunciation.vue
View file @
b8c5c029
...
...
@@ -158,27 +158,30 @@
font-weight
:
500
;
color
:
#111111
;
margin-bottom
:
80
rpx
;
text-align
:
center
;
/* text-align-last: left; */
word-wrap
:
break-word
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
.Japanese
{
font-size
:
60
rpx
;
font-weight
:
bold
;
color
:
#111111
;
text-align
:
center
;
/* text-align-last: left; */
margin-bottom
:
60
rpx
;
word-wrap
:
break-word
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
margin-bottom
:
60
rpx
;
padding
:
0
20
rpx
;
}
.wordPronItem
.desc
{
display
:
flex
;
flex-wrap
:
wrap
;
align-items
:
center
;
justify-content
:
center
;
margin-bottom
:
200
rpx
;
padding
:
0
20
rpx
;
box-sizing
:
border-box
;
}
.wordPronItem
.attr
{
...
...
src/components/word/choiceQuestion.vue
View file @
b8c5c029
...
...
@@ -24,7 +24,7 @@
}
.dc2
{
font-size
:
3
0
rpx
;
font-size
:
3
2
rpx
;
color
:
#111111
;
font-weight
:
500
;
margin-top
:
160
rpx
;
...
...
@@ -46,31 +46,36 @@
}
.choice-item
{
height
:
106
rpx
;
min-height
:
85
rpx
;
border-radius
:
54
rpx
;
background
:
#FFFFFF
;
background
-color
:
#FFFFFF
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
32
rpx
;
color
:
#111111
;
margin-bottom
:
19
px
;
margin-bottom
:
38
r
px
;
position
:
relative
;
overflow-x
:
scroll
;
box-sizing
:
border-box
;
padding
:
20
rpx
30
rpx
;
font-weight
:
500
;
}
.correct
{
background
:
#4C50E7
;
background
-color
:
#4C50E7
;
color
:
#FFFFFF
;
}
.sign
{
position
:
absolute
;
right
:
33px
;
top
:
36
rpx
;
right
:
66
rpx
;
top
:
50%
;
transform
:
translateY
(
-50%
);
}
.error
{
background
:
#F66633
;
background
-color
:
#F66633
;
color
:
#FFFFFF
;
}
</
style
>
...
...
@@ -145,7 +150,7 @@
if
(
data
.
current
!==
props
.
item
.
Answer
)
{
setTimeout
(()
=>
{
data
.
isShowExplain
=
true
},
5
00
)
},
8
00
)
}
else
{
setTimeout
(()
=>
{
emit
(
'next'
,
1
)
...
...
src/components/word/fillInTheBlanks.vue
View file @
b8c5c029
...
...
@@ -47,8 +47,6 @@
margin-top
:
160
rpx
;
background
:
#E4E5FB
;
position
:
relative
;
}
.correct
{
background
:
#4C50E7
;
...
...
src/pages/index/index.vue
View file @
b8c5c029
...
...
@@ -67,6 +67,10 @@
@
click=
"jumpPage(`/pages/word/word?CourseId=$
{pageData.Words.CourseId}
&&
ChapterId=${pageData.Words.NextCourseNo}
&&
ReviewChapterId=${pageData.Words.ReviewCourseNo}
&&
ClassId=${pageData.Words.ClassId}`)">
开始学习
</view>
<view
class=
"wordBtn"
@
click=
"jumpPage(`/pages/word/test?CourseId=$
{pageData.Words.CourseId}
&&
ChapterId=${pageData.Words.NextCourseNo}
&&
ReviewChapterId=${pageData.Words.ReviewCourseNo}
&&
ClassId=${pageData.Words.ClassId}`)">
开始ces
</view>
</view>
<view
class=
"courseBox"
>
<view
class=
"courseInnerBox"
@
click=
"jumpTimetable"
>
...
...
src/pages/word/wordStudy.vue
View file @
b8c5c029
...
...
@@ -7,7 +7,7 @@
<swiper-item
v-for=
"(item,index) in ReviewList"
v-if=
"Type==1"
:key=
"index"
class=
"swiper-item"
>
<Pronunciation
:item=
"item"
:cur=
"index+1"
:total=
"ReviewList.length"
:type=
"1"
></Pronunciation>
</swiper-item>
<swiper-item></swiper-item>
</swiper>
</view>
</
template
>
...
...
@@ -91,12 +91,7 @@
}
data
.
readMsg
.
StudyType
=
type
;
proxy
.
$request
(
'/AppletWords/SetStuWordsPrep'
,
data
.
readMsg
).
then
(
res
=>
{
if
(
res
.
Data
.
StudyNum
==
res
.
Data
.
TotalNum
){
uni
.
navigateTo
({
url
:
"/pages/word/studyComplete?CourseId="
+
data
.
readMsg
.
CourseId
+
'&&ChapterId='
+
data
.
readMsg
.
ChapterId
+
'&&NextChapterId='
+
'0'
})
}
})
}
}
...
...
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