Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
81d3aee2
提交
81d3aee2
编写于
12月 13, 2018
作者:
杨广俊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
revert splin
上级
a9bb840d
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
10 行增加
和
18 行删除
+10
-18
yqy-five-minutes.vue
src/components/business-new/yqy-five-minutes.vue
+1
-1
yqy-teacher-list.vue
src/components/business-new/yqy-teacher-list.vue
+1
-1
mixins.js
src/utils/mixins.js
+4
-4
result.vue
src/views/result.vue
+4
-12
未找到文件。
src/components/business-new/yqy-five-minutes.vue
浏览文件 @
81d3aee2
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</div>
-->
</div>
-->
<div
:class=
"index>1 && (index+1 == list.length)?'teacher-item item-end' : 'teacher-item'"
:key=
"index"
v-for=
"(item,index) in list"
@
click=
"goToPage(item)"
>
<div
:class=
"index>1 && (index+1 == list.length)?'teacher-item item-end' : 'teacher-item'"
:key=
"index"
v-for=
"(item,index) in list"
@
click=
"goToPage(item)"
>
<div
class=
"teacher-itemimg"
>
<div
class=
"teacher-itemimg"
>
<img
:src
=
"item.appImageUrl"
/>
<img
v-lazy
=
"item.appImageUrl"
/>
</div>
</div>
<div
class=
"five-text"
>
<div
class=
"five-text"
>
<div
class=
"teacher-itemname fs14"
>
{{
item
.
title
}}
</div>
<div
class=
"teacher-itemname fs14"
>
{{
item
.
title
}}
</div>
...
...
src/components/business-new/yqy-teacher-list.vue
浏览文件 @
81d3aee2
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
:class=
"index % 2 == 1 ? 'course-item end-left' : 'course-item'"
:class=
"index % 2 == 1 ? 'course-item end-left' : 'course-item'"
v-show=
"index
<
4
"
v-for=
"(item, index) in parmData"
:key=
"index"
>
v-show=
"index
<
4
"
v-for=
"(item, index) in parmData"
:key=
"index"
>
<div
class=
"course-pic"
@
click=
"goToPage(item)"
>
<div
class=
"course-pic"
@
click=
"goToPage(item)"
>
<img
:src
=
"item.courseInfoUrl"
class=
"pic-tec"
/>
<img
v-lazy
=
"item.courseInfoUrl"
class=
"pic-tec"
/>
<span
class=
"course-tag"
>
{{
item
.
disName
}}
</span>
<span
class=
"course-tag"
>
{{
item
.
disName
}}
</span>
</div>
</div>
<p
class=
"course-txt"
>
<p
class=
"course-txt"
>
...
...
src/utils/mixins.js
浏览文件 @
81d3aee2
...
@@ -119,7 +119,7 @@ module.exports = {
...
@@ -119,7 +119,7 @@ module.exports = {
// 通用GET请求
// 通用GET请求
GET
(
api
,
para
,
callback
,
str
)
{
GET
(
api
,
para
,
callback
,
str
)
{
para
.
token
=
para
.
token
||
this
.
token
||
'
FA95BE7379684E419050F72BCEB0DE12
'
para
.
token
=
para
.
token
||
this
.
token
||
'
2B6FF44E89674C57BC614032EE301A5A
'
let
url
=
api
+
this
.
getUrlPara
(
para
)
let
url
=
api
+
this
.
getUrlPara
(
para
)
return
fetch
({
return
fetch
({
url
:
getBaseUrl
(
url
),
url
:
getBaseUrl
(
url
),
...
@@ -130,7 +130,7 @@ module.exports = {
...
@@ -130,7 +130,7 @@ module.exports = {
// 通用POST请求
// 通用POST请求
POST
(
api
,
para
,
callback
)
{
POST
(
api
,
para
,
callback
)
{
para
.
token
=
para
.
token
||
this
.
token
||
'
FA95BE7379684E419050F72BCEB0DE12
'
para
.
token
=
para
.
token
||
this
.
token
||
'
2B6FF44E89674C57BC614032EE301A5A
'
return
fetch
({
return
fetch
({
url
:
getBaseUrl
(
api
),
url
:
getBaseUrl
(
api
),
method
:
'post'
,
method
:
'post'
,
...
@@ -140,7 +140,7 @@ module.exports = {
...
@@ -140,7 +140,7 @@ module.exports = {
// 通用GET请求
// 通用GET请求
API_GET
(
api
,
para
,
callback
)
{
API_GET
(
api
,
para
,
callback
)
{
para
.
token
=
para
.
token
||
this
.
token
||
'
625D128F3DBA486AABE7CBA9BDF90E69
'
//'AF3DFCF2DD4B4115AC47ACA25D5420E9''F90DF48D3EFA49DFAE1267A67DBEFB18'//token
para
.
token
=
para
.
token
||
this
.
token
||
'
2B6FF44E89674C57BC614032EE301A5A
'
//'AF3DFCF2DD4B4115AC47ACA25D5420E9''F90DF48D3EFA49DFAE1267A67DBEFB18'//token
let
url
=
api
+
this
.
getUrlPara
(
para
)
let
url
=
api
+
this
.
getUrlPara
(
para
)
return
fetch
({
return
fetch
({
url
:
getApiUrl
(
url
),
url
:
getApiUrl
(
url
),
...
@@ -151,7 +151,7 @@ module.exports = {
...
@@ -151,7 +151,7 @@ module.exports = {
// 通用POST请求
// 通用POST请求
API_POST
(
api
,
para
,
callback
)
{
API_POST
(
api
,
para
,
callback
)
{
para
.
token
=
para
.
token
||
this
.
token
||
'
625D128F3DBA486AABE7CBA9BDF90E69
'
//'AF3DFCF2DD4B4115AC47ACA25D5420E9''F90DF48D3EFA49DFAE1267A67DBEFB18'//token
para
.
token
=
para
.
token
||
this
.
token
||
'
2B6FF44E89674C57BC614032EE301A5A
'
//'AF3DFCF2DD4B4115AC47ACA25D5420E9''F90DF48D3EFA49DFAE1267A67DBEFB18'//token
return
fetch
({
return
fetch
({
url
:
getApiUrl
(
api
),
url
:
getApiUrl
(
api
),
method
:
'post'
,
method
:
'post'
,
...
...
src/views/result.vue
浏览文件 @
81d3aee2
...
@@ -21,25 +21,17 @@
...
@@ -21,25 +21,17 @@
<mt-tab-container
v-model=
"selected"
>
<mt-tab-container
v-model=
"selected"
>
<mt-tab-container-item
id=
"0"
>
<mt-tab-container-item
id=
"0"
>
<!-- 课程 -->
<!-- 课程 -->
<
!--
<SplitLine
borderWidth=
"3px"
/>
--
>
<
CourseList/
>
<!-- 五分钟医学 -->
<!-- 五分钟医学 -->
<
!--
<SplitLine
borderWidth=
"3px"
/>
--
>
<
FiveMinutes/
>
<!-- 讲师 -->
<!-- 讲师 -->
<
!--
<SplitLine
borderWidth=
"3px"
/>
--
>
<
TeacherList/
>
<!-- 健康漫画 -->
<!-- 健康漫画 -->
<HealthComics/>
<!--
<NoMoreItem/>
<!--
<NoMoreItem/>
<GroupTitle/>
<GroupTitle/>
<ShowAllItem/>
-->
<ShowAllItem/>
-->
<CourseList/>
<!--
<CourseAdjust/>
-->
<!--
<CourseAdjust/>
-->
<FiveMinutes/>
<TeacherList/>
<HealthComics/>
<NoMoreItem/>
<NoMoreItem/>
</mt-tab-container-item>
</mt-tab-container-item>
<mt-tab-container-item
id=
"1"
>
<mt-tab-container-item
id=
"1"
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录