Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-IM
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-admin-IM
提交
fc224441
提交
fc224441
编写于
11月 12, 2018
作者:
chendeli
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add
上级
e2025ca2
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
114 行增加
和
73 行删除
+114
-73
yqy-home-adv.vue
src/components/business-new/yqy-home-adv.vue
+69
-57
yqy-home-keepon.vue
src/components/business-new/yqy-home-keepon.vue
+1
-1
yqy-home-learn-evaluation.vue
src/components/business-new/yqy-home-learn-evaluation.vue
+10
-3
index.js
src/utils/index.js
+4
-4
home-new.vue
src/views/home/home-new.vue
+6
-2
detail.vue
src/views/teachers/detail.vue
+2
-2
index.vue
src/views/teachers/index.vue
+22
-4
未找到文件。
src/components/business-new/yqy-home-adv.vue
浏览文件 @
fc224441
...
...
@@ -39,67 +39,79 @@ export default {
//跳转
goToPage
(
item
,
parm
){
let
obj
=
{}
let
keyName
=
''
,
val
=
''
,
classNameVal
=
''
;
console
.
log
(
item
);
if
(
parm
==
'list'
){
obj
=
{
menuLevel
:
1
,
menuCode
:
'm_home'
,
functionCode
:
'f_teacher'
,
actionCode
:
'c_more'
,
}
keyName
=
''
;
val
=
''
;
classNameVal
=
'com.picahealth.yunque.activitys.experienceshare.ExperienceShareDetailActivity###SharedExperienceViewController'
this
.
$router
.
push
({
path
:
'/teachers'
})
}
else
{
obj
=
{
menuLevel
:
1
,
menuCode
:
'm_home'
,
functionCode
:
'f_teacher'
,
actionCode
:
'c_teacher'
,
labelId
:
item
.
id
,
labelvalue
:
item
.
name
,
}
keyName
=
'id'
;
val
=
item
.
id
;
classNameVal
=
'com.picahealth.yunque.activitys.playvideo.PlayVideoFullScrenActivity###VideoPlayerViewController'
this
.
$router
.
push
({
path
:
'/teachersDetail'
,
query
:{
id
:
item
.
id
}
})
}
this
.
pageBurialPoin
(
obj
)
// let obj = {}
// let keyName = '',
// val = '',
// classNameVal = '';
let
itemData
=
{
"title"
:
item
.
name
,
"imageUrl"
:
""
,
"appModuleInfo"
:{
"code"
:
"M200"
,
"type"
:
4
,
"name"
:
"名师风采个人展示"
,
"paramFlag"
:
1
,
"paramList"
:[
{
"key"
:
"className"
,
"value"
:
classNameVal
,
"type"
:
4
,
"seqNo"
:
1
},
{
"key"
:
keyName
,
"value"
:
`
${
val
}
`
,
"type"
:
1
,
"seqNo"
:
2
}
]
}
};
let
paramList
=
this
.
setEventByModuleCode
(
itemData
);
rocNative
.
dispatchEventByModuleCode
({
modeCode
:
itemData
.
appModuleInfo
.
code
,
jsonString
:
paramList
})
// if(parm == 'list'){
// obj = {
// menuLevel:1,
// menuCode:'m_home',
// functionCode:'f_teacher',
// actionCode: 'c_more',
// }
// keyName = '';
// val = '';
// classNameVal = 'com.picahealth.yunque.activitys.experienceshare.ExperienceShareDetailActivity###SharedExperienceViewController'
// }else{
// obj = {
// menuLevel:1,
// menuCode:'m_home',
// functionCode:'f_teacher',
// actionCode:'c_teacher',
// labelId:item.id,
// labelvalue:item.name,
// }
// keyName = 'id';
// val = item.id;
// classNameVal = 'com.picahealth.yunque.activitys.playvideo.PlayVideoFullScrenActivity###VideoPlayerViewController'
// }
// this.pageBurialPoin(obj)
// let itemData = {
// "title":item.name,
// "imageUrl":"",
// "appModuleInfo":{
// "code":"M200",
// "type":4,
// "name":"名师风采个人展示",
// "paramFlag":1,
// "paramList":[
// {
// "key":"className",
// "value":classNameVal,
// "type":4,
// "seqNo":1
// },
// {
// "key":keyName,
// "value":`${val}`,
// "type":1,
// "seqNo":2
// }
// ]
// }
// };
// let paramList = this.setEventByModuleCode(itemData);
// rocNative.dispatchEventByModuleCode({
// modeCode: itemData.appModuleInfo.code,
// jsonString: paramList
// })
},
...
...
src/components/business-new/yqy-home-keepon.vue
浏览文件 @
fc224441
...
...
@@ -99,7 +99,7 @@ export default {
if
(
_this
.
parmObj
.
remanentCourseNum
==
0
){
_this
.
isShow
=
false
;
}
else
{
_this
.
isShow
=
true
||
_this
.
parmObj
.
showFlag
?
true
:
false
;
_this
.
isShow
=
_this
.
parmObj
.
showFlag
?
true
:
false
;
}
}
})
...
...
src/components/business-new/yqy-home-learn-evaluation.vue
浏览文件 @
fc224441
...
...
@@ -94,9 +94,16 @@ export default {
if
(
res
.
code
==
'000000'
){
_this
.
parmObj
=
res
.
data
||
{};
_this
.
isShow
=
_this
.
parmObj
.
showFlag
;
let
isPullIndex
=
_this
.
isShow
?
'1'
:
'2'
;
_this
.
$emit
(
'evluatFun'
,{
isPull
:
isPullIndex
});
if
(
res
.
data
.
certificateAcquireNumOfSelf
==
0
&&
res
.
data
.
courseOverNumOfSelf
==
0
&&
res
.
data
.
examOverNumOfSelf
==
0
){
_this
.
isShow
=
false
;
_this
.
$emit
(
'evluatFun'
,{
isPull
:
'2'
});
}
else
{
_this
.
isShow
=
_this
.
parmObj
.
showFlag
;
let
isPullIndex
=
_this
.
isShow
?
'1'
:
'2'
;
_this
.
$emit
(
'evluatFun'
,{
isPull
:
isPullIndex
});
}
}
})
},
...
...
src/utils/index.js
浏览文件 @
fc224441
...
...
@@ -226,12 +226,12 @@ export function pageJumpUrl(){
// dev地址
//
const baseUrl = 'https://dev-sc.yunqueyi.com/'
//
const apiUrl = 'https://dev-api.yunqueyi.com/'
const
baseUrl
=
'https://dev-sc.yunqueyi.com/'
const
apiUrl
=
'https://dev-api.yunqueyi.com/'
// test1地址
const
baseUrl
=
'https://test1-sc.yunqueyi.com/'
const
apiUrl
=
'https://test1-api.yunqueyi.com/'
//
const baseUrl = 'https://test1-sc.yunqueyi.com/'
//
const apiUrl = 'https://test1-api.yunqueyi.com/'
//const devApiUri = 'https://test1-api.yunqueyi.com/'
// // uat地址
...
...
src/views/home/home-new.vue
浏览文件 @
fc224441
...
...
@@ -160,6 +160,7 @@ export default {
watch
:{
//监听是否收起
isShowEvluat
:
function
(
n
){
///alert(n);
if
(
!
n
&&
this
.
isIntStyle
==
'font-style pull-up'
){
///alert("000");
rocNative
.
setTabMiniIcon
({
...
...
@@ -328,7 +329,7 @@ export default {
_this
.
isIntStyle
=
'font-style pull-up'
;
_this
.
isShowEvluat
=
false
;
clearInterval
(
setTimer
)
},
5
000
);
},
20
000
);
},
...
...
@@ -538,10 +539,13 @@ export default {
margin-right
:
4%
;
text-align
:
center
;
.pathologic-icon
{
vertical-align
:
middle
;
height
:
px2rem
(
20px
);
img
{
width
:
px2rem
(
20px
);
height
:
px2rem
(
20px
);
vertical-align
:
middle
;
display
:
inline-block
;
}
}
.pathologic-txt
{
...
...
src/views/teachers/detail.vue
浏览文件 @
fc224441
...
...
@@ -319,9 +319,9 @@ body{background: #fff}
-webkit-tap-highlight-color
:rgba
(
0
,
0
,
0
,
0
)
;
outline
:
0
;
-webkit-overflow-scrolling
:
touch
;
height
:
px2rem
(
273px
);
.item-new-box
{
width
:
px2rem
(
1000px
);
width
:
px2rem
(
1000
0000
px
);
}
.item-line
{
width
:
px2rem
(
345px
);
...
...
src/views/teachers/index.vue
浏览文件 @
fc224441
...
...
@@ -11,7 +11,7 @@
</div>
<div
class=
"teach-list"
>
<div
:class=
"index%2==1?'list-item mr0':'list-item'"
v-for=
"(item,index) in list"
@
click=
"goToDetail(item.doctorId)"
>
<div
class=
"tea-img"
>
<div
class=
"tea-img"
:style=
"'background:'+item.bgColor"
>
<img
:src=
"item.doctorImg"
>
<span
class=
"learn-p"
>
{{
item
.
joinNum
}}
人已学
</span>
</div>
...
...
@@ -65,6 +65,21 @@ export default {
this
.
getData
()
},
randomBg
(
d
){
for
(
let
i
=
0
;
i
<
d
.
length
;
i
++
){
if
(
i
%
4
==
0
){
d
[
i
].
bgColor
=
'#EBF6F1'
}
else
if
(
i
%
4
==
1
){
d
[
i
].
bgColor
=
'#EDF3FA'
}
else
if
(
i
%
4
==
2
){
d
[
i
].
bgColor
=
'#F0F0FA'
}
else
if
(
i
%
4
==
3
){
d
[
i
].
bgColor
=
'#F6EFE6'
}
}
/// console.log(d);
},
getData
(){
let
_this
=
this
,
para
=
{
...
...
@@ -75,9 +90,12 @@ export default {
let
url
=
'/contents/courseDoctor/getAllTeacher/orderby/'
+
_this
.
col
+
'/dir/'
+
_this
.
dir
this
.
GET
(
url
,
para
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
){
_this
.
list
=
res
.
data
.
teacherList
||
[];
_this
.
followCount
=
res
.
data
.
followCount
||
0
;
_this
.
studyCount
=
res
.
data
.
studyCount
||
0
;
_this
.
list
=
res
.
data
.
teacherList
||
[];
_this
.
followCount
=
res
.
data
.
followCount
||
0
;
_this
.
studyCount
=
res
.
data
.
studyCount
||
0
;
if
(
_this
.
list
.
length
>
0
){
_this
.
randomBg
(
_this
.
list
);
}
}
})
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录