Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-old
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-old
Commits
f0d4856e
提交
f0d4856e
authored
2月 05, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改问题
上级
850c8235
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
26 行增加
和
13 行删除
+26
-13
headBanner.vue
src/components/headBanner.vue
+3
-3
header.vue
src/components/layout/header.vue
+1
-1
poster.vue
src/components/poster.vue
+3
-3
btnTabs.vue
src/components/tabs/btnTabs.vue
+10
-0
index.vue
src/pages/hall/index.vue
+1
-1
index.vue
src/pages/home/index.vue
+1
-1
index.vue
src/pages/news/index.vue
+7
-4
没有找到文件。
src/components/headBanner.vue
浏览文件 @
f0d4856e
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
<div
class=
"home-head"
>
<div
class=
"home-head"
>
<swiper
ref=
"mySwiper"
:options=
"swiperOptions"
class=
"item-swiper"
>
<swiper
ref=
"mySwiper"
:options=
"swiperOptions"
class=
"item-swiper"
>
<swiper-slide
v-for=
"(item, index) in swiperList"
:key=
"index"
>
<swiper-slide
v-for=
"(item, index) in swiperList"
:key=
"index"
>
<
router-link
:to=
"`/news/detail?id=$
{item.id}
&
type=home`"
>
<
!--
<router-link
:to=
"`/news/detail?id=$
{item.id}
&
type=home`"> --
>
<img
:src=
"item"
alt=
""
/>
<img
:src=
"item"
alt=
""
/>
<
/router-link
>
<
!--
</router-link>
--
>
</swiper-slide>
</swiper-slide>
</swiper>
</swiper>
</div>
</div>
...
...
src/components/layout/header.vue
浏览文件 @
f0d4856e
...
@@ -54,7 +54,7 @@ export default {
...
@@ -54,7 +54,7 @@ export default {
itemChi
:
[
itemChi
:
[
{
{
title
:
'通知公告'
,
title
:
'通知公告'
,
path
:
'/news'
path
:
'/news
?type=0
'
},
},
{
{
title
:
'工作动态'
,
title
:
'工作动态'
,
...
...
src/components/poster.vue
浏览文件 @
f0d4856e
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
<div
class=
"home-head"
>
<div
class=
"home-head"
>
<swiper
ref=
"mySwiper"
:options=
"swiperOptions"
class=
"item-swiper"
>
<swiper
ref=
"mySwiper"
:options=
"swiperOptions"
class=
"item-swiper"
>
<swiper-slide
v-for=
"(item, index) in swiperList"
:key=
"index"
>
<swiper-slide
v-for=
"(item, index) in swiperList"
:key=
"index"
>
<
router-link
:to=
"`/news/detail?id=$
{item.id}
&
type=home`"
>
<
!--
<router-link
:to=
"`/news/detail?id=$
{item.id}
&
type=home`"> --
>
<img
:src=
"item"
alt=
""
/>
<img
:src=
"item"
alt=
""
/>
<
/router-link
>
<
!--
</router-link>
--
>
</swiper-slide>
</swiper-slide>
</swiper>
</swiper>
</div>
</div>
...
...
src/components/tabs/btnTabs.vue
浏览文件 @
f0d4856e
...
@@ -30,6 +30,16 @@ export default {
...
@@ -30,6 +30,16 @@ export default {
this
.
tabsIndex
=
n
this
.
tabsIndex
=
n
this
.
$emit
(
'tabsChange'
,
n
)
this
.
$emit
(
'tabsChange'
,
n
)
}
}
},
watch
:
{
$route
:
{
handler
:
function
(
val
,
oldVal
){
if
(
this
.
$route
.
query
.
type
!==
undefined
||
this
.
$route
.
query
.
type
!==
'undefined'
)
{
this
.
tabsIndex
=
parseInt
(
this
.
$route
.
query
.
type
)
}
},
deep
:
true
}
}
}
}
}
</
script
>
</
script
>
...
...
src/pages/hall/index.vue
浏览文件 @
f0d4856e
...
@@ -202,7 +202,7 @@ export default {
...
@@ -202,7 +202,7 @@ export default {
{
{
icon
:
'https://zws-imgs-pub.ezijing.com/static/public/cc4885f2f4b6f566954cdb15381916f8.png'
,
icon
:
'https://zws-imgs-pub.ezijing.com/static/public/cc4885f2f4b6f566954cdb15381916f8.png'
,
iconActive
:
'https://zws-imgs-pub.ezijing.com/static/public/901044f1465a5497fef8135f9e2ce4ff.png'
,
iconActive
:
'https://zws-imgs-pub.ezijing.com/static/public/901044f1465a5497fef8135f9e2ce4ff.png'
,
text
:
'组织开授课'
,
text
:
'组织开
班
授课'
,
path
:
'/hall?role=2&point=s1&home=1'
,
path
:
'/hall?role=2&point=s1&home=1'
,
textActive
:
'发通知组织统一上课'
textActive
:
'发通知组织统一上课'
},
},
...
...
src/pages/home/index.vue
浏览文件 @
f0d4856e
...
@@ -303,7 +303,7 @@ export default {
...
@@ -303,7 +303,7 @@ export default {
{
{
icon
:
'https://zws-imgs-pub.ezijing.com/static/public/cc4885f2f4b6f566954cdb15381916f8.png'
,
icon
:
'https://zws-imgs-pub.ezijing.com/static/public/cc4885f2f4b6f566954cdb15381916f8.png'
,
iconActive
:
'https://zws-imgs-pub.ezijing.com/static/public/901044f1465a5497fef8135f9e2ce4ff.png'
,
iconActive
:
'https://zws-imgs-pub.ezijing.com/static/public/901044f1465a5497fef8135f9e2ce4ff.png'
,
text
:
'组织开授课'
,
text
:
'组织开
班
授课'
,
path
:
'/hall?role=2&point=s1'
,
path
:
'/hall?role=2&point=s1'
,
textActive
:
'发通知组织统一上课'
textActive
:
'发通知组织统一上课'
},
},
...
...
src/pages/news/index.vue
浏览文件 @
f0d4856e
...
@@ -87,6 +87,9 @@ export default {
...
@@ -87,6 +87,9 @@ export default {
action
.
articleAction
.
getArticle
({
category_id
:
findId
.
id
}).
then
(
res
=>
{
action
.
articleAction
.
getArticle
({
category_id
:
findId
.
id
}).
then
(
res
=>
{
this
.
list
=
res
.
data
.
list
this
.
list
=
res
.
data
.
list
this
.
pages
=
res
.
data
.
pages
this
.
pages
=
res
.
data
.
pages
this
.
$nextTick
(()
=>
{
this
.
$forceUpdate
()
})
loading
.
close
()
loading
.
close
()
})
})
}
}
...
@@ -95,11 +98,11 @@ export default {
...
@@ -95,11 +98,11 @@ export default {
watch
:
{
watch
:
{
$route
:
{
$route
:
{
handler
:
function
(
val
,
oldVal
){
handler
:
function
(
val
,
oldVal
){
if
(
this
.
$route
.
query
.
type
)
{
if
(
this
.
$route
.
query
.
type
!==
undefined
||
this
.
$route
.
query
.
type
!==
'undefined'
)
{
this
.
tabsData
.
index
=
this
.
$route
.
query
.
type
this
.
tabsData
.
index
=
parseInt
(
this
.
$route
.
query
.
type
)
this
.
tabsDataIndex
=
this
.
$route
.
query
.
type
this
.
tabsDataIndex
=
parseInt
(
this
.
$route
.
query
.
type
)
this
.
newsList
()
}
}
this
.
newsList
()
},
},
deep
:
true
deep
:
true
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论