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
提交
2870e38f
提交
2870e38f
编写于
6月 12, 2024
作者:
jingqi.liu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改样式
上级
ee625d38
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
24 行增加
和
7 行删除
+24
-7
user.js
src/store/modules/user.js
+1
-0
env-config.js
src/utils/env-config.js
+2
-1
index.vue
src/views/coupon-center/index.vue
+1
-1
coupon-item.vue
src/views/coupon/components/coupon-item.vue
+13
-1
coupon-list.vue
src/views/coupon/coupon-list.vue
+7
-4
未找到文件。
src/store/modules/user.js
浏览文件 @
2870e38f
...
...
@@ -10,6 +10,7 @@ wxInfo = wxInfo ? JSON.parse(wxInfo) : {};
const
user
=
{
state
:
{
token
:
localStorage
.
getItem
(
'couponToken'
)
||
getCookie
(
'couponToken'
)
||
''
,
// token:"56659917439B44E891AF0C107E05038D",
info
:
{},
// 用户信息
wxInfo
,
// 微信信息,openid等
wxCode
:
''
,
// 微信code
...
...
src/utils/env-config.js
浏览文件 @
2870e38f
...
...
@@ -49,7 +49,8 @@ export const envConfig = {
// tradeType: 4,
},
dev
:
{
baseUrl
:
"https://dev-sc.yunqueyi.com/"
,
// baseUrl: "https://dev-sc.yunqueyi.com/",
baseUrl
:
'https://test1-sc.yunqueyi.com/'
,
apiUrl
:
"https://dev-api.yunqueyi.com/"
,
webPageUrl
:
"https://dev-phome.yunqueyi.com/"
,
hactiveUrl
:
"https://dev-hactive.yunqueyi.com"
,
...
...
src/views/coupon-center/index.vue
浏览文件 @
2870e38f
...
...
@@ -264,7 +264,7 @@ export default {
}
.page-content {
height: 100%;
padding:
10px
12px 24px;
padding:
0
12px 24px;
}
.list {
padding-bottom: 50px;
...
...
src/views/coupon/components/coupon-item.vue
浏览文件 @
2870e38f
...
...
@@ -53,7 +53,9 @@
</div>
<div
v-if=
"
couponDetail.validLeftDays && couponDetail.validTimeType == 2
couponDetail.validLeftDays > 0 &&
couponDetail.validLeftDays &&
couponDetail.validTimeType == 2
"
:class=
"['right-time', hasUsed ? 'cr-c1c1c1' : '']"
>
...
...
@@ -62,6 +64,16 @@
}}
</span
>
天
</div>
<div
v-if=
"
couponDetail.validLeftDays
<
0
&&
couponDetail
.
validLeftDays
&&
couponDetail
.
validTimeType =
=
2
"
:class=
"['right-time', hasUsed ? 'cr-c1c1c1' : '']"
>
{{
createdDay
(
couponDetail
.
expireTime
)
}}
到期
</div>
<div
v-if=
"couponDetail.validTimeType == 1"
:class=
"['right-validity', hasUsed ? 'cr-c1c1c1' : '']"
...
...
src/views/coupon/coupon-list.vue
浏览文件 @
2870e38f
...
...
@@ -24,7 +24,7 @@
</div>
</CommonNavbar>
<van-pull-refresh
style=
"height: 100%;
overflow:
auto"
style=
"height: 100%;
overflow:
auto"
v-model=
"refreshing"
@
refresh=
"onRefresh"
class=
"refresh-list"
...
...
@@ -40,7 +40,7 @@
<coupo-item
v-for=
"(item, index) in couponList"
:key=
"index"
class=
"item
"
:class=
"['item', index == couponList.length - 1 ? 'pbt-50' : '']
"
:coupon-detail=
"item"
:show-tips
.
sync=
"item.showTips"
@
goUse=
"chooseCoupon"
...
...
@@ -253,11 +253,14 @@ export default {
}
.page-content {
height: 100%;
padding:
10px
12px 24px;
padding:
0
12px 24px;
}
.list {
padding-bottom: 50px;
//
padding-bottom: 50px;
height: calc(100vh);
}
.pbt-50 {
padding-bottom: 50px;
}
}
</
style
>
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录