提交 9ee14d61 authored 作者: pengxiaohui's avatar pengxiaohui

fix: 创建活动签到时间更新bug [2138]

上级 ca202b9c
<template> <template>
<div class="preview"> <div class="preview">
<div class="mobile" ref="mobile"> <div class="mobile" ref="mobile" @click="showPopup = false">
<div class="content"> <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"> <img v-if="details.market_background_img" :src="details.market_background_img">
<h5>签到成功</h5> <h5>签到成功</h5>
<p>此处显示签到备注文字</p> <p>此处显示签到备注文字</p>
...@@ -17,7 +20,8 @@ import { getActivityDetails } from '../api' ...@@ -17,7 +20,8 @@ import { getActivityDetails } from '../api'
export default { export default {
data() { data() {
return { return {
details: {} details: {},
showPopup: true
} }
}, },
computed: { computed: {
...@@ -40,7 +44,8 @@ export default { ...@@ -40,7 +44,8 @@ export default {
}, },
goBack() { goBack() {
this.$router.go(-1) this.$router.go(-1)
} },
handleClose() {}
} }
} }
</script> </script>
...@@ -54,13 +59,25 @@ export default { ...@@ -54,13 +59,25 @@ export default {
.mobile{ .mobile{
width:320px; width:320px;
height:500px; 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-size:100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
margin:0 auto; margin:0 auto;
border-radius:6px; border-radius:6px;
padding-top:100px; padding-top:100px;
border:1px solid #f1f1f1; 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{ .content{
margin:0 20px; margin:0 20px;
......
...@@ -181,6 +181,9 @@ export default { ...@@ -181,6 +181,9 @@ export default {
if (params.signin_time) { if (params.signin_time) {
params.sign_start_time = this.form.signin_time[0] params.sign_start_time = this.form.signin_time[0]
params.sign_end_time = this.form.signin_time[1] params.sign_end_time = this.form.signin_time[1]
} else {
params.sign_start_time = ''
params.sign_end_time = ''
} }
delete params.signin_time delete params.signin_time
return params return params
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论