Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
b28c8e3f
提交
b28c8e3f
编写于
10月 26, 2018
作者:
guojing.hao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
home 优化
上级
9d13ebb0
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
11 行增加
和
10 行删除
+11
-10
yqy-header-top.vue
src/components/business/yqy-header-top.vue
+3
-3
yqy-home-banner.vue
src/components/business/yqy-home-banner.vue
+4
-3
yqy-teacher-list.vue
src/components/business/yqy-teacher-list.vue
+2
-2
home.vue
src/views/home/home.vue
+2
-2
未找到文件。
src/components/business/yqy-header-top.vue
浏览文件 @
b28c8e3f
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
<div
class=
"header"
>
<div
class=
"header"
>
<div
class=
"white gxy fs50"
>
{{
resourceData
.
title
}}
</div>
<div
class=
"white gxy fs50"
>
{{
resourceData
.
title
}}
</div>
<div>
<div>
<span
class=
"white fs30 gxyStudy"
>
{{
resourceData
.
studyCount
}}
人学习
</span>
<span
class=
"white fs30 gxyStudy"
>
{{
resourceData
.
studyCount
.
toLocaleString
()
}}
人学习
</span>
<span
class=
"white fs30"
>
{{
resourceData
.
follower
}}
人关注
</span>
<span
class=
"white fs30"
>
{{
resourceData
.
follower
.
toLocaleString
()
}}
人关注
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -21,7 +21,7 @@ export default {
...
@@ -21,7 +21,7 @@ export default {
default
:()
=>
{
default
:()
=>
{
return
{
return
{
title
:
'高血压'
,
title
:
'高血压'
,
studyCount
:
27
,
studyCount
:
27
0000
,
follower
:
1
follower
:
1
}
}
}
}
...
...
src/components/business/yqy-home-banner.vue
浏览文件 @
b28c8e3f
<
template
>
<
template
>
<div
class=
"hello"
>
<div
class=
"hello"
>
<div
class=
"banner"
>
<div
class=
"banner
space-between
"
>
<div
class=
"bannerItem"
:key=
"index"
v-for=
"(item,index) in resourceData"
>
<div
class=
"bannerItem"
:key=
"index"
v-for=
"(item,index) in resourceData"
>
<!--
<img
class=
"bannerImg"
:src=
"item.img"
/>
-->
<!--
<img
class=
"bannerImg"
:src=
"item.img"
/>
-->
<img
class=
"bannerImg"
src=
"../../images/Shape@2x.png"
/>
<img
class=
"bannerImg"
src=
"../../images/Shape@2x.png"
/>
...
@@ -69,12 +69,13 @@ html,body{
...
@@ -69,12 +69,13 @@ html,body{
width
:
px2rem
(
50px
);
width
:
px2rem
(
50px
);
display
:
inline
;
display
:
inline
;
position
:
relative
;
position
:
relative
;
margin-right
:
px2rem
(
18px
);
//
margin-right: px2rem(18px);
}
}
.bannerImg
{
.bannerImg
{
min-width
:
px2rem
(
22px
);
min-width
:
px2rem
(
22px
);
max-height
:
px2rem
(
20px
);
max-height
:
px2rem
(
20px
);
margin
:
0
10px
;
margin
:
0
auto
;
display
:
block
;
}
}
.bannerText
{
.bannerText
{
position
:
absolute
;
position
:
absolute
;
...
...
src/components/business/yqy-teacher-list.vue
浏览文件 @
b28c8e3f
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<!--
<select
v-model=
"selected"
>
<!--
<select
v-model=
"selected"
>
<option
:key=
"index"
v-for=
"(option,index) in teacherData.selectOptions"
v-bind:value=
"option.value"
>
<option
:key=
"index"
v-for=
"(option,index) in teacherData.selectOptions"
v-bind:value=
"option.value"
>
{{
option
.
text
}}
{{
option
.
text
}}
</option>
</option>
needLeft
</select>
-->
</select>
-->
<span
@
click=
"firstOption"
:class=
"!isStudy?'titlegGreen':'gray'"
class=
"fs26"
>
{{
teacherData
.
firstOption
}}
</span>
<span
@
click=
"firstOption"
:class=
"!isStudy?'titlegGreen':'gray'"
class=
"fs26"
>
{{
teacherData
.
firstOption
}}
</span>
<span
:key=
"index"
v-for=
"(item,index) in teacherData.options"
>
<span
:key=
"index"
v-for=
"(item,index) in teacherData.options"
>
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</div>
</div>
</div>
</div>
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"needLeft white"
:key=
"index"
v-for=
"(item,index) in cource"
>
<div
class=
"needLeft
bgWhite
white"
:key=
"index"
v-for=
"(item,index) in cource"
>
<img
class=
"courceImg"
src=
""
/>
<img
class=
"courceImg"
src=
""
/>
<div
v-if=
"courceData.hasType"
:style=
"
{'color':item.color}" :class="[item.isLeft?'flex-start':'flex-end']" class="courceType fs22 bgWhite">
{{
item
.
type
}}
<div
v-if=
"courceData.hasType"
:style=
"
{'color':item.color}" :class="[item.isLeft?'flex-start':'flex-end']" class="courceType fs22 bgWhite">
{{
item
.
type
}}
</div>
</div>
...
...
src/views/home/home.vue
浏览文件 @
b28c8e3f
...
@@ -61,8 +61,8 @@ export default {
...
@@ -61,8 +61,8 @@ export default {
return
{
return
{
header
:
{
header
:
{
title
:
'糖尿病'
,
title
:
'糖尿病'
,
studyCount
:
27
,
studyCount
:
27
00000
,
follower
:
1
follower
:
1
0000
},
},
resourceData
:
[
resourceData
:
[
{
img
:
'../../images/Shape@2x.png'
,
{
img
:
'../../images/Shape@2x.png'
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录