Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c505fe28
authored
Sep 06, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
众筹样式
1 parent
e7d02082
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
139 additions
and
3 deletions
src/views/seckillActivity/crowdEditWechat.vue
src/views/seckillActivity/crowdEditWechat.vue
View file @
c505fe2
<
template
>
<div
class=
"wechat-box"
>
<div
class=
"wechat-box
marketing
"
>
<img
class=
"w-100-percent"
src=
"@/assets/seckillActivity/phone.png"
/>
<div
class=
"wechat-back"
>
<p
class=
"wechat-name one-line-ellipsis"
>
{{
editForm
.
activityName
}}
</p>
...
...
@@ -39,13 +39,69 @@
</p>
<img
v-else
class=
"count-down-img"
src=
"@/assets/seckillActivity/count-down.png"
/>
</div>
<div
class=
"w-100-percent txt-center"
>
<img
class=
"crowd-jdt"
src=
"@/assets/seckillActivity/crowd-jdt.png"
/>
</div>
<div
class=
"wechat-block service"
>
<div
class=
"serve"
v-if=
"editForm.activityServices.length"
>
<div
class=
"box flex"
>
<div
style=
"width: 26px;"
>
服务
</div>
<div
class=
"serve-text flex-center"
>
<template
v-for=
"(i, index) in editForm.activityServices"
>
<div
:key=
"index"
class=
"flex-default"
>
{{
i
.
title
}}
<span
v-if=
"index != editForm.activityServices.length - 1"
>
·
</span>
</div>
</
template
>
</div>
<div
class=
"sprite-icon icon-arrow"
></div>
</div>
</div>
</div>
<div
class=
"wechat-block"
>
<div>
<div
class=
"flex"
>
<div>
玩家心得({{ editForm.activityExperienceDTOs.length }})
</div>
<div
class=
"sprite-icon icon-arrow"
></div>
</div>
<div
v-if=
"editForm.activityExperienceDTOs.length"
>
<div
class=
"head-box"
>
<img
class=
"icon-head"
src=
"@/assets/seckillActivity/icon-default-head.png"
/>
<span>
虚拟人物1
</span>
</div>
<div
class=
"m-t-10"
>
{{ editForm.activityExperienceDTOs[0].experience }}
</div>
<div
v-if=
"editForm.activityExperienceDTOs[0].activityExperienceImgs.length"
>
<img
class=
"img-w-h m-t-10"
v-for=
"(item, index) in editForm.activityExperienceDTOs[0].activityExperienceImgs"
:key=
"index"
:src=
"item"
/>
</div>
</div>
</div>
<div
class=
"line"
></div>
<div
class=
"flex m-b-10"
v-if=
"editForm.activityCommoditys.length"
>
<div>
商品答疑({{ editForm.activityCommoditys.length }})
</div>
<div
class=
"sprite-icon icon-arrow"
></div>
</div>
<div
class=
"m-b-10"
>
<span
class=
"icon-question"
>
问
</span>
<span>
{{ editForm.activityCommoditys[0].question }}
</span>
</div>
<div>
<span
class=
"icon-answer"
>
答
</span>
<span>
{{ editForm.activityCommoditys[0].answer }}
</span>
</div>
</div>
<div
class=
"p-b-6"
></div>
<div
v-html=
"editForm.activityDetail"
></div>
</div>
</div>
<img
class=
"wechat-footer"
src=
"@/assets/seckillActivity/crowd-footer.png"
/>
<div>
<img
class=
"wechat-footer"
src=
"@/assets/seckillActivity/crowd-footer.png"
/>
<div
class=
"sprite-icon icon-arrow"
></div>
</div>
</div>
</div>
</template>
...
...
@@ -187,7 +243,87 @@ export default {
.wechat-box
.wechat-banner-img
.crowd-jdt
{
width
:
205px
;
height
:
80px
;
margin-bottom
:
6px
;
}
.box
{
color
:
#999999
;
font-size
:
12px
;
font-weight
:
400
;
border-radius
:
4px
;
line-height
:
17px
;
.serve-text
{
width
:
130px
;
color
:
#2c2c2c
;
margin-left
:
6px
;
overflow
:
hidden
;
white-space
:
nowrap
;
span
{
margin
:
0
4px
;
}
}
.sprite-icon
{
margin-left
:
auto
;
}
}
.icon-arrow
{
width
:
6px
;
height
:
6px
;
border
:
1px
solid
#fc5b32
;
border-width
:
1px
1px
0
0
;
opacity
:
0.7
;
transform
:
rotate
(
45deg
);
margin
:
6px
0
0
5px
;
}
.head-box
{
display
:
flex
;
align-items
:
center
;
padding
:
20px
0
0
0
;
color
:
#282829
;
.icon-head
{
width
:
26px
!important
;
height
:
26px
!important
;
margin-right
:
4px
;
}
}
.img-w-h
{
width
:
30px
!important
;
height
:
30px
!important
;
margin-right
:
2px
;
border-radius
:
4px
;
}
.line
{
border
:
1px
solid
#e3e3e6
;
margin
:
6px
0
;
}
.icon-question
{
width
:
14px
;
height
:
14px
;
font-size
:
12px
;
background
:
linear-gradient
(
108deg
,
#ffbe68
0%
,
#ff5446
60%
,
#f45454
100%
);
border-radius
:
2px
;
color
:
#ffffff
;
padding
:
1px
2px
;
margin-right
:
4px
;
}
.icon-answer
{
width
:
14px
;
height
:
14px
;
font-size
:
12px
;
background
:
linear-gradient
(
108deg
,
#4f7bf6
0%
,
#3d6ced
60%
,
#3162e6
100%
);
border-radius
:
2px
;
color
:
#ffffff
;
padding
:
1px
2px
;
margin-right
:
4px
;
}
.p-b-6
{
padding-bottom
:
6px
;
}
.wechat-box
.wechat-name
{
position
:
absolute
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment