Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
54b26e76
提交
54b26e76
编写于
1月 14, 2019
作者:
杨广俊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
完成开发
上级
964c25c9
变更
3
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
26 行增加
和
17 行删除
+26
-17
yqy-home-header.vue
src/componentsn/business/yqy-home-header.vue
+24
-1
left-arror.png
src/images/lecturer/left-arror.png
+0
-0
index.vue
src/views/index.vue
+2
-16
未找到文件。
src/componentsn/business/yqy-home-header.vue
浏览文件 @
54b26e76
...
@@ -3,7 +3,9 @@
...
@@ -3,7 +3,9 @@
<div
class=
"search-menu"
>
<div
class=
"search-menu"
>
<div
class=
"bgFill"
:style=
"
{height:ptop}">
</div>
<div
class=
"bgFill"
:style=
"
{height:ptop}">
</div>
<div
class=
"fixBox"
>
<div
class=
"fixBox"
>
<img
@
click=
"goBackHome"
class=
"left-arror"
:style=
"
{top: bPtop}" src="../../images/lecturer/left-arror.png" alt="">
<div
:class=
"isTransparent?'search-transparent':'bgWhite'"
class=
"search"
@
click=
"goSearch"
>
<div
:class=
"isTransparent?'search-transparent':'bgWhite'"
class=
"search"
@
click=
"goSearch"
>
<!--
<img
class=
"search-img-left"
src=
"../../images/search-white.png"
>
-->
<span
class=
"input"
>
{{
placeholder
}}
</span>
<span
class=
"input"
>
{{
placeholder
}}
</span>
<img
class=
"search-img"
src=
"../../images/search-white.png"
>
<img
class=
"search-img"
src=
"../../images/search-white.png"
>
</div>
</div>
...
@@ -21,6 +23,7 @@ export default {
...
@@ -21,6 +23,7 @@ export default {
isTransparent
:
true
,
//更改颜色 背景
isTransparent
:
true
,
//更改颜色 背景
count
:
""
,
count
:
""
,
ptop
:
0
,
ptop
:
0
,
bPtop
:
0
,
menuptop
:
0
,
menuptop
:
0
,
popHeight
:
0
popHeight
:
0
};
};
...
@@ -51,7 +54,7 @@ export default {
...
@@ -51,7 +54,7 @@ export default {
_this
.
popHeight
=
parm
.
statusBarHeight
;
_this
.
popHeight
=
parm
.
statusBarHeight
;
}
}
_this
.
ptop
=
_this
.
popHeight
+
"px"
;
_this
.
ptop
=
_this
.
popHeight
+
"px"
;
_this
.
bPtop
=
_this
.
popHeight
+
2
+
"px"
_this
.
menuptop
=
_this
.
popHeight
+
"px"
;
_this
.
menuptop
=
_this
.
popHeight
+
"px"
;
// alert(parm.statusBarHeight);
// alert(parm.statusBarHeight);
};
};
...
@@ -103,6 +106,11 @@ export default {
...
@@ -103,6 +106,11 @@ export default {
modeCode
:
itemData
.
appModuleInfo
.
code
,
modeCode
:
itemData
.
appModuleInfo
.
code
,
jsonString
:
itemData
.
appModuleInfo
.
paramList
jsonString
:
itemData
.
appModuleInfo
.
paramList
});
});
},
// 返回到首页
goBackHome
()
{
rocNative
.
goBack
()
}
}
}
}
};
};
...
@@ -124,6 +132,7 @@ body {
...
@@ -124,6 +132,7 @@ body {
border
:
1px
solid
rgba
(
255
,
255
,
255
,
1
);
border
:
1px
solid
rgba
(
255
,
255
,
255
,
1
);
color
:
#fff
;
color
:
#fff
;
margin
:
px2rem
(
8px
)
0
0
0
;
margin
:
px2rem
(
8px
)
0
0
0
;
margin-left
:
px2rem
(
20px
);
}
}
.
search-transparent
:
:-
webkit-input-placeholder
{
.
search-transparent
:
:-
webkit-input-placeholder
{
color
:
#fff
;
color
:
#fff
;
...
@@ -223,6 +232,12 @@ body {
...
@@ -223,6 +232,12 @@ body {
margin
:
px2rem
(
8px
)
px2rem
(
10px
)
0
0
;
margin
:
px2rem
(
8px
)
px2rem
(
10px
)
0
0
;
float
:
right
;
float
:
right
;
}
}
.search-img-left
{
width
:
px2rem
(
13px
);
height
:
px2rem
(
13px
);
margin
:
px2rem
(
8px
)
px2rem
(
10px
)
0
0
;
float
:
left
;
}
.info-count
{
.info-count
{
position
:
absolute
;
position
:
absolute
;
...
@@ -299,4 +314,12 @@ body {
...
@@ -299,4 +314,12 @@ body {
height
:
px2rem
(
325px
);
height
:
px2rem
(
325px
);
margin-top
:
px2rem
(
35px
);
margin-top
:
px2rem
(
35px
);
}
}
.left-arror
{
position
:
absolute
;
left
:
px2rem
(
6px
);
top
:
px2rem
(
3px
);
width
:
px2rem
(
25px
);
height
:
px2rem
(
25px
);
margin
:
px2rem
(
8px
)
px2rem
(
12px
);
}
</
style
>
</
style
>
src/images/lecturer/left-arror.png
0 → 100755
浏览文件 @
54b26e76
185 字节
src/views/index.vue
浏览文件 @
54b26e76
...
@@ -158,9 +158,7 @@ export default {
...
@@ -158,9 +158,7 @@ export default {
// 排序
// 排序
orderAction
(
orderName
,
isSortUp
)
{
orderAction
(
orderName
,
isSortUp
)
{
let
orderType
=
isSortUp
?
1
:
-
1
let
orderType
=
isSortUp
?
1
:
-
1
// sortLecturerData()
let
orderData
=
this
.
parmDataDoctList
.
slice
()
let
orderData
=
this
.
parmDataDoctList
.
slice
()
console
.
log
(
'this.orderData'
,
orderData
)
orderData
.
sort
((
a
,
b
)
=>
{
orderData
.
sort
((
a
,
b
)
=>
{
if
(
orderName
===
'doctorFirstNameChar'
)
{
if
(
orderName
===
'doctorFirstNameChar'
)
{
return
(
a
[
orderName
].
charCodeAt
(
0
)
-
b
[
orderName
].
charCodeAt
(
0
))
*
orderType
return
(
a
[
orderName
].
charCodeAt
(
0
)
-
b
[
orderName
].
charCodeAt
(
0
))
*
orderType
...
@@ -184,27 +182,16 @@ export default {
...
@@ -184,27 +182,16 @@ export default {
this
.
selectedLevelName
=
selectedLevelName
this
.
selectedLevelName
=
selectedLevelName
this
.
selectedDepartName
=
selectedDepartName
this
.
selectedDepartName
=
selectedDepartName
},
},
// ...mapActions({
// 选择标题组件
// 'setAdjustList': 'setAdjustList'
// }),
selectedTypeFromTitle
(
index
)
{
selectedTypeFromTitle
(
index
)
{
this
.
selectedTypeIndex
=
index
this
.
selectedTypeIndex
=
index
// commit
this
.
$refs
.
lecturerSelContRef
.
selectedType
(
index
)
this
.
$refs
.
lecturerSelContRef
.
selectedType
(
index
)
this
.
$refs
.
lecturerSelContRef
.
show
()
this
.
$refs
.
lecturerSelContRef
.
show
()
// this.showSelectedPage = true
},
},
selectedType
(
index
)
{
// 请求数据
this
.
selectedTypeIndex
=
index
// this.$emit('selectedType', index)
},
initAll
(){
initAll
(){
this
.
getSwiper
()
this
.
getSwiper
()
this
.
getYqDoctorDataByCD
()
this
.
getYqDoctorDataByCD
()
// this.getAreas()
// this.getLevels()
// this.getDeparts()
},
},
//获取状态栏高度
//获取状态栏高度
...
@@ -212,7 +199,6 @@ export default {
...
@@ -212,7 +199,6 @@ export default {
rocNative
.
getStatusBarHeight
({
rocNative
.
getStatusBarHeight
({
__funcName
:
'__getStatusBarHeight'
__funcName
:
'__getStatusBarHeight'
})
})
},
},
//获取用户信息及版本号等()
//获取用户信息及版本号等()
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录