Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
0718b4b4
提交
0718b4b4
authored
1月 24, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
学校介绍和师资介绍修改
上级
5a4e03ab
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
52 行增加
和
39 行删除
+52
-39
banners.vue
components/home/banners.vue
+1
-1
teacher.vue
pages/about/teacher.vue
+36
-37
school3.vue
pages/school/school3.vue
+15
-1
没有找到文件。
components/home/banners.vue
浏览文件 @
0718b4b4
...
@@ -109,7 +109,7 @@ export default {
...
@@ -109,7 +109,7 @@ export default {
width
:
100%
;
width
:
100%
;
height
:
57px
;
height
:
57px
;
font-size
:
14px
;
font-size
:
14px
;
line-height
:
5
6
px
;
line-height
:
5
7
px
;
text-align
:
center
;
text-align
:
center
;
color
:
#fefffe
;
color
:
#fefffe
;
padding-bottom
:
15px
;
padding-bottom
:
15px
;
...
...
pages/about/teacher.vue
浏览文件 @
0718b4b4
<
template
>
<
template
>
<div
:class=
"isMobile ? 'is-h5' : 'is-pc'"
>
<div
:class=
"isMobile ? 'is-h5' : 'is-pc'"
>
<app-frame
:data=
"frameParams"
>
<!--
<app-frame
:data=
"frameParams"
>
-->
<div
class=
"teacher-content-box"
>
<div
class=
"teacher-content-box"
>
<div
class=
"content-box"
>
<div
class=
"content-box"
>
<div
class=
"teacher-box"
>
<div
class=
"teacher-box"
>
<div
class=
"mar-t-box"
v-for=
"(item, index) in teacherList"
:key=
"index"
>
<div
class=
"mar-t-box"
v-for=
"(item, index) in teacherList"
:key=
"index"
>
<div
class=
"title"
>
{{
item
.
title
}}
</div>
<div
class=
"title"
>
{{
item
.
title
}}
</div>
<ul>
<ul>
<template
v-for=
"(cItem, cIndex) in item.list"
>
<template
v-for=
"(cItem, cIndex) in item.list"
>
<li
:key=
"cIndex + '='"
>
<li
:key=
"cIndex + '='"
>
<img
:src=
"cItem.image"
alt=
""
/>
<img
:src=
"cItem.image"
alt=
""
/>
<div
class=
"name"
>
{{
cItem
.
name
}}
</div>
<div
class=
"name"
>
{{
cItem
.
name
}}
</div>
<div
class=
"p"
v-html=
"cItem.intr"
></div>
<div
class=
"p"
v-html=
"cItem.intr"
></div>
</li>
</li>
</
template
>
</
template
>
</ul>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</app-frame>
</div>
<!-- </app-frame> -->
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
appFrame
from
'@/components/appFrame'
//
import appFrame from '@/components/appFrame'
export
default
{
export
default
{
layout
:
'normal'
,
layout
:
'normal'
,
components
:
{
//
components: {
appFrame
//
appFrame
},
//
},
data
()
{
data
()
{
return
{
return
{
teacherList
:
[
teacherList
:
[
...
@@ -92,8 +92,8 @@ export default {
...
@@ -92,8 +92,8 @@ export default {
banner
:
'https://webapp-pub.ezijing.com/project/marywood/mary_banner_nx4.jpg'
,
banner
:
'https://webapp-pub.ezijing.com/project/marywood/mary_banner_nx4.jpg'
,
slider
:
[
slider
:
[
{
{
name
:
this
.
$t
(
'menu.
courseChild.set
'
),
name
:
this
.
$t
(
'menu.
schoolChild.school3
'
),
path
:
'/
about/course
'
path
:
'/
school/school3
'
},
},
{
{
name
:
this
.
$t
(
'menu.courseChild.teachers'
),
name
:
this
.
$t
(
'menu.courseChild.teachers'
),
...
@@ -103,8 +103,7 @@ export default {
...
@@ -103,8 +103,7 @@ export default {
}
}
}
}
},
},
mounted
()
{
mounted
()
{},
},
computed
:
{
computed
:
{
isMobile
()
{
isMobile
()
{
return
this
.
$store
.
state
.
isMobile
return
this
.
$store
.
state
.
isMobile
...
@@ -113,7 +112,7 @@ export default {
...
@@ -113,7 +112,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.is-pc
{
.is-pc
{
.teacher-content-box
{
.teacher-content-box
{
width
:
1200px
;
width
:
1200px
;
margin
:
0
auto
;
margin
:
0
auto
;
...
@@ -161,13 +160,13 @@ export default {
...
@@ -161,13 +160,13 @@ export default {
}
}
}
}
}
}
.is-h5
{
.is-h5
{
.teacher-content-box
{
.teacher-content-box
{
.content-box
{
.content-box
{
padding
:
.3rem
.32rem
.3rem
;
padding
:
0
.3rem
0
.32rem
0
.3rem
;
.teacher-box
{
.teacher-box
{
.title
{
.title
{
font-size
:
.14rem
;
font-size
:
0
.14rem
;
font-weight
:
bold
;
font-weight
:
bold
;
line-height
:
100%
;
line-height
:
100%
;
color
:
#333333
;
color
:
#333333
;
...
@@ -175,12 +174,12 @@ export default {
...
@@ -175,12 +174,12 @@ export default {
ul
{
ul
{
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
padding-top
:
.15rem
;
padding-top
:
0
.15rem
;
li
{
li
{
width
:
1
.32rem
;
width
:
1
.32rem
;
margin-left
:
.3rem
;
margin-left
:
0
.3rem
;
margin-bottom
:
.13rem
;
margin-bottom
:
0
.13rem
;
&
:nth-child
(
odd
)
{
&
:nth-child
(
odd
)
{
margin-left
:
0
;
margin-left
:
0
;
}
}
img
{
img
{
...
@@ -190,15 +189,15 @@ export default {
...
@@ -190,15 +189,15 @@ export default {
.name
{
.name
{
font-size
:
0
.14rem
;
font-size
:
0
.14rem
;
line-height
:
100%
;
line-height
:
100%
;
color
:
#
AA
1941
;
color
:
#
aa
1941
;
margin-top
:
.1rem
;
margin-top
:
0
.1rem
;
margin-bottom
:
.03rem
;
margin-bottom
:
0
.03rem
;
}
}
.p
{
.p
{
font-size
:
0
.1rem
;
font-size
:
0
.1rem
;
line-height
:
0
.13rem
;
line-height
:
0
.13rem
;
color
:
#666666
;
color
:
#666666
;
margin-top
:
.03rem
;
margin-top
:
0
.03rem
;
}
}
}
}
}
}
...
...
pages/school/school3.vue
浏览文件 @
0718b4b4
<
template
>
<
template
>
<!--
<app-frame
:data=
"frameParams"
>
-->
<div>
<div>
<div
class=
"banner"
>
<div
class=
"banner"
>
<img
class=
"img_banner"
src=
"https://webapp-pub.ezijing.com/project/marywood/marywood_banner.png"
/>
<img
class=
"img_banner"
src=
"https://webapp-pub.ezijing.com/project/marywood/marywood_banner.png"
/>
...
@@ -78,11 +79,11 @@
...
@@ -78,11 +79,11 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!--
</app-frame>
-->
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
layout
:
'normal'
,
layout
:
'normal'
,
data
()
{
data
()
{
const
_this
=
this
const
_this
=
this
...
@@ -111,6 +112,19 @@ export default {
...
@@ -111,6 +112,19 @@ export default {
}
}
}
}
}
}
// frameParams: {
// banner: 'https://webapp-pub.ezijing.com/project/marywood/mary_banner_nx4.jpg',
// slider: [
// {
// name: this.$t('menu.schoolChild.school3'),
// path: '/school/school3'
// },
// {
// name: this.$t('menu.courseChild.teachers'),
// path: '/about/teacher'
// }
// ]
// }
}
}
},
},
computed
:
{
computed
:
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论