Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Culm
pica-professional-exam
提交
2a493ba3
提交
2a493ba3
编写于
5月 14, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
定位问题等
上级
a8dc1879
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
3 行增加
和
82 行删除
+3
-82
merge-detail.vue
src/views/merge-detail.vue
+3
-82
未找到文件。
src/views/merge-detail.vue
浏览文件 @
2a493ba3
...
@@ -362,7 +362,7 @@ export default {
...
@@ -362,7 +362,7 @@ export default {
this
.
fixedFlag
=
scrollTop
>
200
?
true
:
false
;
this
.
fixedFlag
=
scrollTop
>
200
?
true
:
false
;
}
else
{
}
else
{
h
=
catalogue
.
offsetTop
-
600
;
h
=
catalogue
.
offsetTop
-
600
;
this
.
fixedFlag
=
scrollTop
>
3
6
0
?
true
:
false
;
this
.
fixedFlag
=
scrollTop
>
3
0
0
?
true
:
false
;
}
}
this
.
tabFlag
=
scrollTop
>
h
?
false
:
true
;
this
.
tabFlag
=
scrollTop
>
h
?
false
:
true
;
},
},
...
@@ -459,7 +459,8 @@ export default {
...
@@ -459,7 +459,8 @@ export default {
if
(
this
.
isWeb
)
{
if
(
this
.
isWeb
)
{
h
=
intro
.
offsetTop
-
title
.
offsetHeight
;
h
=
intro
.
offsetTop
-
title
.
offsetHeight
;
}
else
{
}
else
{
h
=
intro
.
offsetTop
-
75
-
title
.
offsetHeight
;
h
=
intro
.
offsetTop
-
85
-
title
.
offsetHeight
;
// h = intro.offsetTop - 75 - title.offsetHeight;
}
}
window
.
scrollTo
(
0
,
h
);
window
.
scrollTo
(
0
,
h
);
this
.
isBlack
=
true
;
this
.
isBlack
=
true
;
...
@@ -636,86 +637,6 @@ export default {
...
@@ -636,86 +637,6 @@ export default {
return
1
;
return
1
;
}
}
}
}
// 获取单个模块信息
// getComponentInfoById(componentId) {
// let _this = this;
// let param = {
// componentId: componentId,
// token: _this.userInfo.userToken,
// setEntry: true
// };
// this.GET("portal/portalApp/component", param).then(res => {
// if (res.code == "000000") {
// _this.attachmentUrl = res.data.imageUrl;
// _this.projectIntro = res.data.introduce;
// _this.projectName = res.data.name;
// }
// });
// },
// 获取单个项目信息
// getCoopInfo(projectId) {
// let _this = this;
// let param = {
// portalProjectId: projectId,
// token: _this.userInfo.userToken,
// setEntry: true
// };
// this.GET("portal/portalApp/queryProjectParticulars", param).then(res => {
// if (res.code == "000000") {
// // 先设置视频URL再显示视频组件 ------------ BEGIN
// if (res.data.attachmentType == 2) {
// _this.videoOptions.mp4 = res.data.attachmentUrl;
// } else {
// _this.attachmentUrl = res.data.attachmentUrl;
// }
// _this.bannerType = res.data.attachmentType;
// if(_this.bannerType == 2) {
// _this.clientType = __isWeb ? 1 : __isAndroid ? 2 : 3;
// }
// // 先设置视频URL再显示视频组件 ------------ END
// _this.projectIntro = res.data.projectIntro;
// _this.projectName = res.data.projectName;
// _this.pStatus = res.data.status;
// }
// });
// },
// setContent(data) {
// let list = data;
// for(let i=0;i
<
list
.
length
;
i
++
)
{
// let len = vueFilters.strLength(list[i].name);
// let certificate = list[i].certificateFlag;
// if(len > 30 && certificate == 2) {
// list[i].height = "2";
// } else if (len > 30 && certificate != 2) {
// list[i].height = 2;
// } else if (len
<=
30
&&
certificate
==
2
)
{
// list[i].height = "1";
// } else if(len
<=
30
&&
certificate
!=
2
)
{
// list[i].height = 1;
// }
// }
// console.log('contentList!',list);
// return list;
// },
// 获取内容列表
// getContentList(moduleId) {
// let _this = this;
// let param = {
// moduleId: _this.moduleId,
// token: _this.userInfo.userToken,
// setEntry: true,
// projectId: _this.projectId,
// };
// _this.showLoading = true;
// this.GET("portal/portalApp/contentList", param).then(res => {
// // _this.showLoading = false;
// if (res.code == "000000") {
// _this.contentList = _this.setContent(res.data.contentList);
// }
// });
// },
}
}
};
};
</
script
>
</
script
>
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录