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
提交
901087ed
提交
901087ed
编写于
12月 18, 2018
作者:
杨广俊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
埋点
上级
445e3cce
变更
13
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
1058 行增加
和
114 行删除
+1058
-114
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
course-adjust.vue
src/components/business/course-adjust.vue
+1
-1
course-list.1.vue
src/components/business/course-list.1.vue
+1
-1
course-list.2.vue
src/components/business/course-list.2.vue
+1
-1
course-list.3.vue
src/components/business/course-list.3.vue
+539
-0
course-list.vue
src/components/business/course-list.vue
+46
-83
five-minutes.vue
src/components/business/five-minutes.vue
+19
-2
health-comics.vue
src/components/business/health-comics.vue
+29
-3
teacher-list.vue
src/components/business/teacher-list.vue
+24
-1
buryingPoint-old.js
src/utils/buryingPoint-old.js
+359
-0
index.js
src/utils/index.js
+14
-1
mixins.js
src/utils/mixins.js
+23
-19
未找到文件。
src/components/business-new的副本/yqy-five-minutes.vue
浏览文件 @
901087ed
...
...
@@ -10,7 +10,7 @@
</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=
"teacher-itemimg"
>
<img
v-lazy
=
"item.appImageUrl"
/>
<img
:src
=
"item.appImageUrl"
/>
</div>
<div
class=
"five-text"
>
<div
class=
"teacher-itemname fs14"
>
{{
item
.
title
}}
</div>
...
...
src/components/business-new的副本/yqy-teacher-list.vue
浏览文件 @
901087ed
...
...
@@ -7,7 +7,7 @@
:class=
"index % 2 == 1 ? 'course-item end-left' : 'course-item'"
v-show=
"index
<
4
"
v-for=
"(item, index) in parmData"
:key=
"index"
>
<div
class=
"course-pic"
@
click=
"goToPage(item)"
>
<img
v-lazy
=
"item.courseInfoUrl"
class=
"pic-tec"
/>
<img
:src
=
"item.courseInfoUrl"
class=
"pic-tec"
/>
<span
class=
"course-tag"
>
{{
item
.
disName
}}
</span>
</div>
<p
class=
"course-txt"
>
...
...
src/components/business/course-adjust.vue
浏览文件 @
901087ed
...
...
@@ -16,7 +16,7 @@
<div
class=
"couse-list"
infinite-scroll-disabled=
"loading"
infinite-scroll-distance=
"10"
:style=
"'height:'+clientHeight"
>
<div
v-show=
"index
<
4
"
:class=
"index%2==1 ? 'course-item end-left' : 'course-item'"
:key=
"index"
v-for=
"(item,index) in parmData"
>
<div
class=
"course-pic"
@
click=
"goToPage(item)"
>
<img
v-lazy
=
"item.courseInfoUrl"
class=
"pic-tec"
/>
<img
:src
=
"item.courseInfoUrl"
class=
"pic-tec"
/>
<span
class=
"course-tag"
>
{{
item
.
disName
}}
</span>
</div>
<p
class=
"course-txt"
>
...
...
src/components/business/course-list.1.vue
浏览文件 @
901087ed
...
...
@@ -7,7 +7,7 @@
:class=
"index % 2 == 1 ? 'course-item end-left' : 'course-item'"
v-for=
"(item, index) in parmData"
:key=
"index"
>
<div
class=
"course-pic"
@
click=
"goToPage(item)"
>
<img
v-lazy
=
"item.courseInfoUrl"
class=
"pic-tec"
/>
<img
:src
=
"item.courseInfoUrl"
class=
"pic-tec"
/>
<span
class=
"course-tag"
>
{{
item
.
disName
}}
</span>
</div>
<p
class=
"course-txt"
>
...
...
src/components/business/course-list.2.vue
浏览文件 @
901087ed
...
...
@@ -7,7 +7,7 @@
:class=
"index % 2 == 1 ? 'course-item end-left' : 'course-item'"
v-for=
"(item, index) in cParmData"
:key=
"index"
>
<div
class=
"course-pic"
@
click=
"goToPage(item)"
>
<img
v-lazy
=
"item.courseInfoUrl"
class=
"pic-tec"
/>
<img
:src
=
"item.courseInfoUrl"
class=
"pic-tec"
/>
<span
class=
"course-tag"
>
{{
item
.
disName
}}
</span>
</div>
<!--
<p
class=
"course-txt"
>
...
...
src/components/business/course-list.3.vue
0 → 100644
浏览文件 @
901087ed
此差异已折叠。
点击以展开。
src/components/business/course-list.vue
浏览文件 @
901087ed
<
template
>
<section>
<GroupTitle
:groupNum=
"groupNum"
:showTitle=
"showTitle"
:showOrder=
"showOrder"
/>
<!--
<div
class=
"cource-teach"
>
<div
class=
"couse-list"
>
<div
:class=
"index % 2 == 1 ? 'course-item end-left' : 'course-item'"
v-for=
"(item, index) in cParmData"
:key=
"index"
>
<div
class=
"course-pic"
@
click=
"goToPage(item)"
>
<img
v-lazy=
"item.courseInfoUrl"
class=
"pic-tec"
/>
<span
class=
"course-tag"
>
{{
item
.
disName
}}
</span>
<GroupTitle
:groupNum=
"groupNum"
:showTitle=
"showTitle"
:showOrder=
"showOrder"
@
order=
"orderAction"
/>
<div
class=
"hot-teacher"
>
<!--
<div
:class=
"index>1 && (index+1 == cParmData.length)?'teacher-item item-end' : 'teacher-item'"
:key=
"index"
--
>
<div
:class=
"index>1 && (index+1 == cParmData.length)?'teacher-item item-end' : 'teacher-item'"
:key=
"index"
v-for=
"(item,index) in cParmData"
@
click=
"goToPage(item)"
>
<div
class=
"teacher-itemimg"
>
<img
:src=
"item.courseInfoUrl"
/>
</div>
<p
class=
"course-txt"
v-html=
"item.name"
>
</p>
<div
class=
"course-opt"
>
<span
class=
"opt-info"
>
{{
!
item
.
showTime
?
''
:
item
.
showTime
+
' |'
}}
{{
item
.
joinNum
}}
人已学
</span>
<span
:class=
"item.whetherFavors==2?'opt collect':'opt collected'"
@
click=
"collectFun(item.whetherFavors,item.id,item.name)"
>
{{
item
.
whetherFavors
==
2
?
'收藏'
:
'已收藏'
}}
</span>
</div>
</div>
</div>
<div
v-if=
"cParmData.length==0"
class=
"noSource"
>
暂无最新教程数据
</div>
</div>
-->
<!--
<article
class=
"course-list"
>
<div
class=
"course-list-item"
v-for=
"(item, index) in cParmData"
:key=
"index"
>
<img
v-lazy=
"item.courseInfoUrl"
/>
<div
class=
"course-list-item-desc"
>
<span
style=
"line-height:20px;position:relative;top:-8px"
>
<span
class=
"course-list-item-desc-type"
>
{{
item
.
typeName
}}
</span><div
class=
"course-list-item-desc-name"
v-html=
"item.name"
></div>
</span>
<span>
1
</span>
<span>
12
</span>
</div>
</div>
</article>
-->
<div
class=
"hot-teacher"
>
<!--
<div
:class=
"index>1 && (index+1 == cParmData.length)?'teacher-item item-end' : 'teacher-item'"
:key=
"index"
--
>
<div
:class=
"index>1 && (index+1 == cParmData.length)?'teacher-item item-end' : 'teacher-item'"
:key=
"index"
v-for=
"(item,index) in cParmData"
@
click=
"goToPage(item)"
>
<div
class=
"teacher-itemimg"
>
<img
v-lazy=
"item.courseInfoUrl"
/>
<div
class=
"five-text"
>
<div
class=
"teacher-itemname fs14 ellipsis-2"
>
<span
v-show=
"item.typeName"
class=
"teacher-itemname-tag"
>
{{
item
.
typeName
}}
</span>
<span
class=
"teacher-itemname-name"
v-html=
"item.highLightName"
></span>
</div>
<div
class=
"fs13 ellipsis-1"
>
<span
class=
"five-text-shourtcut"
>
{{
item
.
shortcut
}}
</span>
</div>
<div
class=
"fs13 five-text-teacher"
>
<img
src=
"../../images/teacher-icon.png"
/><span
class=
"five-text-teacher-name"
v-for=
"(doctor, dIndex) in item.doctors"
:key=
"dIndex"
>
{{
doctor
.
doctorName
}}
<!--
{{
item
.
doctors
[
0
].
doctorName
}}
-->
</span>
</div>
<div
class=
"five-text"
>
<div
class=
"teacher-itemname fs14 ellipsis-2"
>
<span
v-show=
"item.typeName"
class=
"teacher-itemname-tag"
>
{{
item
.
typeName
}}
</span>
<span
class=
"teacher-itemname-name"
v-html=
"item.highLightName"
></span>
</div>
<div
class=
"fs13 ellipsis-1"
>
<span
class=
"five-text-shourtcut"
>
{{
item
.
shortcut
}}
</span>
</div>
<div
class=
"fs13 five-text-teacher"
>
<img
src=
"../../images/teacher-icon.png"
/><span
class=
"five-text-teacher-name"
v-for=
"(doctor, dIndex) in item.doctors"
:key=
"dIndex"
>
{{
doctor
.
doctorName
}}
<!--
{{
item
.
doctors
[
0
].
doctorName
}}
-->
</span>
</div>
</div>
</div>
</div>
</div>
</section>
</
template
>
<
script
>
//import { setEventByModuleCode } from '@/utils/index'
//import { sortParmData } from '@/utils/index'
import
{
m_search_result_course_detail1
,
m_search_result_course_order
,
m_search_result_course_more
,
m_search_result_course_top
}
from
'@/utils/buryingPoint'
import
GroupTitle
from
'@/components/business/group-title'
;
let
mapDesc
=
[
''
,
'课程名'
,
'关键字'
,
'一句话简介'
,
'章'
,
'节'
]
export
default
{
...
...
@@ -106,14 +75,13 @@ export default {
},
computed
:
{
cParmData
()
{
let
cParmDataw
=
this
.
parmData
.
map
(
function
(
item
){
return
this
.
parmData
.
map
(
function
(
item
){
let
cItem
=
Object
.
assign
({},
item
)
if
(
cItem
.
highLightField
)
{
cItem
.
highLightName
=
cItem
.
highLightName
+
' ('
+
mapDesc
[
cItem
.
highLightField
]
+
')'
}
return
cItem
})
return
cParmDataw
},
// groupNum() {
// return this.parmData.length + ''
...
...
@@ -124,32 +92,17 @@ export default {
},
mounted
()
{
// this.getData()
// this.list = this.parmData;
},
// filters: {
// filterName(name, highLightField){
// return name + highLightField
// }
// },
methods
:
{
getDescByMap
(
index
)
{
},
showAllItem
(
index
)
{
// this.needShow = !this.needShow
},
//跳转
goToPage
(
item
)
{
this
.
$emit
(
"setRefrshParm"
,
{
isclick
:
true
})
//
this.$emit("setRefrshParm", {
//
isclick: true
//
})
this
.
pageBurialPoin
({
menuLevel
:
1
,
menuCode
:
'm_home'
,
functionCode
:
'f_new_course'
,
actionCode
:
'c_course'
,
labelId
:
item
.
id
,
...
m_search_result_course_detail1
,
labelValue
:
item
.
name
,
createdTime
:
new
Date
().
getTime
(),
})
let
itemData
=
{};
...
...
@@ -209,7 +162,6 @@ export default {
modeCode
:
itemData
.
appModuleInfo
.
code
,
jsonString
:
paramList
})
},
//收藏 取消收藏
...
...
@@ -264,8 +216,19 @@ export default {
_this
.
parmData
=
res
.
data
.
contentAppModels
||
[];
}
})
},
orderAction
(
orderIndex
)
{
this
.
pageBurialPoin
({
...
m_search_result_course_order
,
labelValue
:
orderIndex
,
createdTime
:
new
Date
().
getTime
(),
})
if
(
orderIndex
==
1
)
{
this
.
parmData
=
sortParmData
(
this
.
parmData
,
'joinNum'
,
-
1
)
}
else
{
this
.
parmData
=
sortParmData
(
this
.
parmData
,
'modifyTime'
,
-
1
)
}
}
}
}
</
script
>
...
...
src/components/business/five-minutes.vue
浏览文件 @
901087ed
<
template
>
<section>
<GroupTitle
groupTitle=
"5分钟医学院"
:groupNum=
"groupNum"
:showTitle=
"showTitle"
:showOrder=
"showOrder"
/>
<GroupTitle
groupTitle=
"5分钟医学院"
:groupNum=
"groupNum"
:showTitle=
"showTitle"
:showOrder=
"showOrder"
@
order=
"orderAction"
/>
<div
class=
"hot-teacher"
>
<div
:class=
"index>1 && (index+1 == parmData.length)?'teacher-item item-end' : 'teacher-item'"
:key=
"index"
v-for=
"(item,index) in parmData"
@
click=
"goToPage(item)"
>
<div
class=
"teacher-itemimg"
>
<img
v-lazy
=
"item.appImageUrl"
/>
<img
:src
=
"item.appImageUrl"
/>
</div>
<div
class=
"five-text"
>
<div
class=
"teacher-itemname fs14"
v-html=
"item.highLightTitle"
>
{{
item
.
title
}}
</div>
...
...
@@ -33,6 +33,11 @@
</
template
>
<
script
>
import
{
m_search_result_five_minutes_detail
,
m_search_result_five_minutes_order
,
m_search_result_five_minutes_top
,
}
from
'@/utils/buryingPoint'
import
{
pageJumpUrl
}
from
'@/utils/index'
import
GroupTitle
from
'@/components/business/group-title'
;
...
...
@@ -234,6 +239,18 @@ export default {
d
[
i
].
play
=
'0'
;
}
return
d
;
},
orderAction
(
orderIndex
)
{
this
.
pageBurialPoin
({
...
m_search_result_five_minutes_order
,
labelValue
:
orderIndex
,
createdTime
:
new
Date
().
getTime
(),
})
if
(
orderIndex
==
1
)
{
this
.
parmData
=
sortParmData
(
this
.
parmData
,
'joinNum'
,
-
1
)
}
else
{
this
.
parmData
=
sortParmData
(
this
.
parmData
,
'publishTime'
,
-
1
)
}
}
},
...
...
src/components/business/health-comics.vue
浏览文件 @
901087ed
<
template
>
<section>
<GroupTitle
groupTitle=
"健康漫画"
:groupNum=
"groupNum"
:showTitle=
"showTitle"
:showOrder=
"showOrder"
/>
<GroupTitle
groupTitle=
"健康漫画"
:groupNum=
"groupNum"
:showTitle=
"showTitle"
:showOrder=
"showOrder"
@
order=
"orderAction"
/>
<div
class=
"font-style"
>
<div
class=
"teach-opt"
>
<div
class=
"teach-list"
>
...
...
@@ -8,7 +8,7 @@
v-for=
"(item, index) in parmData"
:key=
"index"
@
click=
"goToPage(item)"
>
<div
class=
"tea-img"
:style=
"'background:'+ item.bgColor"
>
<img
v-lazy
=
"item.imageUrl"
>
<img
:src
=
"item.imageUrl"
>
<!--
<span
class=
"learn-p"
>
{{
item
.
joinNum
}}
人已学
</span>
-->
<!--
<span
class=
"learn-p"
>
{{
item
.
joinNum
|
yLocalString
}}
人已学
</span>
-->
</div>
...
...
@@ -35,6 +35,11 @@
// teacher,
// teacherother
// } from '../../utils/buryingPoint';
import
{
m_search_result_health_cartoon_detail
,
m_search_result_health_cartoon_order
,
m_search_result_health_cartoon_top
,
}
from
'@/utils/buryingPoint'
import
GroupTitle
from
'@/components/business/group-title'
;
export
default
{
components
:
{
...
...
@@ -150,7 +155,11 @@ export default {
}
]
this
.
pageBurialPoin
(
obj
)
this
.
pageBurialPoin
({
...
m_search_result_health_cartoon_detail
,
labelValue
:
orderIndex
,
createdTime
:
new
Date
().
getTime
(),
})
let
paramList
=
this
.
setEventByModuleCode
(
itemData
);
// alert(itemData.appModuleInfo.code)
...
...
@@ -170,6 +179,11 @@ export default {
token
:
_this
.
token
}
})
this
.
pageBurialPoin
({
...
m_search_result_health_cartoon_detail
,
labelValue
:
orderIndex
,
createdTime
:
new
Date
().
getTime
(),
})
// this.appBuryingPointEntrust({
// ...teacher,
// labelId: item.doctorId,
...
...
@@ -225,6 +239,18 @@ export default {
// labelId: _this.dir,
// labelValue: _this.dir === 1 ? '升序' : '降序'
// })
},
orderAction
(
orderIndex
)
{
this
.
pageBurialPoin
({
...
m_search_result_health_cartoon_order
,
labelValue
:
orderIndex
,
createdTime
:
new
Date
().
getTime
(),
})
if
(
orderIndex
==
1
)
{
this
.
parmData
=
sortParmData
(
this
.
parmData
,
'joinNum'
,
-
1
)
}
else
{
this
.
parmData
=
sortParmData
(
this
.
parmData
,
'modifyTime'
,
-
1
)
}
}
}
...
...
src/components/business/teacher-list.vue
浏览文件 @
901087ed
<
template
>
<section>
<GroupTitle
groupTitle=
"讲师"
:groupNum=
"groupNum"
:showTitle=
"showTitle"
:showOrder=
"showOrder"
/>
<GroupTitle
groupTitle=
"讲师"
:groupNum=
"groupNum"
:showTitle=
"showTitle"
:showOrder=
"showOrder"
@
order=
"orderAction"
/>
<div
class=
"font-style"
>
<div
class=
"teach-opt"
>
<div
class=
"teach-list"
>
...
...
@@ -34,6 +34,11 @@
// teacher,
// teacherother
// } from '../../utils/buryingPoint';
import
{
m_search_result_lecturer_detail
,
m_search_result_lecturer_order
,
m_search_result_lecturer_top
,
}
from
'@/utils/buryingPoint'
import
GroupTitle
from
'@/components/business/group-title'
;
export
default
{
components
:
{
...
...
@@ -115,6 +120,12 @@ export default {
token
:
_this
.
token
}
})
this
.
pageBurialPoin
({
...
m_search_result_lecturer_detail
,
labelValue
:
item
.
name
,
createdTime
:
new
Date
().
getTime
(),
})
// this.appBuryingPointEntrust({
// ...teacher,
// labelId: item.doctorId,
...
...
@@ -170,6 +181,18 @@ export default {
// labelId: _this.dir,
// labelValue: _this.dir === 1 ? '升序' : '降序'
// })
},
orderAction
(
orderIndex
)
{
this
.
pageBurialPoin
({
...
m_search_result_lecturer_order
,
labelValue
:
orderIndex
,
createdTime
:
new
Date
().
getTime
(),
})
if
(
orderIndex
==
1
)
{
this
.
parmData
=
sortParmData
(
this
.
parmData
,
'joinNum'
,
-
1
)
}
else
{
this
.
parmData
=
sortParmData
(
this
.
parmData
,
'modifyTime'
,
-
1
)
}
}
}
...
...
src/utils/buryingPoint-old.js
0 → 100644
浏览文件 @
901087ed
module
.
exports
=
{
// 搜索首页
m_search_search
:
{
menuCode
:
'm_search'
,
menuLevel
:
2
,
functionCode
:
'f_search'
,
actionCode
:
'c_search'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'f_home'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_history_search_hs
:
{
menuCode
:
'm_search'
,
menuLevel
:
2
,
functionCode
:
'f_history_search'
,
actionCode
:
'c_history_search'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'f_home'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_history_search_db
:
{
menuCode
:
'm_search'
,
menuLevel
:
2
,
functionCode
:
'f_history_search'
,
actionCode
:
'c_delete_button'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'f_home'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_history_search_d
:
{
menuCode
:
'm_search'
,
menuLevel
:
2
,
functionCode
:
'f_history_search'
,
actionCode
:
'c_delete'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'f_home'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_history_search_da
:
{
menuCode
:
'm_search'
,
menuLevel
:
2
,
functionCode
:
'f_history_search'
,
actionCode
:
'c_delete_all'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'f_home'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_history_search_dc
:
{
menuCode
:
'm_search'
,
menuLevel
:
2
,
functionCode
:
'f_history_search'
,
actionCode
:
'c_delete_confirm'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'f_home'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_history_hot_search
:
{
menuCode
:
'm_search'
,
menuLevel
:
2
,
functionCode
:
'f_hot_search'
,
actionCode
:
'c_hot_search'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'f_home'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_history_no_search_result_d
:
{
menuCode
:
'm_search'
,
menuLevel
:
2
,
functionCode
:
'f_no_search_result'
,
actionCode
:
'c_detail'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'f_home'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
// 暂时不做
m_search_history_no_search_result_m
:
{
menuCode
:
'm_search'
,
menuLevel
:
2
,
functionCode
:
'f_no_search_result'
,
actionCode
:
'c_more'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'f_home'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
// 搜索结果
m_search_result_tab_switch
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_tab_switch'
,
actionCode
:
'c_switch'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
// 综合
m_search_result_colligation_detail
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_colligation'
,
actionCode
:
'c_detail'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_result_colligation_all
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_colligation'
,
actionCode
:
'c_all'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_result_colligation_top
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_colligation'
,
actionCode
:
'c_top'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
// 课程
m_search_result_course_detail
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_course'
,
actionCode
:
'c_detail'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_result_course_order
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_course'
,
actionCode
:
'c_order'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_result_course_more
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_course'
,
actionCode
:
'c_more'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_result_course_top
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_course'
,
actionCode
:
'c_top'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
// 五分钟
m_search_result_five_minutes_detail
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_five_minutes'
,
actionCode
:
'c_detail'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_result_five_minutes_order
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_five_minutes'
,
actionCode
:
'c_order'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_result_five_minutes_top
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_five_minutes'
,
actionCode
:
'c_top'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
// 讲师
m_search_result_lecturer_detail
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_lecturer'
,
actionCode
:
'c_detail'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_result_lecturer_order
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_lecturer'
,
actionCode
:
'c_order'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_result_lecturer_top
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_lecturer'
,
actionCode
:
'c_top'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
// 健康漫画
m_search_result_health_cartoon_detail
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_health_cartoon'
,
actionCode
:
'c_detail'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_result_health_cartoon_order
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_health_cartoon'
,
actionCode
:
'c_order'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
m_search_result_health_cartoon_top
:
{
menuCode
:
'm_search_result'
,
menuLevel
:
3
,
functionCode
:
'f_health_cartoon'
,
actionCode
:
'c_top'
,
labelId
:
''
,
labelValue
:
''
,
duration
:
1
,
menuFromCode
:
'm_search'
,
params
:
''
,
session
:
''
,
createdTime
:
new
Date
().
getTime
(),
},
}
\ No newline at end of file
src/utils/index.js
浏览文件 @
901087ed
...
...
@@ -221,6 +221,19 @@ export function pageJumpUrl(){
return
url
;
}
/*
oriData : 原数据
sortField : 排序字段
orderType : 排序类型 1.升序 -1.降序
*/
export
function
sortParmData
(
oriData
,
sortField
,
orderType
)
{
if
(
orderType
!==
1
&&
orderType
!==
-
1
)
orderType
=
1
oriData
.
sort
(
(
a
,
b
)
=>
{
return
(
a
[
sortField
]
-
b
[
sortField
])
*
orderType
})
return
oriData
}
//跳转个人评价页面
export
function
jumpEvaluatPage
(){
return
evaluatPageUrl
...
...
@@ -228,7 +241,7 @@ export function jumpEvaluatPage(){
// dev地址
// const baseUrl = 'http://192.168.140.14:10201/'
const
baseUrl
=
'http://10.177.10.149:
10201
/'
const
baseUrl
=
'http://10.177.10.149:
8080
/'
// const baseUrl = 'http://192.168.140.14:10201/'
// const baseUrl = 'https://dev-sc.yunqueyi.com/'
const
apiUrl
=
'https://dev-api.yunqueyi.com/'
...
...
src/utils/mixins.js
浏览文件 @
901087ed
...
...
@@ -34,26 +34,30 @@ module.exports = {
}
return
''
},
pageBurialPoin
(
options
){
//
pageBurialPoin(options){
let
opt
=
{
menuLevel
:
options
.
menuLevel
||
''
,
functionCode
:
options
.
functionCode
||
''
,
actionCode
:
options
.
actionCode
||
''
,
// label:options.label || '',
labelId
:
options
.
labelId
||
''
,
labelValue
:
options
.
labelValue
||
''
,
createdTime
:
options
.
createdTime
||
new
Date
().
getTime
(),
//type: options.type || '0',
menuCode
:
options
.
menuCode
||
''
,
// menuToCode:options.menuToCode || '',
duration
:
options
.
duration
||
0
,
menuFromCode
:
options
.
menuFromCode
||
''
,
params
:
options
.
params
||
''
,
session
:
options
.
session
||
''
,
}
console
.
log
(
opt
);
rocNative
.
appBuryingPointEntrust
(
opt
)
// let opt = {
// menuLevel:options.menuLevel || '',
// functionCode:options.functionCode || '',
// actionCode: options.actionCode || '',
// // label:options.label || '',
// labelId:options.labelId || '',
// labelValue :options.labelValue || '',
// createdTime: options.createdTime || new Date().getTime(),
// //type: options.type || '0',
// menuCode: options.menuCode || '',
// // menuToCode:options.menuToCode || '',
// duration: options.duration || 0,
// menuFromCode:options.menuFromCode ||'',
// params:options.params || '',
// session:options.session || '',
// }
// console.log(opt);
// rocNative.appBuryingPointEntrust(opt)
// },
pageBurialPoin
(
options
){
rocNative
.
appBuryingPointEntrust
(
options
)
},
setRouterParm
(
paramList
){
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录