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
提交
b1a12f51
提交
b1a12f51
编写于
11月 15, 2018
作者:
chendeli
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add
上级
63e4062c
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
52 行增加
和
31 行删除
+52
-31
yqy-adjust.vue
src/components/business-new/yqy-adjust.vue
+2
-1
yqy-home-adv.vue
src/components/business-new/yqy-home-adv.vue
+4
-3
yqy-home-banner.vue
src/components/business-new/yqy-home-banner.vue
+1
-1
yqy-home-learn-evaluation.vue
src/components/business-new/yqy-home-learn-evaluation.vue
+16
-6
yqy-teacher-list.vue
src/components/business-new/yqy-teacher-list.vue
+2
-1
index.js
src/utils/index.js
+1
-1
activity.vue
src/views/activity/activity.vue
+3
-12
home-new.vue
src/views/home/home-new.vue
+23
-6
未找到文件。
src/components/business-new/yqy-adjust.vue
浏览文件 @
b1a12f51
...
...
@@ -165,6 +165,7 @@ export default {
//收藏 取消收藏
collectFun
(
status
,
id
,
name
){
// alert(this.userToken);
status
=
status
==
1
?
2
:
1
;
this
.
pageBurialPoin
({
menuLevel
:
1
,
menuCode
:
'm_home'
,
...
...
@@ -189,7 +190,7 @@ export default {
_this
.
POST
(
'contents/favors'
,
parm
).
then
(
function
(
res
){
if
(
res
.
code
===
'000000'
){
status
=
status
==
1
?
2
:
1
;
_this
.
handelData
(
id
,
status
);
}
else
{
//alert(res.message);
...
...
src/components/business-new/yqy-home-adv.vue
浏览文件 @
b1a12f51
...
...
@@ -51,19 +51,20 @@ export default {
//跳转
goToPage
(
item
,
parm
){
//console.log(item);
alert
(
jumpWebPageUrl
);
let
_this
=
this
;
//let url = location.protocol+'//'+location.host+'/#/'
//alert(url);
if
(
parm
==
'list'
){
rocNative
.
gotoNewWebActivity
({
url
:
jumpWebPageUrl
+
'
teachers'
pageUrl
:
'https://test1-phome.yunqueyi.com/appl/#/
teachers'
})
}
else
{
rocNative
.
gotoNewWebActivity
({
u
rl
:
jumpWebPageUrl
+
'teachersDetail?id='
+
item
.
id
+
"&from=appHome"
pageU
rl
:
jumpWebPageUrl
+
'teachersDetail?id='
+
item
.
id
+
"&from=appHome"
})
}
...
...
src/components/business-new/yqy-home-banner.vue
浏览文件 @
b1a12f51
...
...
@@ -48,7 +48,7 @@ export default {
}
else
{
rocNative
.
gotoNewWebActivity
({
u
rl
:
jumpWebPageUrl
+
'teachers'
pageU
rl
:
jumpWebPageUrl
+
'teachers'
})
// this.$router.push({
// path: paramList[0].url,
...
...
src/components/business-new/yqy-home-learn-evaluation.vue
浏览文件 @
b1a12f51
...
...
@@ -74,7 +74,8 @@ export default {
},
mounted
(){
this
.
isShow
=
this
.
isShowEvluat
;
console
.
log
(
this
.
isShowEvluat
)
this
.
parmObj
=
this
.
parmData
console
.
log
(
this
.
parmData
)
},
methods
:
{
...
...
@@ -169,25 +170,34 @@ export default {
padding
:
0
px2rem
(
10px
);
.evaluat-info
{
margin-top
:
px2rem
(
33px
);
overflow
:
hidden
;
.evaluat-icon
{
height
:
px2rem
(
26px
);
width
:
px2rem
(
26px
);
border-radius
:
50%
;
background
:
#D7E0EC
;
display
:
inline-block
;
vertical-align
:
middle
;
display
:inline-block
;
position
:
relative
;
float
:
left
;
img
{
margin-top
:px2rem
(
3px
)
;
height
:
px2rem
(
23px
);
width
:
px2rem
(
23px
);
position
:
absolute
;
left
:
0
;
top
:
0
;
height
:
px2rem
(
26px
);
width
:
px2rem
(
26px
);
display
:
inline-block
;
border-radius
:
50%
;
}
}
.evaluat-persent
{
margin-left
:
px2rem
(
5px
);
font-size
:
px2rem
(
13px
);
color
:
#AA813B
;
height
:
px2rem
(
26px
);
line-height
:
px2rem
(
26px
);
display
:
inline-block
;
float
:
left
;
}
}
.push-up
{
...
...
src/components/business-new/yqy-teacher-list.vue
浏览文件 @
b1a12f51
...
...
@@ -102,6 +102,7 @@ export default {
//收藏 取消收藏
collectFun
(
status
,
id
){
// alert(this.userToken)
status
=
status
==
1
?
2
:
1
;
this
.
pageBurialPoin
({
menuLevel
:
1
,
menuCode
:
'm_home'
,
...
...
@@ -123,7 +124,7 @@ export default {
_this
.
POST
(
'contents/favors'
,
parm
).
then
(
function
(
res
){
if
(
res
.
code
===
'000000'
){
status
=
status
==
1
?
2
:
1
;
_this
.
handelData
(
id
,
status
);
}
else
{
//alert(res.message);
...
...
src/utils/index.js
浏览文件 @
b1a12f51
...
...
@@ -242,7 +242,7 @@ const apiUrl = 'https://test1-api.yunqueyi.com/'
const
evaluatPageUrl
=
'https://test1-phome.yunqueyi.com/gpr/#/home'
export
const
jumpWebPageUrl
=
'https://test1-
sc
.yunqueyi.com/appl/#/'
export
const
jumpWebPageUrl
=
'https://test1-
phome
.yunqueyi.com/appl/#/'
//const devApiUri = 'https://test1-api.yunqueyi.com/'
...
...
src/views/activity/activity.vue
浏览文件 @
b1a12f51
...
...
@@ -53,21 +53,12 @@ export default {
}
//_this.token = 'AF22B142535B440883135309BBF3F3B0'
this
.
getBaseInfo
();
},
watch
:{
token
:
function
(){
if
(
this
.
token
!=
null
){
this
.
id
=
this
.
$route
.
query
.
categoryId
this
.
getTabData
();
window
.
addEventListener
(
'scroll'
,
this
.
scrollFun
);
}
}
},
mounted
(){
this
.
getTabData
();
window
.
addEventListener
(
'scroll'
,
this
.
scrollFun
);
},
beforeDestroyed
(){
window
.
removeEventListener
(
'scroll'
,
this
.
scrollFun
)
...
...
@@ -113,7 +104,7 @@ export default {
parm
=
{
id
:
_this
.
id
,
setEntry
:
'headers'
,
token
:
_this
.
userToken
}
_this
.
GET
(
'contents/contentList/tabById'
,
parm
).
then
(
function
(
res
){
...
...
src/views/home/home-new.vue
浏览文件 @
b1a12f51
<
template
>
<div
class=
"main-body"
ref=
"wrapper"
:style=
"
{ height: (wrapperHeight-50) + 'px' }">
<mt-loadmore
:top-method=
"loadTop"
ref=
"loadmore"
:autoFill=
"isAutoFill"
:bottom-all-loaded=
"allLoaded"
:topDistance=
"topDistance"
>
<section
:class=
"isIntStyle"
>
<!--展开收起学习评价-->
<YqyTopEvaluat
:isShowEvluat=
"isShowEvluat"
v-if=
"isShowEvluat"
:parmData=
"evaluctObj"
v-on:evluatFun=
"getEluatFun"
/>
...
...
@@ -66,7 +66,7 @@
</a>
</section>
</section>
</mt-loadmore>
</div>
</
template
>
...
...
@@ -123,7 +123,7 @@ export default {
userToken
:
''
,
isHeightFromApp
:
false
,
isFirstPull
:
true
,
updateStr
:
''
updateStr
:
''
,
}
},
components
:{
...
...
@@ -174,6 +174,7 @@ export default {
if
(
parm
.
userMobile
!=
''
){
_this
.
getKeepData
(
parm
.
userToken
);
}
_this
.
initByToken
(
parm
.
userToken
);
...
...
@@ -183,10 +184,11 @@ export default {
}
_this
.
initAll
()
// _this.token = '
A19F2200C11A4E958650B2246039B560
';
// _this.token = '
BE1D60CAE8F24649B4F72D47E964A58B
';
// _this.isHeightFromApp = true;
// _this.initByToken(_this.token);
_this
.
getUserInfo
();
_this
.
getStatusHight
();
...
...
@@ -322,16 +324,31 @@ export default {
this
.
GET
(
'contents/gp/v1/homepage'
,
para
).
then
(
res
=>
{
if
(
res
.
code
==
'000000'
){
_this
.
evaluctObj
=
res
.
data
||
{};
// res.data = {
// avatarImageUrl: "https://test-file.yunqueyi.com/File/doctor_default.png",
// certificateAcquireNumOfHospital: 10,
// certificateAcquireNumOfSelf: 9,
// courseOverNumOfHospital: 10,
// courseOverNumOfSelf: 5,
// examOverNumOfHospital: 10,
// examOverNumOfSelf: 5,
// gradePKToHospital: 0.67,
// showFlag: true
// }
_this
.
evaluctObj
=
res
.
data
||
{};
if
(
res
.
data
.
certificateAcquireNumOfSelf
==
0
&&
res
.
data
.
courseOverNumOfSelf
==
0
&&
res
.
data
.
examOverNumOfSelf
==
0
){
_this
.
isShowEvluat
=
false
;
}
else
{
_this
.
isShowEvluat
=
_this
.
evaluctObj
.
showFlag
;
if
(
_this
.
isShowEvluat
){
_this
.
fiveTimePull
()
}
}
}
else
{
// alert(res.message);
rocNative
.
showNativeToast
({
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录