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
cd16077d
Commit
cd16077d
authored
Sep 11, 2020
by
fangshupeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始化构建页面
parent
9b20f7e3
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
221 additions
and
6 deletions
+221
-6
schoolBasedResourcesRouter.js
...P_WEB/src/routers/education/schoolBasedResourcesRouter.js
+5
-5
FavorShare.vue
...education/schoolBasedResources/myResources/FavorShare.vue
+54
-0
Index.vue
...ages/education/schoolBasedResources/myResources/Index.vue
+73
-0
Searchs.vue
...n/schoolBasedResources/myResources/components/Searchs.vue
+57
-0
Index.vue
.../education/schoolBasedResources/schoolResources/Index.vue
+0
-0
schoolBasedResourcesRouter.js
...acher/src/routers/education/schoolBasedResourcesRouter.js
+32
-1
No files found.
VSSCMP_WEB/src/routers/education/schoolBasedResourcesRouter.js
View file @
cd16077d
...
...
@@ -8,7 +8,7 @@
const
MY_RESOURCES
=
[
{
path
:
'/education/myResources/index'
,
name
:
'
SchoolBasedM
yResources'
,
name
:
'
m
yResources'
,
component
:
resolve
=>
require
([
'pages/education/schoolBasedResources/myResources/Index'
],
resolve
)
}
]
...
...
@@ -17,7 +17,7 @@ const MY_RESOURCES = [
const
MY_RESOURCES_FAVORSHARE
=
[
{
path
:
'/education/myResources/favorShare'
,
name
:
'
SchoolBasedMyResources
'
,
name
:
'
FavorShare
'
,
component
:
resolve
=>
require
([
'pages/education/schoolBasedResources/myResources/FavorShare'
],
resolve
)
}
]
...
...
@@ -26,7 +26,7 @@ const MY_RESOURCES_FAVORSHARE = [
const
MY_RESOURCES_MYMANAGE
=
[
{
path
:
'/education/myResources/myManage'
,
name
:
'
SchoolBasedMyResources
'
,
name
:
'
MyManage
'
,
component
:
resolve
=>
require
([
'pages/education/schoolBasedResources/myResources/MyManage'
],
resolve
)
}
]
...
...
@@ -35,7 +35,7 @@ const MY_RESOURCES_MYMANAGE = [
const
SCHOOL_RESOURCES
=
[
{
path
:
'/education/schoolResources/index'
,
name
:
'
SchoolBased
Resources'
,
name
:
'
school
Resources'
,
component
:
resolve
=>
require
([
'pages/education/schoolBasedResources/schoolResources/Index'
],
resolve
)
}
]
...
...
@@ -44,7 +44,7 @@ const SCHOOL_RESOURCES = [
const
FOLDER_MANAGE
=
[
{
path
:
'/education/folderManage/index'
,
name
:
'
SchoolBasedFolder
'
,
name
:
'
folderManage
'
,
component
:
resolve
=>
require
([
'pages/education/schoolBasedResources/folderManage/Index'
],
resolve
)
}
]
...
...
VSSCMP_WEIXIN/teacher/src/pages/education/schoolBasedResources/myResources/FavorShare.vue
0 → 100644
View file @
cd16077d
<
template
>
<div
class=
"container"
>
<v-header
:title=
"title"
>
<span
slot=
"action"
class=
"header-slot pull-right"
></span>
</v-header>
<div
class=
"content"
ref=
"contentWrapper"
>
<div>
<tabs
:menus=
"menus"
:position=
"'bottom'"
></tabs>
</div>
</div>
</div>
</
template
>
<
script
>
import
BScroll
from
'better-scroll'
export
default
{
name
:
'FavorShare'
,
components
:
{
VHeader
:
()
=>
import
(
'@/common/header/VHeader'
),
Tabs
:
()
=>
import
(
'@/common/tab/Tabs'
)
},
data
()
{
return
{
title
:
'Template'
,
menus
:
[
{
label
:
'我上次的'
,
path
:
'/education/myResources/index'
,
belongTo
:
'/education/myResources/index'
},
{
label
:
'收藏分享'
,
path
:
'/education/myResources/favorShare'
,
belongTo
:
'/education/myResources/favorShare'
}
]
}
},
methods
:
{
},
created
()
{
},
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
scroll
=
new
BScroll
(
this
.
$refs
.
contentWrapper
,
{
click
:
true
})
})
}
}
</
script
>
<
style
lang=
"less"
scoped
>
</
style
>
VSSCMP_WEIXIN/teacher/src/pages/education/schoolBasedResources/myResources/Index.vue
0 → 100644
View file @
cd16077d
<
template
>
<div
class=
"container"
>
<v-header
:title=
"title"
>
<span
slot=
"action"
class=
"header-slot pull-right"
></span>
</v-header>
<div
class=
"content"
ref=
"contentWrapper"
>
<div>
<tabs
:menus=
"menus"
:position=
"'bottom'"
></tabs>
<searchs></searchs>
<group
title=
"个人文件夹(2)"
>
<!--
<group-title
slot=
"title"
>
I'm a title
<span
style=
"float:right;"
>
right
</span></group-title>
-->
<cell
title=
"教案文件夹"
>
<div
slot=
"icon"
>
11
</div>
<div
slot=
"after-title"
>
常规文件夹 共1000个文档
</div>
</cell>
<cell
title=
"cell"
></cell>
</group>
</div>
</div>
</div>
</
template
>
<
script
>
import
BScroll
from
'better-scroll'
import
{
Group
,
Cell
}
from
'vux'
export
default
{
name
:
'Index'
,
components
:
{
VHeader
:
()
=>
import
(
'@/common/header/VHeader'
),
Tabs
:
()
=>
import
(
'@/common/tab/Tabs'
),
Searchs
:
()
=>
import
(
'./components/Searchs'
),
Group
,
Cell
},
data
()
{
return
{
title
:
'Template'
,
menus
:
[
{
label
:
'我上次的'
,
path
:
'/education/myResources/index'
,
belongTo
:
'/education/myResources/index'
},
{
label
:
'收藏分享'
,
path
:
'/education/myResources/favorShare'
,
belongTo
:
'/education/myResources/favorShare'
}
]
}
},
methods
:
{
},
created
()
{
},
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
scroll
=
new
BScroll
(
this
.
$refs
.
contentWrapper
,
{
click
:
true
})
})
}
}
</
script
>
<
style
lang=
"less"
scoped
>
.content {
background: white;
}
</
style
>
VSSCMP_WEIXIN/teacher/src/pages/education/schoolBasedResources/myResources/components/Searchs.vue
0 → 100644
View file @
cd16077d
<
template
>
<div
class=
"search-box"
>
<search
placeholder=
"请输入文档标题关键字搜索..."
:auto-fixed=
"false"
></search>
</div>
</
template
>
<
script
>
import
{
Search
}
from
'vux'
export
default
{
name
:
'Searchs'
,
components
:
{
Search
},
data
()
{
return
{
}
},
methods
:
{
}
}
</
script
>
<
style
lang=
"less"
scoped
>
/deep/ .vux-search-box {
padding: 15px 20px;
.weui-search-bar {
border: none;
&:before {
border:none;
}
&:after {
border: none;
}
background: #F2F2F2;
border-radius: 20px;
.weui-search-bar__form {
&:before {
border-radius: 20px;
background: #F2F2F2;
}
&:after {
border: none;
border-radius: 20px;
background: #F2F2F2;
}
.weui-search-bar__box {
border-radius: 20px;
}
.weui-search-bar__label {
background: #F2F2F2;
border-radius: 20px;
}
}
}
}
</
style
>
VSSCMP_WEIXIN/teacher/src/pages/education/schoolBasedResources/schoolResources/Index.vue
0 → 100644
View file @
cd16077d
VSSCMP_WEIXIN/teacher/src/routers/education/schoolBasedResourcesRouter.js
View file @
cd16077d
export
default
[]
\ No newline at end of file
// 我的资源
const
MY_RESOURCES
=
[
{
path
:
'/education/myResources/index'
,
name
:
'myResources'
,
component
:
resolve
=>
require
([
'pages/education/schoolBasedResources/myResources/Index'
],
resolve
)
}
]
// 我的资源-收藏分享
const
MY_RESOURCES_FAVORSHARE
=
[
{
path
:
'/education/myResources/favorShare'
,
name
:
'FavorShare'
,
component
:
resolve
=>
require
([
'pages/education/schoolBasedResources/myResources/FavorShare'
],
resolve
)
}
]
// 学校资源
const
SCHOOL_RESOURCES
=
[
{
path
:
'/education/schoolResources/index'
,
name
:
'schoolResources'
,
component
:
resolve
=>
require
([
'pages/education/schoolBasedResources/schoolResources/Index'
],
resolve
)
}
]
export
default
[
...
MY_RESOURCES
,
...
MY_RESOURCES_FAVORSHARE
,
...
SCHOOL_RESOURCES
]
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