Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-marketing
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-marketing
Commits
9ee14d61
提交
9ee14d61
authored
8月 19, 2021
作者:
pengxiaohui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 创建活动签到时间更新bug [2138]
上级
ca202b9c
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
25 行增加
和
5 行删除
+25
-5
Preview.vue
src/modules/tools/signIn/views/Preview.vue
+22
-5
ActivityForm.vue
src/modules/tools/signIn/views/components/ActivityForm.vue
+3
-0
没有找到文件。
src/modules/tools/signIn/views/Preview.vue
浏览文件 @
9ee14d61
<
template
>
<div
class=
"preview"
>
<div
class=
"mobile"
ref=
"mobile"
>
<div
class=
"content"
>
<div
class=
"mobile"
ref=
"mobile"
@
click=
"showPopup = false"
>
<div
class=
"btn"
@
click
.
stop=
"showPopup = true"
>
<img
src=
"https://webapp-pub.ezijing.com/marketing/detail.png"
>
</div>
<div
class=
"content"
v-show=
"showPopup"
@
click
.
stop
>
<img
v-if=
"details.market_background_img"
:src=
"details.market_background_img"
>
<h5>
签到成功
</h5>
<p>
此处显示签到备注文字
</p>
...
...
@@ -17,7 +20,8 @@ import { getActivityDetails } from '../api'
export
default
{
data
()
{
return
{
details
:
{}
details
:
{},
showPopup
:
true
}
},
computed
:
{
...
...
@@ -40,7 +44,8 @@ export default {
},
goBack
()
{
this
.
$router
.
go
(
-
1
)
}
},
handleClose
()
{}
}
}
</
script
>
...
...
@@ -54,13 +59,25 @@ export default {
.mobile
{
width
:
320px
;
height
:
500px
;
background
:
#eee
;
background
:
url('https://webapp-pub.ezijing.com/upload/marketing-admin/7AE1354D-F9FA-4FBC-A1D0-1E88984CDEFD.png')
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
margin
:
0
auto
;
border-radius
:
6px
;
padding-top
:
100px
;
border
:
1px
solid
#f1f1f1
;
position
:
relative
;
}
.mobile
.btn
{
width
:
40px
;
height
:
40px
;
position
:
absolute
;
right
:
20px
;
top
:
30px
;
}
.mobile
.btn
img
{
width
:
100%
;
height
:
100%
;
}
.content
{
margin
:
0
20px
;
...
...
src/modules/tools/signIn/views/components/ActivityForm.vue
浏览文件 @
9ee14d61
...
...
@@ -181,6 +181,9 @@ export default {
if
(
params
.
signin_time
)
{
params
.
sign_start_time
=
this
.
form
.
signin_time
[
0
]
params
.
sign_end_time
=
this
.
form
.
signin_time
[
1
]
}
else
{
params
.
sign_start_time
=
''
params
.
sign_end_time
=
''
}
delete
params
.
signin_time
return
params
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论