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
2fd18c68
Commit
2fd18c68
authored
Jan 12, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
64219d78
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
+13
-7
Pronunciation.vue
src/components/word/Pronunciation.vue
+10
-2
person.vue
src/pages/person/person.vue
+3
-4
word.vue
src/pages/word/word.vue
+0
-1
No files found.
src/components/word/Pronunciation.vue
View file @
2fd18c68
<
template
>
<view
class=
"wordPronItem"
>
<text
style=
"font-size: 20rpx;color:#4c50e7; position: absolute;top:10rpx;left:20rpx"
>
{{
type
==
1
?
'复习'
:
""
}}
</text>
<view
class=
"num"
>
{{
cur
}}
/
{{
total
}}
<text
style=
"margin-left: 6rpx;font-size: 20rpxs;"
>
{{
type
==
0
?
''
:
"复习"
}}
</text>
{{
cur
}}
/
{{
total
}}
</view>
<view
class=
"meaning"
>
{{
item
.
WordWrite
}}
...
...
@@ -135,10 +136,12 @@
.wordPronItem
{
width
:
640
rpx
;
height
:
990
rpx
;
min-
height
:
990
rpx
;
box-shadow
:
0
rpx
15
rpx
80
rpx
0
rpx
#E9E9E9
;
border-radius
:
24
rpx
;
margin
:
100
rpx
auto
0
;
position
:
relative
;
overflow
:
hidden
;
}
.wordPronItem
.num
{
...
...
@@ -156,6 +159,8 @@
color
:
#111111
;
margin-bottom
:
80
rpx
;
text-align
:
center
;
/* text-align-last: left; */
word-wrap
:
break-word
;
}
.Japanese
{
...
...
@@ -163,7 +168,10 @@
font-weight
:
bold
;
color
:
#111111
;
text-align
:
center
;
/* text-align-last: left; */
margin-bottom
:
60
rpx
;
word-wrap
:
break-word
;
padding
:
0
20
rpx
;
}
.wordPronItem
.desc
{
...
...
src/pages/person/person.vue
View file @
2fd18c68
...
...
@@ -164,16 +164,15 @@
});
},
};
onMounted
(()
=>
{
that
.
getData
();
});
let
that
=
methods
;
return
{
...
toRefs
(
data
),
...
methods
};
},
onShow
()
{
this
.
getData
();
}
};
</
script
>
...
...
src/pages/word/word.vue
View file @
2fd18c68
...
...
@@ -110,7 +110,6 @@
if
(
this
.
current
>=
total
)
{
this
.
current
=
total
-
1
}
console
.
log
(
'onShow'
,
this
.
current
)
},
onLoad
(
options
)
{
console
.
log
(
"options"
,
options
);
...
...
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