Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-marketing
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-marketing
Commits
8a8c6f71
提交
8a8c6f71
authored
8月 19, 2021
作者:
pengxiaohui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 修复点击活动标题跳转预览页bug [2129];修复bug [2134]
上级
3505da03
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
25 行增加
和
10 行删除
+25
-10
List.vue
src/modules/tools/signIn/views/List.vue
+6
-1
Preview.vue
src/modules/tools/signIn/views/Preview.vue
+18
-7
ActivityForm.vue
src/modules/tools/signIn/views/components/ActivityForm.vue
+0
-1
PersonList.vue
src/modules/tools/signIn/views/components/PersonList.vue
+1
-1
没有找到文件。
src/modules/tools/signIn/views/List.vue
浏览文件 @
8a8c6f71
...
...
@@ -22,7 +22,9 @@
<
template
v-slot:body=
"{ data }"
>
<div
class=
"sign-item"
v-for=
"(item, index) in data"
:key=
"index"
>
<div
class=
"sign-item-hd"
>
<el-checkbox
v-model=
"item.checked"
@
change=
"handleCheckChange(data)"
>
{{
item
.
name
}}
</el-checkbox>
<el-checkbox
v-model=
"item.checked"
@
change=
"handleCheckChange(data)"
>
<span
@
click=
"handlePreview(item.id)"
>
{{
item
.
name
}}
</span>
</el-checkbox>
</div>
<div
class=
"sign-item-bd"
>
<div
class=
"sign-item-bd-pic"
><img
:src=
"item.background_img"
width=
"100"
height=
"100"
/></div>
...
...
@@ -173,6 +175,9 @@ export default {
const
checkedVal
=
val
.
filter
(
item
=>
item
.
checked
)
this
.
multipleSelection
=
checkedVal
},
handlePreview
(
id
)
{
this
.
$router
.
push
({
path
:
'/tools/preview'
,
query
:
{
id
}})
},
handleCreate
()
{
this
.
drawerType
=
'create'
this
.
drawerVisible
=
true
...
...
src/modules/tools/signIn/views/Preview.vue
浏览文件 @
8a8c6f71
<
template
>
<div
class=
"preview"
>
<div
class=
"mobile"
>
<div
class=
"mobile"
ref=
"mobile"
>
<div
class=
"content"
>
<
!--
<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>
<p>
此处显示签到备注文字
</p>
</div>
</div>
<div
class=
"bottom-bar"
>
<el-button
size=
"small"
@
click=
"goBack"
>
上一步
</el-button>
<el-button
size=
"small"
>
完成
</el-button>
<el-button
size=
"small"
@
click=
"goBack"
>
完成
</el-button>
</div>
</div>
</
template
>
...
...
@@ -35,6 +34,7 @@ export default {
getActivityDetails
(
this
.
id
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
details
=
res
.
data
// this.$refs.mobile.style.backgroundImage = `url(${res.data.market_background_img})`
}
})
},
...
...
@@ -46,24 +46,35 @@ export default {
</
script
>
<
style
scoped
>
.preview
{
height
:
8
00px
;
height
:
7
00px
;
padding
:
30px
0
;
background
:
#fff
;
border-radius
:
6px
;
}
.mobile
{
width
:
320px
;
height
:
6
00px
;
height
:
5
00px
;
background
:
#eee
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
margin
:
0
auto
;
border-radius
:
6px
;
padding-top
:
100px
;
border
:
1px
solid
#f1f1f1
;
}
.content
{
margin
:
0
20px
;
background
:
#fff
;
height
:
300px
;
padding-top
:
20px
;
border-radius
:
4px
;
box-shadow
:
0
1px
4px
rgba
(
0
,
21
,
41
,
0.08
);
}
.content
img
{
display
:
block
;
width
:
80%
;
height
:
100px
;
margin
:
0
auto
;
}
.content
h5
{
font-size
:
20px
;
...
...
@@ -74,7 +85,7 @@ export default {
font-size
:
16px
;
line-height
:
40px
;
text-align
:
center
;
margin-top
:
4
0px
;
margin-top
:
2
0px
;
}
.bottom-bar
{
margin-top
:
40px
;
...
...
src/modules/tools/signIn/views/components/ActivityForm.vue
浏览文件 @
8a8c6f71
...
...
@@ -127,7 +127,6 @@ export default {
if
(
this
.
data
.
sign_start_time
)
{
this
.
form
.
signin_time
=
[
this
.
data
.
sign_start_time
,
this
.
data
.
sign_end_time
]
}
console
.
log
(
this
.
signin_time
)
}
},
methods
:
{
...
...
src/modules/tools/signIn/views/components/PersonList.vue
浏览文件 @
8a8c6f71
...
...
@@ -8,7 +8,7 @@
<
template
v-slot:filter-type=
"{ params }"
>
<el-select
v-model=
"params.type"
placeholder=
"请选择类型"
size=
"small"
>
<el-option
label=
"姓名"
value=
"username"
></el-option>
<el-option
label=
"手机号码"
value=
"
mobil
e"
></el-option>
<el-option
label=
"手机号码"
value=
"
phon
e"
></el-option>
<el-option
label=
"邮箱"
value=
"email"
></el-option>
</el-select>
</
template
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论