Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
96fe378f
提交
96fe378f
编写于
12月 25, 2018
作者:
杨广俊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
结果页面search方法调整
上级
c43378b8
变更
4
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
495 行增加
和
43 行删除
+495
-43
course-adjust.1.vue
src/components/business/course-adjust.1.vue
+488
-0
course-adjust.vue
src/components/business/course-adjust.vue
+0
-35
result.vue
src/views/result.vue
+2
-5
search-index.vue
src/views/search-index.vue
+5
-3
未找到文件。
src/components/business/course-adjust.1.vue
0 → 100644
浏览文件 @
96fe378f
此差异已折叠。
点击以展开。
src/components/business/course-adjust.vue
浏览文件 @
96fe378f
...
...
@@ -98,51 +98,16 @@ export default {
},
mounted
()
{
// this.list = this.parmData;
// this.$store.dispatch("setSource", []);
//this.pageNo = this.adjustPageNo;
// if(window.__isAndroid){
// this.popHeight = this.statusBarHeight/2
// }else{
// this.popHeight = this.statusBarHeight
// }
// this.menuHeight = this.popHeight + 7 + 40 + "px";
// this.ptop = this.popHeight + "px";
// this.getData();
},
created
()
{
let
_this
=
this
;
window
.
__getStatusBarHeight
=
function
(
parm
)
{
if
(
window
.
__isAndroid
)
{
_this
.
popHeight
=
parseInt
(
parm
.
statusBarHeight
)
/
2
}
else
{
_this
.
popHeight
=
parm
.
statusBarHeight
}
_this
.
ptop
=
_this
.
popHeight
+
'px'
;
_this
.
menuptop
=
_this
.
popHeight
+
36
+
'px'
}
this
.
getStatusHight
()
},
watch
:
{
},
components
:
{
GroupTitle
// LOADING
},
methods
:
{
getStatusHight
()
{
rocNative
.
getStatusBarHeight
({
__funcName
:
'__getStatusBarHeight'
})
},
//跳转
goToPage
(
item
)
{
this
.
pageBurialPoin
({
...
...
src/views/result.vue
浏览文件 @
96fe378f
...
...
@@ -167,15 +167,12 @@ export default {
let
_this
=
this
;
window
.
__getUserInfo
=
function
(
params
){
_this
.
token
=
params
.
userToken
_this
.
search
()
_this
.
getAdjustData
()
}
if
(
window
.
__isWeb
)
{
_this
.
search
()
}
window
.
__refresh
=
function
(){
_this
.
getUserInfo
()
}
_this
.
search
()
window
.
addEventListener
(
'scroll'
,
this
.
scrollFun
);
},
mounted
(){
...
...
@@ -424,7 +421,7 @@ export default {
background
:
#fff
;
border-bottom
:
1px
solid
#E7E7E7
;
&
-img
{
padding
:
px2rem
(
21px
)
0
0
px2rem
(
16px
);
padding
:
px2rem
(
21px
)
0
px2rem
(
10px
)
px2rem
(
16px
);
width
:
px2rem
(
20px
);
height
:
px2rem
(
20px
);
// transform: rotate(180deg);
...
...
src/views/search-index.vue
浏览文件 @
96fe378f
...
...
@@ -60,6 +60,7 @@ export default {
created
()
{
let
_self
=
this
;
window
.
__getUserInfo_S
=
function
(
params
){
_self
.
setUserInfo
(
params
)
_self
.
token
=
params
.
userToken
_self
.
getData
()
}
...
...
@@ -73,7 +74,8 @@ export default {
},
methods
:
{
...
mapActions
({
setStatusBarHeight
:
'setStatusBarHeight'
setStatusBarHeight
:
'setStatusBarHeight'
,
setUserInfo
:
'setUserInfo'
}),
// 跳转到结果页面,并
search
()
{
...
...
@@ -223,7 +225,7 @@ export default {
@import
'../style/mixin.scss'
;
@import
'../style/global.scss'
;
.mt-80
{
padding-top
:
px2rem
(
7
0px
);
padding-top
:
px2rem
(
8
0px
);
}
.mt-100
{
padding-top
:
px2rem
(
63px
)
!
important
;
...
...
@@ -247,7 +249,7 @@ export default {
background
:
#fff
;
border-bottom
:
1px
solid
#E7E7E7
;
&
-img
{
padding
:
px2rem
(
21px
)
0
0
px2rem
(
16px
);
padding
:
px2rem
(
21px
)
0
px2rem
(
10px
)
px2rem
(
16px
);
width
:
px2rem
(
20px
);
height
:
px2rem
(
20px
);
// transform: rotate(180deg);
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录