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 e0738e23
authored
Feb 13, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
屏蔽员工注册链接
1 parent
38121f74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
97 additions
and
40 deletions
src/views/productGroup/components/crowdFundingShareDialog.vue
src/views/seckillActivity/crowdFundList.vue
src/views/productGroup/components/crowdFundingShareDialog.vue
View file @
e0738e2
<!-- 众筹分享弹窗 -->
<!-- 众筹分享弹窗 -->
<
template
>
<
template
>
<GLDialog
title=
"分享"
mode=
"mid"
okText=
"关闭"
:visible
.
sync=
"isShareVisible"
:before-close=
"handleShareClose"
:hasFooter=
"false"
>
<GLDialog
title=
"分享"
mode=
"mid"
okText=
"关闭"
:visible
.
sync=
"isShareVisible"
:before-close=
"handleShareClose"
:hasFooter=
"false"
>
<div
class=
"share-dialog"
>
<div
class=
"share-dialog"
>
<div>
<div>
<img
style=
"width: 220px; height: 310px;"
:src=
"shareForm.posterUrl"
/>
<img
<el-button
style=
"display: block;margin-top: 12px;margin-left: 65px;"
:size=
"size"
type=
"primary"
@
click=
"handleSaveImg(shareForm.posterUrl)"
>
下载海报
</el-button>
style=
"width: 220px; height: 310px;"
:src=
"shareForm.posterUrl"
/>
<el-button
style=
"display: block;margin-top: 12px;margin-left: 65px;"
:size=
"size"
type=
"primary"
@
click=
"handleSaveImg(shareForm.posterUrl)"
>
下载海报
</el-button>
</div>
</div>
<div>
<div>
<div
class=
"code"
>
<div
class=
"code"
>
<div
class=
"activity-code"
>
<div
class=
"activity-code"
>
<div
class=
"code-img"
>
<div
class=
"code-img"
>
<img
style=
"width: 146px; height: 146px;"
:src=
"shareForm.qrCodeUrl"
/>
<img
style=
"width: 146px; height: 146px;"
:src=
"shareForm.qrCodeUrl"
/>
</div>
<div>
<p
class=
"code-text"
>
活动二维码
</p>
<el-button
style=
"margin-top: 17px;"
:size=
"size"
type=
"primary"
@
click=
"handleSaveImg(shareForm.qrCodeUrl, '活动二维码')"
>
下载二维码
</el-button>
</div>
</div>
</div>
<div>
<div
<p
class=
"code-text"
>
活动二维码
</p>
class=
"activity-code"
<el-button
style=
"margin-top: 17px;"
:size=
"size"
type=
"primary"
@
click=
"handleSaveImg(shareForm.qrCodeUrl, '活动二维码')"
>
下载二维码
</el-button>
style=
"margin-top: 14px;"
</div>
v-if=
"!hideStatus"
</div>
>
<div
class=
"activity-code"
style=
"margin-top: 14px;"
>
<div
class=
"code-img"
>
<div
class=
"code-img"
>
<img
<img
style=
"width: 146px; height: 146px;"
:src=
"shareForm.staffLoginQrCodeUrl"
/>
style=
"width: 146px; height: 146px;"
</div>
:src=
"shareForm.staffLoginQrCodeUrl"
<div>
/>
<p
class=
"code-text"
>
员工注册码
</p>
</div>
<el-button
style=
"margin-top: 17px;"
:size=
"size"
type=
"primary"
@
click=
"handleSaveImg(shareForm.staffLoginQrCodeUrl, '员工注册码')"
>
下载注册码
</el-button>
<div>
<p
class=
"code-text"
>
员工注册码
</p>
<el-button
style=
"margin-top: 17px;"
:size=
"size"
type=
"primary"
@
click=
"handleSaveImg(shareForm.staffLoginQrCodeUrl, '员工注册码')"
>
下载注册码
</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"page-route"
>
<div
class=
"page-route"
>
<div>
<div>
<span
class=
"share-txt"
>
H5短链接:
</span>
<span
class=
"share-txt"
>
H5短链接:
</span>
<span
class=
"copy"
@
click=
"handleSaveTxt(shareForm.linkUrl)"
>
复制
</span>
<span
<span
class=
"copy"
style=
"margin-left: 10px;width: 75px;"
@
click=
"handleSaveTxt(shareForm.originallinkUrl)"
>
复制群发链接
</span>
class=
"copy"
@
click=
"handleSaveTxt(shareForm.linkUrl)"
>
复制
</span>
<span
class=
"copy"
style=
"margin-left: 10px;width: 75px;"
@
click=
"handleSaveTxt(shareForm.originallinkUrl)"
>
复制群发链接
</span>
</div>
</div>
<p
class=
"link"
style=
"margin-bottom: 16px;"
>
{{
shareForm
.
linkUrl
}}
</p>
<p
<div>
class=
"link"
<span
class=
"share-txt"
>
员工注册码链接:
</span>
style=
"margin-bottom: 16px;"
<span
class=
"copy"
@
click=
"handleSaveTxt(shareForm.staffLoginLinkUrl)"
>
复制
</span>
>
{{
shareForm
.
linkUrl
}}
</p>
</div>
<template
v-if=
"!hideStatus"
>
<p
class=
"link"
style=
"margin-bottom: 16px;"
>
{{
shareForm
.
staffLoginLinkUrl
}}
</p>
<div>
<span
class=
"share-txt"
>
员工注册码链接:
</span>
<span
class=
"copy"
@
click=
"handleSaveTxt(shareForm.staffLoginLinkUrl)"
>
复制
</span>
</div>
<p
class=
"link"
style=
"margin-bottom: 16px;"
>
{{
shareForm
.
staffLoginLinkUrl
}}
</p>
</
template
>
<div>
<div>
<span
class=
"share-txt"
>
活动ID:
</span>
<span
class=
"share-txt"
>
活动ID:
</span>
<span
class=
"copy"
@
click=
"handleSaveTxt(shareForm.id)"
>
复制
</span>
<span
class=
"copy"
@
click=
"handleSaveTxt(shareForm.id)"
>
复制
</span>
</div>
</div>
<p
class=
"link"
>
{{ shareForm.id }}
</p>
<p
class=
"link"
>
{{ shareForm.id }}
</p>
</div>
</div>
...
@@ -53,7 +109,7 @@
...
@@ -53,7 +109,7 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'crowdFundingShare'
,
name
:
'crowdFundingShare'
,
data
()
{
data
()
{
return
{}
return
{}
},
},
...
@@ -68,10 +124,10 @@ export default {
...
@@ -68,10 +124,10 @@ export default {
}
}
},
},
mounted
()
{
},
mounted
()
{
},
methods
:
{
methods
:
{
handleSaveImg
(
url
,
downloadTxt
=
'海报'
)
{
handleSaveImg
(
url
,
downloadTxt
=
'海报'
)
{
var
alink
=
document
.
createElement
(
'a'
)
var
alink
=
document
.
createElement
(
'a'
)
alink
.
href
=
url
alink
.
href
=
url
alink
.
setAttribute
(
'target'
,
'_blank'
)
alink
.
setAttribute
(
'target'
,
'_blank'
)
...
@@ -79,7 +135,7 @@ export default {
...
@@ -79,7 +135,7 @@ export default {
alink
.
click
()
alink
.
click
()
alink
.
remove
()
alink
.
remove
()
},
},
handleSaveTxt
(
txt
)
{
handleSaveTxt
(
txt
)
{
this
.
$message
({
this
.
$message
({
message
:
'复制成功'
,
message
:
'复制成功'
,
type
:
'success'
,
type
:
'success'
,
...
@@ -92,7 +148,7 @@ export default {
...
@@ -92,7 +148,7 @@ export default {
document
.
execCommand
(
'Copy'
)
document
.
execCommand
(
'Copy'
)
document
.
body
.
removeChild
(
input
)
document
.
body
.
removeChild
(
input
)
},
},
handleShareClose
()
{
handleShareClose
()
{
this
.
$emit
(
'handleShareClose'
)
this
.
$emit
(
'handleShareClose'
)
}
}
}
}
...
@@ -104,13 +160,13 @@ export default {
...
@@ -104,13 +160,13 @@ export default {
}
}
.share-dialog
.code
{
.share-dialog
.code
{
height
:
310px
;
height
:
310px
;
border-left
:
1px
dashed
#
DCDFE
6
;
border-left
:
1px
dashed
#
dcdfe
6
;
margin-left
:
20px
;
margin-left
:
20px
;
}
}
.share-dialog
.code
.code-img
{
.share-dialog
.code
.code-img
{
width
:
146px
;
width
:
146px
;
height
:
146px
;
height
:
146px
;
border
:
1px
solid
#
E8E8EA
;
border
:
1px
solid
#
e8e8ea
;
margin-left
:
20px
;
margin-left
:
20px
;
margin-right
:
36px
;
margin-right
:
36px
;
}
}
...
@@ -125,14 +181,14 @@ export default {
...
@@ -125,14 +181,14 @@ export default {
}
}
.page-route
{
.page-route
{
margin-top
:
20px
;
margin-top
:
20px
;
background
:
#
F4F6FC
;
background
:
#
f4f6fc
;
padding
:
20px
;
padding
:
20px
;
}
}
.page-route
.link
{
.page-route
.link
{
width
:
492px
;
width
:
492px
;
font-family
:
PingFangSC-Medium
;
font-family
:
PingFangSC-Medium
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#5850
FF
;
color
:
#5850
ff
;
line-height
:
20px
;
line-height
:
20px
;
}
}
.page-route
.share-txt
{
.page-route
.share-txt
{
...
@@ -143,11 +199,11 @@ export default {
...
@@ -143,11 +199,11 @@ export default {
.page-route
.copy
{
.page-route
.copy
{
width
:
40px
;
width
:
40px
;
height
:
20px
;
height
:
20px
;
background
:
#5850
FF
;
background
:
#5850
ff
;
border-radius
:
2px
;
border-radius
:
2px
;
font-family
:
PingFangSC-Regular
;
font-family
:
PingFangSC-Regular
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#
FFFFFF
;
color
:
#
ffffff
;
display
:
inline-block
;
display
:
inline-block
;
line-height
:
20px
;
line-height
:
20px
;
text-align
:
center
;
text-align
:
center
;
...
...
src/views/seckillActivity/crowdFundList.vue
View file @
e0738e2
...
@@ -103,6 +103,7 @@
...
@@ -103,6 +103,7 @@
:isShareVisible=
"isShareVisible"
:isShareVisible=
"isShareVisible"
:shareForm=
"shareForm"
:shareForm=
"shareForm"
@
handleShareClose=
"handleShareClose"
@
handleShareClose=
"handleShareClose"
:hideStatus=
"hideStatus"
></crowdFundingShare>
></crowdFundingShare>
</div>
</div>
</template>
</template>
...
...
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