Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Culm
pica-professional-exam
提交
00bea2a5
提交
00bea2a5
编写于
7月 01, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
广告位显示问题
上级
98068f4f
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
25 行增加
和
5 行删除
+25
-5
cell-list-detail.vue
src/components/business/cell-list-detail.vue
+2
-2
common-advert-img.vue
src/components/common/common-advert-img.vue
+8
-1
merge-detail.vue
src/views/merge-detail.vue
+15
-2
未找到文件。
src/components/business/cell-list-detail.vue
浏览文件 @
00bea2a5
...
...
@@ -64,8 +64,8 @@
<!--
<div
v-if=
"index+1
<
projectComponent
.
length
"
class=
"line-component"
></div>
-->
</div>
<!--
<NoMoreContent
v-if=
"detailNum > 9"
/>
-->
<NoMoreContent
/>
<div
v-if=
"detailNum
<
=
9
"
class=
"no-more-bottom"
></div>
<
!--
<
NoMoreContent
/>
<div
v-if=
"detailNum
<
=
9
"
class=
"no-more-bottom"
></div>
-->
<van-dialog
v-model=
"dialogState"
title=
"标题"
...
...
src/components/common/common-advert-img.vue
浏览文件 @
00bea2a5
<
template
>
<div
class=
"common-adert-wrapper"
>
<img
@
click=
"jumpPage"
:src=
"showInfo.imageUrl"
alt=
""
>
<img
:class=
"
{'margin-top-20': needPadTop}" v-if="showInfo.imageUrl"
@click="jumpPage" :src="showInfo.imageUrl" alt="">
</div>
</
template
>
<
script
>
...
...
@@ -23,6 +23,10 @@ export default {
position
:
{
type
:
String
|
Number
,
default
:
0
},
needPadTop
:
{
type
:
Boolean
,
default
:
false
}
},
watch
:
{
...
...
@@ -71,5 +75,8 @@ export default {
width
:
100%
;
height
:
px2rem
(
60px
);
}
.margin-top-20
{
margin-top
:
px2rem
(
20px
);
}
}
</
style
>
src/views/merge-detail.vue
浏览文件 @
00bea2a5
...
...
@@ -94,10 +94,16 @@
/>
</div>
</div>
<CommonAdertImg
needPadTop
:advertInfoList=
"advertInfoList"
position=
"1"
/>
<NoMoreContent
/>
<div
v-if=
"detailNum
<
=
9
"
class=
"no-more-bottom"
></div>
</div>
<!-- 弹框 -->
<CommonDialog
...
...
@@ -149,6 +155,7 @@ import TeacterIntro from "@/components/cme/teacter-intro";
import
CommonDialog
from
"@/components/cme/common-dialog"
;
import
ExjumperDialog
from
"@/components/cme/exjumper-dialog"
;
import
ExjumperButton
from
"@/components/cme/exjumper-button"
;
import
NoMoreContent
from
"@/components/business/no-more-content"
;
import
{
getWebPageUrl
,
gotoPage
}
from
"@/utils/index"
;
import
{
mapGetters
,
mapActions
}
from
"vuex"
;
...
...
@@ -270,7 +277,8 @@ export default {
ExjumperButton
,
ExjumperDialog
,
CardPopup
,
CommonAdertImg
CommonAdertImg
,
NoMoreContent
},
computed
:
{
...
...
@@ -339,7 +347,7 @@ export default {
};
this
.
GET
(
`portal/jump/
${
this
.
projectId
}
/1`
,
param
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
this
.
advertInfoList
=
res
.
data
||
[];
this
.
advertInfoList
=
res
.
data
&&
res
.
data
.
list
||
[];
console
.
log
(
'advertInfoList'
,
this
.
advertInfoList
);
}
});
...
...
@@ -989,4 +997,9 @@ export default {
}
}
}
.no-more-bottom
{
position
:
relative
;
width
:
100%
;
height
:
px2rem
(
40px
);
}
</
style
>
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录