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
提交
f6d76630
提交
f6d76630
编写于
11月 13, 2018
作者:
chendeli
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add
上级
d64afe85
变更
8
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
62 行增加
和
43 行删除
+62
-43
yqy-adjust.vue
src/components/business-new/yqy-adjust.vue
+24
-30
yqy-category-three-1.vue
src/components/business-new/yqy-category-three-1.vue
+7
-1
yqy-five-minutes.vue
src/components/business-new/yqy-five-minutes.vue
+1
-0
yqy-home-adv.vue
src/components/business-new/yqy-home-adv.vue
+4
-4
yqy-home-learn-evaluation.vue
src/components/business-new/yqy-home-learn-evaluation.vue
+4
-0
topNav.vue
src/components/common/topNav.vue
+1
-1
mixins.js
src/utils/mixins.js
+9
-3
activity.vue
src/views/activity/activity.vue
+12
-4
未找到文件。
src/components/business-new/yqy-adjust.vue
浏览文件 @
f6d76630
...
...
@@ -3,12 +3,8 @@
<div
:class=
"isFixed ? 'cource-header fixed' : 'cource-header'"
:style=
"
{paddingTop:ptop,height:menuHeight}">
<div
class=
"font-title"
:style=
"
{top:isFixed?ptop:'0'}">
{{
title
}}
<div
class=
"change-part gray"
@
click=
"changeFun"
>
换一批
<img
src=
"../../images/change.png"
/>
</div>
</div>
</div>
<div>
...
...
@@ -50,6 +46,7 @@ export default {
return
{
list
:[],
pageNo
:
1
,
isDisabled
:
false
,
pageSize
:
10
,
title
:
'为您推荐'
,
isCollected
:
''
,
...
...
@@ -57,7 +54,7 @@ export default {
loading
:
true
,
//是否滚动加载
isLoading
:
false
,
//加载中
noMore
:
false
,
clientHeight
:
0
,
clientHeight
:
'auto'
,
isShowLoading
:
true
,
menuHeight
:
0
,
ptop
:
0
,
...
...
@@ -138,19 +135,20 @@ export default {
actionCode
:
'c_change'
,
})
this
.
clientHeight
=
document
.
documentElement
.
clientHeight
+
'px'
;
document
.
documentElement
.
scrollTop
=
document
.
documentElement
.
scrollTop
-
20
;
document
.
body
.
scrollTop
=
document
.
body
.
scrollTop
-
20
;
// this.clientHeight = document.documentElement.clientHeight+'px';
// document.documentElement.scrollTop = document.documentElement.scrollTop - 100;
// document.body.scrollTop = document.body.scrollTop - 100;
//console.log(document.documentElement.scrollTop);
this
.
loading
=
true
;
this
.
noMore
=
false
;
this
.
pageNo
++
;
this
.
list
=
[];
this
.
getData
();
this
.
getData
(
"change"
);
},
//滑动加载更多
loadMore
(){
let
_this
=
this
;
if
(
!
_this
.
noMore
){
_this
.
pageNo
+=
1
;
...
...
@@ -216,34 +214,30 @@ export default {
setEntry
:
'headers'
}
_this
.
GET
(
'contents/courses/recommendCourseList'
,
parm
).
then
(
function
(
res
){
if
(
res
.
code
===
'000000'
){
if
(
type
==
'loadMore'
){
if
(
res
.
data
==
null
||
!
res
.
data
){
res
.
data
=
[];
_this
.
isLoading
=
false
;
_this
.
noMore
=
true
;
_this
.
loading
=
true
;
}
else
{
_this
.
isLoading
=
true
;
_this
.
noMore
=
false
;
_this
.
loading
=
false
;
}
if
(
type
==
'loadMore'
){
_this
.
list
=
[...
_this
.
list
,...
res
.
data
];
_this
.
list
=
[...
_this
.
list
,...
res
.
data
]
||
[];
}
else
{
_this
.
noMore
=
false
;
_this
.
isLoading
=
false
;
_this
.
list
=
res
.
data
||
[];
}
}
else
{
_this
.
isLoading
=
false
;
_this
.
noMore
=
false
;
_this
.
loading
=
false
;
}
_this
.
clientHeight
=
'auto'
///
_this.clientHeight = 'auto'
_this
.
isLoading
=
false
;
_this
.
loading
=
false
;
},
function
(){
_this
.
isLoading
=
false
;
_this
.
noMore
=
false
;
...
...
@@ -273,7 +267,7 @@ export default {
padding
:
0
px2rem
(
15px
);
}
.cource-header
{
margin
:
0
0
px2rem
(
11px
)
0
;
/* margin: 0 0 px2rem(11px) 0;*/
overflow
:
hidden
;
.font-title
{
...
...
src/components/business-new/yqy-category-three-1.vue
浏览文件 @
f6d76630
...
...
@@ -112,11 +112,13 @@ export default {
.category-left
{
width
:
px2rem
(
170px
);
height
:
px2rem
(
195px
);
border-radius
:
px2rem
(
3px
);
}
.category-img
{
width
:
100%
;
height
:
100%
;
display
:
block
;
border-radius
:
px2rem
(
3px
);
}
.mt5
{
margin-top
:
px2rem
(
5px
);
...
...
@@ -128,6 +130,7 @@ export default {
.right-img
{
width
:
px2rem
(
170px
);
height
:
px2rem
(
95px
);
border-radius
:
px2rem
(
3px
);
}
}
...
...
@@ -137,7 +140,10 @@ export default {
margin-top
:px2rem
(
15px
)
;
width
:
100%
;
height
:
px2rem
(
65px
);
border-radius
:
px2rem
(
3px
);
img
{
border-radius
:
px2rem
(
3px
);
}
}
}
</
style
>
src/components/business-new/yqy-five-minutes.vue
浏览文件 @
f6d76630
...
...
@@ -268,6 +268,7 @@ export default {
width
:
100%
;
height
:
100%
;
display
:
inline-block
;
border-radius
:
px2rem
(
3px
);
}
}
.five-text
{
...
...
src/components/business-new/yqy-home-adv.vue
浏览文件 @
f6d76630
...
...
@@ -203,12 +203,12 @@ export default {
width
:
px2rem
(
50px
);
height
:
px2rem
(
50px
);
border-radius
:
50%
;
text-align
:
center
;
}
.tea-itemimg
{
width
:
px2rem
(
39
px
);
height
:
px2rem
(
4
4
px
);
margin-top
:
px2rem
(
6
px
);
width
:
px2rem
(
45
px
);
height
:
px2rem
(
4
5
px
);
margin-top
:
px2rem
(
5
px
);
border-radius
:
50%
;
}
.tea-itemname
{
...
...
src/components/business-new/yqy-home-learn-evaluation.vue
浏览文件 @
f6d76630
...
...
@@ -109,6 +109,10 @@ export default {
_this
.
$emit
(
'evluatFun'
,{
isPull
:
isPullIndex
});
}
// _this.isShow = _this.parmObj.showFlag;
// let isPullIndex = _this.isShow ? '1' : '2';
// _this.$emit('evluatFun',{isPull:isPullIndex});
}
else
{
///alert(res.message);
...
...
src/components/common/topNav.vue
浏览文件 @
f6d76630
...
...
@@ -33,7 +33,7 @@
},
title
:{
//标题
type
:
String
,
default
:
''
default
:
'
暂无数据
'
},
isNavFix
:{
//是否fix定位
type
:
Boolean
,
...
...
src/utils/mixins.js
浏览文件 @
f6d76630
...
...
@@ -92,9 +92,15 @@ module.exports = {
paramList
=
''
}
else
if
(
modeCode
===
'M100'
||
modeCode
===
'M300'
)
{
let
urlPara
=
this
.
getUrlParmByCode
(
paramList
)
let
urlPara
=
this
.
getUrlParmByCode
(
paramList
);
// paramList[0].value += urlPara;
paramList
[
0
]
&&
(
paramList
[
0
].
value
+=
urlPara
);
if
(
paramList
[
0
]){
if
(
paramList
[
0
].
value
.
indexOf
(
"?"
)
==
-
1
){
paramList
[
0
].
value
+=
urlPara
}
}
// paramList[0] && (paramList[0].value += urlPara);
}
else
if
(
modeCode
===
'M400'
)
{
...
...
@@ -112,7 +118,7 @@ module.exports = {
if
(
typeof
paramList
===
'string'
&&
!
paramList
){
paramList
=
[]
}
console
.
log
(
paramList
);
return
paramList
;
},
...
...
src/views/activity/activity.vue
浏览文件 @
f6d76630
...
...
@@ -8,6 +8,9 @@
<img
:src=
"item.imageUrl"
class=
"img"
/>
<!--
<div
class=
"time"
>
活动时间:9月3日-9月9日
</div>
-->
</div>
<div
class=
"no-show"
>
暂无数据
</div>
</div>
<BackTop
v-if=
"isShowBackTop"
:burialPoint=
"pointStyle"
></BackTop>
</section>
...
...
@@ -25,7 +28,7 @@ export default {
tittle
:
''
,
list
:[],
bgColor
:
'#fff'
,
navTitle
:
''
,
navTitle
:
'
活动
'
,
isBorder
:
true
,
isNavFix
:
true
,
id
:
'1'
,
...
...
@@ -47,8 +50,8 @@ export default {
_this
.
token
=
parm
.
userToken
;
}
//_this.token = 'AF22B142535B440883135309BBF3F3B0'
this
.
getBaseInfo
();
},
watch
:{
...
...
@@ -158,6 +161,11 @@ export default {
padding
:
px2rem
(
15px
);
background
:
#fff
;
}
.no-show
{
font-size
:
px2rem
(
15px
);
color
:
#999
;
text-align
:
center
;
}
.activity-count
{
color
:
#999
;
font-size
:
px2rem
(
15px
);
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录