Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-admin-discuss
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-admin-discuss
提交
901e5603
提交
901e5603
编写于
12月 17, 2018
作者:
杨广俊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
课程优化等
上级
c5652d10
变更
10
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
733 行增加
和
134 行删除
+733
-134
course-list.2.vue
src/components/business/course-list.2.vue
+370
-0
course-list.vue
src/components/business/course-list.vue
+292
-117
five-minutes.vue
src/components/business/five-minutes.vue
+1
-1
group-title.vue
src/components/business/group-title.vue
+1
-1
health-comics.vue
src/components/business/health-comics.vue
+2
-2
hot-labels.vue
src/components/business/hot-labels.vue
+35
-1
main.js
src/main.js
+4
-0
index.js
src/utils/index.js
+1
-1
mixins.js
src/utils/mixins.js
+6
-1
result.vue
src/views/result.vue
+21
-10
未找到文件。
src/components/business/course-list.2.vue
0 → 100644
浏览文件 @
901e5603
此差异已折叠。
点击以展开。
src/components/business/course-list.vue
浏览文件 @
901e5603
此差异已折叠。
点击以展开。
src/components/business/five-minutes.vue
浏览文件 @
901e5603
...
...
@@ -8,7 +8,7 @@
<img
v-lazy=
"item.appImageUrl"
/>
</div>
<div
class=
"five-text"
>
<div
class=
"teacher-itemname fs14"
>
{{
item
.
title
}}
</div>
<div
class=
"teacher-itemname fs14"
v-html=
"item.title"
>
{{
item
.
title
}}
</div>
<div
class=
"five-tag fs11"
>
<span
class=
"m-tag"
>
#
{{
item
.
categoryName
}}
</span>
<span
class=
"m-play"
@
click
.
stop=
"playFun(item)"
>
...
...
src/components/business/group-title.vue
浏览文件 @
901e5603
...
...
@@ -72,7 +72,7 @@ export default {
&
-item
{
position
:
relative
;
span
{
margin-right
:
px2rem
(
2
0px
);
margin-right
:
px2rem
(
3
0px
);
}
img
{
position
:
absolute
;
...
...
src/components/business/health-comics.vue
浏览文件 @
901e5603
...
...
@@ -14,8 +14,8 @@
</div>
<div
class=
"tea-txt"
>
<!--
<div
class=
"tea-name"
>
{{
item
.
doctorName
}}
</div>
-->
<div
class=
"tea-position"
>
{{
item
.
headerName
}}
<div
class=
"tea-position"
v-html=
"item.headerName"
>
<!--
{{
item
.
headerName
}}
-->
</div>
</div>
</div>
...
...
src/components/business/hot-labels.vue
浏览文件 @
901e5603
...
...
@@ -4,7 +4,8 @@
<span>
{{
title
}}
</span>
</section>
<section
class=
"history-labels-item"
@
click=
"hotLabel(item.resourceType, item.structureId, item.resourceUrl, item.labelName, item)"
v-for=
"(item, index) in allLabels"
:key=
"index"
>
<!--
<section
class=
"history-labels-item"
@
click=
"hotLabel(item.resourceType, item.structureId, item.resourceUrl, item.labelName, item)"
v-for=
"(item, index) in allLabels"
:key=
"index"
>
-->
<section
class=
"history-labels-item"
@
click=
"gotoPage(item)"
v-for=
"(item, index) in allLabels"
:key=
"index"
>
<span
class=
"history-labels-item-name"
>
{{
item
.
keyword
}}
</span>
</section>
</article>
...
...
@@ -31,6 +32,39 @@ export default {
this
.
getData
()
},
methods
:
{
gotoPage
(
itemData
){
console
.
log
(
'itemData'
,
itemData
)
// 如果没有跳转信息,则直接到搜索结果页面
if
(
!
itemData
.
appModuleInfo
){
this
.
searchAction
(
itemData
.
keyword
)
return
}
let
paramList
=
this
.
setEventByModuleCode
(
itemData
);
if
(
paramList
!==
'NO'
)
{
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
itemData
.
appModuleInfo
.
code
,
jsonString
:
paramList
})
}
this
.
pageBurialPoin
({
menuLevel
:
1
,
menuCode
:
'm_home'
,
functionCode
:
'f_module'
,
actionCode
:
'c_module'
,
labelId
:
itemData
.
id
,
labelValue
:
itemData
.
keyword
,
})
},
searchAction
(
searchText
)
{
if
(
this
.
showDelete
)
return
this
.
$router
.
push
({
path
:
'/result'
,
query
:
{
searchText
:
searchText
}
})
},
// ...mapMutations([
// 'SET_CLEAR_VUEX'
// ]),
...
...
src/main.js
浏览文件 @
901e5603
...
...
@@ -23,6 +23,10 @@ Vue.use(VueLazyload, {
// lazyComponent: true
})
Vue
.
filter
(
'filterName2'
,
function
(
item
)
{
return
'222'
})
// 可调试
Vue
.
config
.
devtools
=
true
;
Vue
.
use
(
Mint
)
...
...
src/utils/index.js
浏览文件 @
901e5603
...
...
@@ -228,7 +228,7 @@ export function jumpEvaluatPage(){
// dev地址
// const baseUrl = 'http://192.168.140.14:10201/'
const
baseUrl
=
'http://10.177.10.1
10
:10201/'
const
baseUrl
=
'http://10.177.10.1
49
:10201/'
// 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
浏览文件 @
901e5603
...
...
@@ -100,6 +100,7 @@ module.exports = {
}
}
}
else
if
(
modeCode
===
'M400'
)
{
debugger
let
path
=
paramList
[
0
][
'key'
];
let
v
=
paramList
[
0
][
'value'
];
let
query
=
this
.
setRouterParm
(
paramList
);
...
...
@@ -107,8 +108,12 @@ module.exports = {
url
:
v
,
query
:
query
}]
this
.
$router
.
push
({
path
:
v
,
query
:
query
})
//alert(this.token);
return
'NO'
}
if
(
typeof
paramList
===
'string'
&&
!
paramList
){
paramList
=
[]
...
...
src/views/result.vue
浏览文件 @
901e5603
...
...
@@ -9,11 +9,11 @@
<section></section>
<NoResultPage/>
<SplitLine
borderWidth=
"3px"
/>
<CourseAdjust
v-show=
"adjustList.length > 0"
:par
a
Data=
"adjustList"
/>
<CourseAdjust
v-show=
"adjustList.length > 0"
:par
m
Data=
"adjustList"
/>
</article>
<!-- 有结果页面 -->
<article
v-show=
"showTab1 || showTab2 || showTab3 || showTab4"
>
<article
v-show=
"showTab1 || showTab2 || showTab3 || showTab4"
style=
"position:relative;"
>
<div
class=
"navbar-container"
>
<div
class=
"navbar-container-item"
v-show=
"showTab0"
:class=
"
{'bt-2': navIndex === '0'}" @click="navIndex = '0'">综合
</div>
<div
class=
"navbar-container-item"
v-show=
"showTab1"
:class=
"
{'bt-2': navIndex === '1'}" @click="navIndex = '1'">课程
</div>
...
...
@@ -21,6 +21,7 @@
<div
class=
"navbar-container-item"
v-show=
"showTab3"
:class=
"
{'bt-2': navIndex === '3'}" @click="navIndex = '3'">讲师
</div>
<div
class=
"navbar-container-item"
v-show=
"showTab4"
:class=
"
{'bt-2': navIndex === '4'}" @click="navIndex = '4'">健康漫画
</div>
</div>
<div
class=
"fixed-split-line"
></div>
<div
class=
"list-container"
v-show=
"navIndex === '0' && showTab0"
>
<!-- 课程 -->
<div
v-show=
"showTab1"
>
...
...
@@ -146,14 +147,14 @@ export default {
}
if
(
window
.
__isWeb
)
{
_this
.
getAdjustData
()
//
_this.search()
_this
.
search
()
}
window
.
__refresh
=
function
(){
_this
.
getUserInfo
()
}
},
mounted
(){
// this.search(this.searchText
)
this
.
search
(
)
// this.searchAll(this.searchText, '1', 'contentAppModels', 'contentAppModelsAll')
},
methods
:
{
...
...
@@ -168,6 +169,7 @@ export default {
para
=
{
searchCategory
:
'1,2,3,4'
,
searchValue
:
_this
.
searchText
,
keywordColor
:
'rgba(244,122,72,1)'
,
sortItem
:
1
,
pageNo
:
1
,
pageSize
:
100
,
...
...
@@ -290,7 +292,7 @@ export default {
.mint-search
{
position
:
fixed
;
top
:
0px
;
z-index
:
20
;
z-index
:
3
!important
;
height
:
66px
;
width
:
100%
;
border-bottom
:
1px
solid
#E7E7E7
!important
;
...
...
@@ -306,7 +308,7 @@ export default {
display
:
-ms-flexbox
;
display
:
flex
;
padding
:
30px
10px
8px
;
z-index
:
1
;
z-index
:
3
;
}
.mint-searchbar-cancel
{
margin-left
:
10px
;
...
...
@@ -326,32 +328,41 @@ export default {
<
style
lang=
"scss"
scoped
>
@import
'../style/mixin.scss'
;
.navbar-container
{
width
:
100%
;
height
:
px2rem
(
57px
);
display
:
flex
;
position
:
fixed
;
top
:
px2rem
(
60px
);
left
:
0
;
z-index
:
2
;
flex-direction
:
row
;
border-bottom
:
1px
solid
#E7E7E7
;
//
border-bottom: 1px solid #E7E7E7;
background
:
#fff
;
padding
-top
:
10px
;
// margin
-top: 10px;
margin-bottom
:
6px
;
&
-item
{
display
:
inline-flex
;
margin
:
px2rem
(
1
5px
)
px2rem
(
15px
)
px2rem
(
-1px
);
margin
:
px2rem
(
2
5px
)
px2rem
(
15px
)
px2rem
(
-1px
);
padding-bottom
:
px2rem
(
11px
);
font-size
:
px2rem
(
14px
);
color
:
#666
;
}
.bt-2
{
color
:
#449284
;
border-bottom
:
px2rem
(
3
px
)
solid
#449284
;
border-bottom
:
px2rem
(
2
px
)
solid
#449284
;
}
}
.list-container
{
margin
:
0
;
padding-top
:
px2rem
(
120px
);
}
.fixed-split-line
{
position
:
fixed
;
width
:
100%
;
top
:
117px
;
z-index
:
1
;
border-bottom
:
1px
solid
#e7e7e7
;
}
.mt-80
{
padding-top
:
px2rem
(
80px
);
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录