Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mt-education-mobile
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
王旭
mt-education-mobile
Commits
38b77d34
Commit
38b77d34
authored
Apr 08, 2020
by
yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节修改
parent
b69603d8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
11 deletions
+53
-11
MtPdf.vue
src/components/MtPdf.vue
+16
-3
MtPdfPpt.vue
src/components/MtPdfPpt.vue
+16
-3
MtWord.vue
src/components/MtWord.vue
+16
-3
index.vue
src/components/mt-organization/index.vue
+2
-2
index.vue
src/views/CourseDetail/index.vue
+3
-0
No files found.
src/components/MtPdf.vue
View file @
38b77d34
...
...
@@ -8,7 +8,7 @@
<div
style=
"position: relative;height: 100%;width: 100%"
>
<img
v-if=
"showLoading"
class=
"full-img
"
:class=
"['full-img', isCourseTrainOut? 'full-img-out' : '']
"
@
click
.
stop=
"toFullScreen"
:src=
"fullState ? exitFull : fullScreen"
>
...
...
@@ -25,13 +25,13 @@
<b
v-else
>
{{
page
}}
</b>
/
{{
numPages
}}
</span>
<img
v-if=
"showLoading"
class=
"resize small
"
:class=
"['resize', 'small', isCourseTrainOut? 'small-img-out' : '']
"
@
click=
"toLittle"
src=
"@/assets/images/small.png"
>
<img
v-if=
"showLoading"
class=
"resize large
"
:class=
"['resize', 'large', isCourseTrainOut? 'large-img-out' : '']
"
@
click=
"toBig(true)"
src=
"@/assets/images/add.png"
>
...
...
@@ -133,6 +133,10 @@ export default {
blockJumpPage
:
{
type
:
Boolean
,
default
:
false
},
isCourseTrainOut
:
{
type
:
Boolean
,
default
:
false
}
},
methods
:
{
...
...
@@ -429,6 +433,15 @@ export default {
border-radius
:
6px
;
background
:
#f1f1f1
;
}
.tool-bar
.full-img-out
{
right
:
34px
;
}
.tool-bar
.small-img-out
{
right
:
61px
;
}
.tool-bar
.large-img-out
{
right
:
87px
;
}
</
style
>
<
style
>
.action_toast
{
...
...
src/components/MtPdfPpt.vue
View file @
38b77d34
...
...
@@ -7,7 +7,7 @@
>
<img
v-if=
"showLoading"
class=
"full-img
"
:class=
"['full-img', isCourseTrainOut? 'full-img-out' : '']
"
@
click=
"toFullScreen"
:src=
"fullState ? exitFull : fullScreen"
>
...
...
@@ -24,13 +24,13 @@
<b
v-else
>
{{
page
}}
</b>
/
{{
numPages
}}
</span>
<img
v-if=
"showLoading"
class=
"resize small
"
:class=
"['resize', 'small', isCourseTrainOut? 'small-img-out' : '']
"
@
click
.
stop=
"toLittle"
src=
"@/assets/images/small.png"
>
<img
v-if=
"showLoading"
class=
"resize large
"
:class=
"['resize', 'large', isCourseTrainOut? 'large-img-out' : '']
"
@
click
.
stop=
"toBig(true)"
src=
"@/assets/images/add.png"
>
...
...
@@ -117,6 +117,10 @@ export default {
blockJumpPage
:
{
type
:
Boolean
,
default
:
false
},
isCourseTrainOut
:
{
type
:
Boolean
,
default
:
false
}
},
methods
:
{
...
...
@@ -417,4 +421,13 @@ export default {
border-radius
:
6px
;
background
:
#f1f1f1
;
}
.tool-bar
.full-img-out
{
right
:
34px
;
}
.tool-bar
.small-img-out
{
right
:
61px
;
}
.tool-bar
.large-img-out
{
right
:
87px
;
}
</
style
>
src/components/MtWord.vue
View file @
38b77d34
...
...
@@ -7,7 +7,7 @@
>
<img
v-if=
"showLoading"
class=
"full-img
"
:class=
"['full-img', isCourseTrainOut? 'full-img-out' : '']
"
@
click=
"toFullScreen"
:src=
"fullState ? exitFull : fullScreen"
>
...
...
@@ -24,13 +24,13 @@
<b
v-else
>
{{
page
}}
</b>
/
{{
numPages
}}
</span>
<img
v-if=
"showLoading"
class=
"resize small
"
:class=
"['resize', 'small', isCourseTrainOut? 'small-img-out' : '']
"
@
click
.
stop=
"toLittle"
src=
"@/assets/images/small.png"
>
<img
v-if=
"showLoading"
class=
"resize large
"
:class=
"['resize', 'large', isCourseTrainOut? 'large-img-out' : '']
"
@
click
.
stop=
"toBig(true)"
src=
"@/assets/images/add.png"
>
...
...
@@ -118,6 +118,10 @@ export default {
blockJumpPage
:
{
type
:
Boolean
,
default
:
false
},
isCourseTrainOut
:
{
type
:
Boolean
,
default
:
false
}
},
methods
:
{
...
...
@@ -414,4 +418,13 @@ export default {
border-radius
:
6px
;
background
:
#f1f1f1
;
}
.tool-bar
.full-img-out
{
right
:
34px
;
}
.tool-bar
.small-img-out
{
right
:
61px
;
}
.tool-bar
.large-img-out
{
right
:
87px
;
}
</
style
>
src/components/mt-organization/index.vue
View file @
38b77d34
...
...
@@ -857,12 +857,12 @@ function compare (property) {
overflow
-
y
:
auto
;
.
searchBox
{
width
:
20
rem
;
height
:
1.6
rem
;
height
:
2
rem
;
background
-
color
:
#
fff
;
margin
:
0
auto
;
margin
-
top
:
.
67
rem
;
margin
-
bottom
:
.
67
rem
;
border
-
radius
:
10
px
;
border
-
radius
:
2
rem
;
.
searchBlock
{
position
:
relative
;
width
:
100
%
;
...
...
src/views/CourseDetail/index.vue
View file @
38b77d34
...
...
@@ -96,6 +96,7 @@
:block-jump-page=
"blockJumpPage"
@
hideBackBarToIos=
"iosHideBack = false"
@
showBackBarToIos=
"iosHideBack = true"
:isCourseTrainOut =
"isOutLine"
/>
<mt-pdf
v-else-if=
"currentSection.isTest==='3' && upLoad"
...
...
@@ -107,6 +108,7 @@
:block-jump-page=
"blockJumpPage"
@
hideBackBarToIos=
"iosHideBack = false"
@
showBackBarToIos=
"iosHideBack = true"
:isCourseTrainOut =
"isOutLine"
/>
<mt-word
v-else-if=
"currentSection.isTest==='4' && upLoad"
...
...
@@ -118,6 +120,7 @@
:block-jump-page=
"blockJumpPage"
@
hideBackBarToIos=
"iosHideBack = false"
@
showBackBarToIos=
"iosHideBack = true"
:isCourseTrainOut =
"isOutLine"
/>
<ul
class=
"tag-group"
>
<li
...
...
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