Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
4fb17476
提交
4fb17476
编写于
11月 15, 2018
作者:
chendeli
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add
上级
b0ceb7a8
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
60 行增加
和
28 行删除
+60
-28
yqy-adjust.vue
src/components/business-new/yqy-adjust.vue
+3
-2
yqy-home-adv.vue
src/components/business-new/yqy-home-adv.vue
+20
-11
yqy-home-header.vue
src/components/business-new/yqy-home-header.vue
+1
-1
yqy-home-learn-evaluation.vue
src/components/business-new/yqy-home-learn-evaluation.vue
+9
-0
teach-top.vue
src/components/teachers/teach-top.vue
+5
-3
home-new.vue
src/views/home/home-new.vue
+21
-9
index.vue
src/views/teachers/index.vue
+1
-2
未找到文件。
src/components/business-new/yqy-adjust.vue
浏览文件 @
4fb17476
...
...
@@ -75,9 +75,10 @@ export default {
},
},
mounted
(){
///alert(this.statusBarHeight);
this
.
list
=
this
.
parmData
;
this
.
menuHeight
=
this
.
statusBarHeight
+
7
+
40
+
"px"
;
this
.
ptop
=
this
.
statusBarHeight
+
7
+
"px"
;
this
.
ptop
=
this
.
statusBarHeight
+
"px"
;
// this.getData();
},
...
...
@@ -252,7 +253,7 @@ export default {
.cource-header
{
/* margin: 0 0 px2rem(11px) 0;*/
overflow
:
hidden
;
.font-title
{
line-height
:
px2rem
(
40px
);
height
:
px2rem
(
40px
);
...
...
src/components/business-new/yqy-home-adv.vue
浏览文件 @
4fb17476
...
...
@@ -52,21 +52,30 @@ export default {
goToPage
(
item
,
parm
){
console
.
log
(
item
);
let
_this
=
this
;
let
url
=
location
.
host
+
'/#/'
if
(
parm
==
'list'
){
this
.
$router
.
push
({
path
:
'/teachers'
,
query
:{
userToken
:
_this
.
userToken
}
rocNative
.
gotoNewWebActivity
({
url
:
'http://10.177.10.231:8000/#/teachers'
})
// this.$router.push({
// path: '/teachers',
// query:{
// userToken:_this.userToken
// }
// })
}
else
{
this
.
$router
.
push
({
path
:
'/teachersDetail'
,
query
:{
id
:
item
.
id
,
userToken
:
_this
.
userToken
}
rocNative
.
gotoNewWebActivity
({
url
:
'http://10.177.10.231:8000/#/teachersDetail?id='
+
item
.
id
})
// this.$router.push({
// path: '/teachersDetail',
// query:{
// id:item.id,
// userToken:_this.userToken
// }
// })
}
// let obj = {}
...
...
src/components/business-new/yqy-home-header.vue
浏览文件 @
4fb17476
...
...
@@ -46,7 +46,7 @@ export default {
},
mounted
(){
// console.log(this.msgCount);
this
.
count
=
this
.
msgCount
;
this
.
ptop
=
this
.
statusBarHeight
+
7
+
'px'
;
this
.
menuptop
=
this
.
statusBarHeight
+
7
+
43
+
'px'
...
...
src/components/business-new/yqy-home-learn-evaluation.vue
浏览文件 @
4fb17476
...
...
@@ -119,6 +119,15 @@ export default {
}
else
{
_this
.
isShow
=
_this
.
parmObj
.
showFlag
;
if
(
!
_this
.
isShow
){
rocNative
.
setTabMiniIcon
({
tabIndex
:
3
,
iconTitle
:
'学习评价'
,
iconColor
:
''
,
isSet
:
true
})
}
let
isPullIndex
=
_this
.
isShow
?
'1'
:
'2'
;
_this
.
$emit
(
'evluatFun'
,{
isPull
:
isPullIndex
});
}
...
...
src/components/teachers/teach-top.vue
浏览文件 @
4fb17476
<
template
>
<div
class=
"teach-top"
>
<span
class=
"back"
@
click=
"
goBack
"
>
<span
class=
"back"
@
click=
"
backPre
"
>
<img
src=
"../../images/left-icon.png"
>
</span>
<div
class=
"tc title"
>
{{
parmObj
}}
</div>
...
...
@@ -40,8 +40,10 @@ export default {
},
methods
:
{
goBack
(){
this
.
$router
.
back
(
-
1
);
backPre
(){
alert
(
"999"
);
rocNative
.
goBack
()
// this.$router.back(-1);
},
}
}
...
...
src/views/home/home-new.vue
浏览文件 @
4fb17476
...
...
@@ -5,7 +5,7 @@
<section
class=
"home-header"
>
<div
class=
"home-topMenu"
>
<YqyHomeHeader
:msgCount=
"msgCount"
:searchFix=
"searchFix"
:statusBarHeight=
"statusBarHeight"
/>
<YqyHomeHeader
:msgCount=
"msgCount"
:searchFix=
"searchFix"
:statusBarHeight=
"statusBarHeight"
v-if=
"isHeightFromApp"
/>
</div>
<div
class=
"swiper"
>
<mt-swipe
:auto=
"0"
:speed=
"speedSwiper"
>
...
...
@@ -112,6 +112,7 @@ export default {
statusBarHeight
:
20
,
userMobile
:
''
,
userToken
:
''
,
isHeightFromApp
:
false
,
}
},
components
:{
...
...
@@ -132,50 +133,57 @@ export default {
},
created
()
{
let
_this
=
this
;
window
.
__nativeCallMsg
=
function
(
params
){
_this
.
msgCount
=
params
.
msgNum
||
''
;
}
window
.
__refresh
=
function
(
params
){
_this
.
fiveTimePull
();
//
_this.fiveTimePull();
_this
.
initByToken
()
}
window
.
__getStatusBarHeight
=
function
(
parm
){
alert
(
parm
.
statusBarHeight
);
_this
.
statusBarHeight
=
parm
.
statusBarHeight
_this
.
statusBarHeight
=
parm
.
statusBarHeight
;
_this
.
isHeightFromApp
=
true
;
// alert(_this.statusBarHeight);
}
window
.
__getUserInfo
=
function
(
parm
){
//
alert(parm.userToken);
alert
(
parm
.
userToken
);
_this
.
systemType
=
parm
.
systemType
;
_this
.
appVersion
=
parm
.
appVersion
;
_this
.
token
=
parm
.
userToken
;
//
_this.token = parm.userToken;
_this
.
userToken
=
parm
.
userToken
;
_this
.
userMobile
=
parm
.
userMobile
;
if
(
parm
.
userMobile
!=
''
){
_this
.
getKeepData
();
}
_this
.
initByToken
();
_this
.
getSwiper
(
_this
.
appVersion
,
_this
.
systemType
);
}
_this
.
initAll
()
// _this.token = '63C3FA92AF8A45A48B31EB7FD97B95EB';
// _this.isHeightFromApp = true;
// _this.initByToken();
_this
.
getUserInfo
();
_this
.
getStatusHight
();
},
mounted
(){
console
.
log
(
this
.
isShowEvluat
);
//
console.log(this.isShowEvluat);
},
beforeDestroyed
(){
...
...
@@ -202,8 +210,10 @@ export default {
initByToken
(){
//alert("0999");
this
.
getAdjustData
();
this
.
getNewsData
();
//alert("加入学");
this
.
getEvaluctData
();
window
.
addEventListener
(
'scroll'
,
this
.
scrollFun
);
},
...
...
@@ -422,6 +432,7 @@ export default {
//为您推荐
getAdjustData
(){
let
_this
=
this
,
parm
=
{
pageNo
:
1
,
...
...
@@ -533,6 +544,7 @@ export default {
}
if
(
scrollTop
+
30
>=
adjustTop
){
this
.
isFixed
=
true
;
this
.
searchFix
=
false
;
}
else
{
this
.
isFixed
=
false
;
}
...
...
src/views/teachers/index.vue
浏览文件 @
4fb17476
...
...
@@ -55,8 +55,7 @@ export default {
this
.
$router
.
push
({
path
:
'/teachersDetail'
,
query
:{
id
:
id
,
userToken
:
_this
.
$route
.
query
.
userToken
id
:
id
}
})
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录