Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
f3ae885d
提交
f3ae885d
编写于
11月 13, 2018
作者:
chendeli
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add
上级
f6d76630
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
36 行增加
和
22 行删除
+36
-22
index.js
config/index.js
+1
-1
yqy-category-three-1.vue
src/components/business-new/yqy-category-three-1.vue
+1
-1
yqy-teacher-list.vue
src/components/business-new/yqy-teacher-list.vue
+2
-1
home-new.vue
src/views/home/home-new.vue
+27
-14
detail.vue
src/views/teachers/detail.vue
+3
-3
index.vue
src/views/teachers/index.vue
+2
-2
未找到文件。
config/index.js
浏览文件 @
f3ae885d
...
...
@@ -21,7 +21,7 @@ module.exports = {
env
:
{
NODE_ENV
:
'"development"'
},
port
:
9002
,
port
:
8000
,
assetsSubDirectory
:
'static'
,
assetsPublicPath
:
'/'
,
// proxyTable: {
...
...
src/components/business-new/yqy-category-three-1.vue
浏览文件 @
f3ae885d
...
...
@@ -139,7 +139,7 @@ export default {
.holder-img
{
margin-top
:px2rem
(
15px
)
;
width
:
100%
;
height
:
px2rem
(
65
px
);
height
:
px2rem
(
252
px
);
border-radius
:
px2rem
(
3px
);
img
{
border-radius
:
px2rem
(
3px
);
...
...
src/components/business-new/yqy-teacher-list.vue
浏览文件 @
f3ae885d
...
...
@@ -128,11 +128,12 @@ export default {
}
},
getData
(){
//alert("最新课程");
let
_this
=
this
,
parm
=
{
pageNo
:
_this
.
pageNo
,
pageSize
:
_this
.
pageSize
,
token
:
'EA67293E35C249C1832583F7AD2669EC'
,
token
:
_this
.
userToken
,
setEntry
:
'headers'
}
_this
.
GET
(
'/contents/HomeNewCourse/NewCourseInformation'
,
parm
).
then
(
function
(
res
){
...
...
src/views/home/home-new.vue
浏览文件 @
f3ae885d
...
...
@@ -102,7 +102,8 @@ export default {
userToken
:
''
,
searchFix
:
false
,
statusBarHeight
:
20
,
userMobile
:
''
userMobile
:
''
,
userToken
:
''
}
},
components
:{
...
...
@@ -128,13 +129,17 @@ export default {
}
window
.
__getUserInfo
=
function
(
parm
){
_this
.
systemType
=
parm
.
systemType
;
_this
.
appVersion
=
parm
.
appVersion
;
_this
.
token
=
parm
.
userToken
;
_this
.
userToken
=
parm
.
userToken
;
_this
.
userMobile
=
parm
.
userMobile
;
_this
.
getSwiper
(
_this
.
appVersion
,
_this
.
systemType
);
}
//
_this.token = 'AF22B142535B440883135309BBF3F3B0'
//
_this.token = 'AF22B142535B440883135309BBF3F3B0'
this
.
getUserInfo
();
window
.
__getStatusBarHeight
=
function
(
parm
){
...
...
@@ -143,23 +148,31 @@ export default {
},
watch
:{
userToken
:
function
(
n
){
if
(
n
!=
''
){
alert
(
"000"
);
}
}
},
mounted
(){
//alert(this.token);
if
(
this
.
token
!=
null
){
this
.
getStatusHight
();
this
.
getUpdateData
();
this
.
getMiddel
();
if
(
!!
this
.
systemType
&&
!!
this
.
appVersion
){
this
.
getSwiper
();
}
//
if(!!this.systemType && !!this.appVersion){
//
this.getSwiper();
//
}
window
.
addEventListener
(
'scroll'
,
this
.
scrollFun
);
}
//
this.getSwiper();
//
this.getSwiper();
},
beforeDestroyed
(){
...
...
@@ -174,7 +187,7 @@ export default {
rocNative
.
setTabMiniIcon
({
tabIndex
:
3
,
iconTitle
:
'学习评价'
,
iconColor
:
'
#6c6c6c
'
,
iconColor
:
''
,
isSet
:
true
})
...
...
@@ -359,14 +372,14 @@ export default {
},
//获取轮播图数据
getSwiper
(){
getSwiper
(
appVersion
,
systemType
){
// let version = '3.7.3',
// systemType = 3
,
// systemType = 3
;
// token = '364ED1F1C8064CEBABF745CFFFDE18CF'
let
_this
=
this
,
para
=
{
version
:
_this
.
appVersion
,
systemType
:
_this
.
systemType
,
version
:
appVersion
,
systemType
:
systemType
,
token
:
_this
.
token
,
data
:{
setEntry
:
'headers'
...
...
@@ -375,7 +388,7 @@ export default {
// para = {
// version:version,
// systemType:systemType,
// token:token,
// token:
_this.
token,
// //setEntry: 'headers',
// data:{
// setEntry: 'headers'
...
...
src/views/teachers/detail.vue
浏览文件 @
f3ae885d
...
...
@@ -9,7 +9,7 @@
</div>
<p
class=
"detail-name"
>
{{
doctorParm
.
doctor
.
name
}}
</p>
<p
class=
"detail-intr"
>
{{
doctorParm
.
doctor
.
title
}}
{{
doctorParm
.
doctor
.
hospital
}}
{{
doctorParm
.
doctor
.
title
}}
</p>
<div
class=
"detail-info"
>
<div
class=
"info-item"
>
...
...
@@ -267,8 +267,8 @@ body{background: #fff}
text-align
:
center
;
img
{
width
:
px2rem
(
35px
);
height
:
px2rem
(
3
8
px
);
margin-top
:px2rem
(
5
px
)
;
height
:
px2rem
(
3
5
px
);
margin-top
:px2rem
(
9
px
)
;
border-radius
:
50%
;
}
}
...
...
src/views/teachers/index.vue
浏览文件 @
f3ae885d
...
...
@@ -5,8 +5,8 @@
<div
class=
"teach-title"
>
讲师名录
</div>
<div
class=
"opt-span"
>
<span
class=
""
@
click=
"sortFun"
>
人气
<img
src=
"../../images/sort-
d
.png"
v-if=
"dir == 1"
>
<img
src=
"../../images/sort-
u
.png"
v-if=
"dir == 2"
>
<img
src=
"../../images/sort-
u
.png"
v-if=
"dir == 1"
>
<img
src=
"../../images/sort-
d
.png"
v-if=
"dir == 2"
>
</span>
</div>
<div
class=
"teach-list"
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录