Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
V
VS_OUTSOURCE
Project
Project
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
赵炳峰
VS_OUTSOURCE
Commits
ef8430a0
Commit
ef8430a0
authored
Sep 11, 2020
by
赵炳峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
master
parent
59931b45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
17 deletions
+9
-17
Template.vue
VSSCMP_WEIXIN/teacher/src/pages/Template.vue
+9
-17
No files found.
VSSCMP_WEIXIN/teacher/src/pages/Template.vue
View file @
ef8430a0
...
@@ -3,15 +3,16 @@
...
@@ -3,15 +3,16 @@
<v-header
:title=
"title"
>
<v-header
:title=
"title"
>
<span
slot=
"action"
class=
"header-slot pull-right"
>
xxx
</span>
<span
slot=
"action"
class=
"header-slot pull-right"
>
xxx
</span>
</v-header>
</v-header>
<div
class=
"content"
ref=
"scrollWrapper"
>
<div
class=
"content"
ref=
"contentWrapper"
>
<div>
Template
</div>
<div>
<div>
content
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
BScroll
from
'better-scroll'
import
BScroll
from
'better-scroll'
import
{
}
from
'vux'
export
default
{
export
default
{
name
:
'Template'
,
name
:
'Template'
,
components
:
{
components
:
{
...
@@ -23,24 +24,15 @@ export default {
...
@@ -23,24 +24,15 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
init
()
{
},
initBScroll
()
{
this
.
$nextTick
(()
=>
{
this
.
scroll
=
new
BScroll
(
this
.
$refs
.
scrollWrapper
,
{
scrollX
:
true
,
click
:
true
,
startX
:
0
})
})
}
},
},
created
()
{
created
()
{
},
},
mounted
()
{
mounted
()
{
this
.
init
()
this
.
$nextTick
(()
=>
{
this
.
initBScroll
()
this
.
scroll
=
new
BScroll
(
this
.
$refs
.
contentWrapper
,
{
click
:
true
})
})
}
}
}
}
</
script
>
</
script
>
...
...
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