Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-professional-exam
提交
e361e44d
提交
e361e44d
编写于
6月 05, 2024
作者:
jingqi.liu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改样式
上级
a95c3d5c
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
28 行增加
和
8 行删除
+28
-8
common-navbar.vue
src/components/common/common-navbar.vue
+16
-5
index.vue
src/views/coupon-center/index.vue
+11
-2
coupon-list.vue
src/views/coupon/coupon-list.vue
+1
-1
未找到文件。
src/components/common/common-navbar.vue
浏览文件 @
e361e44d
<
template
>
<
template
>
<section
v-if=
"!isWeb"
:class=
"isFixNavbar ? 'nav-top fixed' : 'nav-top'"
:style=
"'height:' + navHeight"
>
<!-- v-if="!isWeb" -->
<section
:class=
"isFixNavbar ? 'nav-top fixed' : 'nav-top'"
:style=
"'height:' + navHeight"
>
<div
<div
class=
"nav-part"
class=
"nav-part"
:style=
"'background:' + bgColor + ';'
:style=
"'background:' + bgColor + ';'
...
@@ -105,7 +106,12 @@ export default {
...
@@ -105,7 +106,12 @@ export default {
isInMergeDetail
:
{
isInMergeDetail
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
true
default
:
true
},
isCustomBack
:
{
type
:
Boolean
,
default
:
false
}
}
},
},
computed
:
{
computed
:
{
...
mapGetters
([
"userInfo"
]),
...
mapGetters
([
"userInfo"
]),
...
@@ -129,11 +135,16 @@ export default {
...
@@ -129,11 +135,16 @@ export default {
methods
:
{
methods
:
{
//返回
//返回
goBack
()
{
goBack
()
{
if
(
this
.
isWeb
)
{
if
(
this
.
isCustomBack
){
window
.
history
.
back
();
this
.
$emit
(
"customBack"
);
}
else
{
}
else
{
rocNative
.
goBack
();
if
(
this
.
isWeb
)
{
window
.
history
.
back
();
}
else
{
rocNative
.
goBack
();
}
}
}
},
},
// 生成分享的url
// 生成分享的url
...
...
src/views/coupon-center/index.vue
浏览文件 @
e361e44d
<
template
>
<
template
>
<section
class=
"coupon-list-wrapper"
:class=
"
{ 'no-pt': isWeb,'pt-88':isWeb }">
<section
class=
"coupon-list-wrapper"
:class=
"
{ 'no-pt': isWeb, 'pt-88': isWeb }"
>
<div
class=
"page-wrapper"
>
<div
class=
"page-wrapper"
>
<!--
<common-header
<!--
<common-header
:bg-color=
"bgColor"
:bg-color=
"bgColor"
...
@@ -17,6 +20,8 @@
...
@@ -17,6 +20,8 @@
:title=
"navTitle"
:title=
"navTitle"
:isFixNavbar=
"isFixNavbar"
:isFixNavbar=
"isFixNavbar"
:isInMergeDetail=
"isInMergeDetail"
:isInMergeDetail=
"isInMergeDetail"
:isCustomBack=
"true"
@
customBack=
"goBack"
>
>
</CommonNavbar>
</CommonNavbar>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
...
@@ -179,6 +184,10 @@ export default {
...
@@ -179,6 +184,10 @@ export default {
console
.
log
(
this
.
show
,
item
);
console
.
log
(
this
.
show
,
item
);
},
},
close
()
{},
close
()
{},
goBack
()
{
console
.
log
(
'back'
)
window
.
history
.
back
();
},
},
},
};
};
</
script
>
</
script
>
...
@@ -194,7 +203,7 @@ export default {
...
@@ -194,7 +203,7 @@ export default {
}
}
}
}
.page-wrapper {
.page-wrapper {
padding-top:
6
4px;
padding-top:
7
4px;
height: auto;
height: auto;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
...
...
src/views/coupon/coupon-list.vue
浏览文件 @
e361e44d
...
@@ -225,7 +225,7 @@ export default {
...
@@ -225,7 +225,7 @@ export default {
}
}
}
}
.page-wrapper {
.page-wrapper {
padding-top: 1
1
4px;
padding-top: 1
2
4px;
height: 100vh;
height: 100vh;
background-color: #f5f6f8;
background-color: #f5f6f8;
display: flex;
display: flex;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录