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

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

上级 ca202b9c
<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;
......
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论