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
提交
8fe295e9
提交
8fe295e9
编写于
6月 05, 2024
作者:
jingqi.liu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改样式
上级
91f0ea4e
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
13 行增加
和
9 行删除
+13
-9
common-navbar.vue
src/components/common/common-navbar.vue
+1
-2
index.vue
src/views/coupon-center/index.vue
+4
-2
empty.vue
src/views/coupon/components/empty.vue
+1
-1
coupon-list.vue
src/views/coupon/coupon-list.vue
+7
-4
未找到文件。
src/components/common/common-navbar.vue
浏览文件 @
8fe295e9
<
template
>
<
template
>
<!-- v-if="!isWeb" -->
<section
v-if=
"!isWeb"
:class=
"isFixNavbar ? 'nav-top fixed' : 'nav-top'"
:style=
"'height:' + navHeight"
>
<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 + ';'
...
...
src/views/coupon-center/index.vue
浏览文件 @
8fe295e9
<
template
>
<
template
>
<section
class=
"coupon-list-wrapper"
:class=
"
{ 'no-pt': 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"
...
@@ -183,8 +183,10 @@ export default {
...
@@ -183,8 +183,10 @@ export default {
};
};
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.
coupon-list-wrapper
{
.
pt-88
{
padding-top: 88px;
padding-top: 88px;
}
.coupon-list-wrapper {
min-height: 100vh;
min-height: 100vh;
background: #f8f9fa;
background: #f8f9fa;
&.no-pt {
&.no-pt {
...
...
src/views/coupon/components/empty.vue
浏览文件 @
8fe295e9
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.empty {
.empty {
text-align: center;
text-align: center;
margin-top:
300px
;
margin-top:
40%
;
height: 100%;
height: 100%;
&-image {
&-image {
width: 218px;
width: 218px;
...
...
src/views/coupon/coupon-list.vue
浏览文件 @
8fe295e9
<
template
>
<
template
>
<section
class=
"coupon-list-wrapper"
:class=
"
{ 'no-pt': 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"
...
@@ -156,10 +156,10 @@ export default {
...
@@ -156,10 +156,10 @@ export default {
this
.
$store
.
dispatch
(
"setToken"
,
this
.
token
);
this
.
$store
.
dispatch
(
"setToken"
,
this
.
token
);
// this.$store.dispatch("getUserInfo");
// this.$store.dispatch("getUserInfo");
});
});
}
}
// 从登陆页面过来的
// 从登陆页面过来的
this
.
getMyCouponsList
();
this
.
getMyCouponsList
();
}
else
{
}
else
{
this
.
getUserInfo
();
this
.
getUserInfo
();
}
}
},
},
...
@@ -199,6 +199,7 @@ export default {
...
@@ -199,6 +199,7 @@ export default {
},
},
chooseCoupon
(
item
)
{
chooseCoupon
(
item
)
{
if
(
item
.
couponStatus
===
1
)
{
if
(
item
.
couponStatus
===
1
)
{
rocNative
.
goBack
();
// uni.switchTab({
// uni.switchTab({
// url: '/pages/home/index',
// url: '/pages/home/index',
// });
// });
...
@@ -208,8 +209,10 @@ export default {
...
@@ -208,8 +209,10 @@ export default {
};
};
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.
coupon-list-wrapper
{
.
pt-88
{
padding-top: 88px;
padding-top: 88px;
}
.coupon-list-wrapper {
min-height: 100vh;
min-height: 100vh;
background: #f8f9fa;
background: #f8f9fa;
&.no-pt {
&.no-pt {
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录