Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
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 69401d72
authored
Nov 18, 2021
by
zhouzy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
a50c382d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
9 deletions
src/views/customerGroup/mass.vue
src/views/customerGroup/mass.vue
View file @
69401d7
<
template
>
<div
class=
"container"
>
<div
class=
"box"
>
<div
class=
"box"
v-if=
"showBox"
>
<div
class=
"top"
>
<div
class=
"top-title"
>
{{
detail
.
name
}}
直播活动
</div>
<div
class=
"iconBox"
@
click=
"copyMessage(this.massMessage)"
>
...
...
@@ -13,7 +13,7 @@
<img
:src=
"detail.postImgUrl"
alt=
""
/>
</div>
</div>
<div
class=
"fixedButtom"
>
<div
class=
"fixedButtom"
v-if=
"showBox"
>
<div
class=
"item-container"
>
<div
class=
"icon-container"
>
<div
class=
"icon-box"
@
click=
"share('wechat')"
>
...
...
@@ -43,23 +43,31 @@
</
template
>
<
script
type=
'text/ecmascript-6'
>
import
{
liveBroadcast
,
wxConfig
}
from
'@/api'
import
{
Notify
}
from
'vant'
export
default
{
name
:
'mass'
,
data
()
{
return
{
detail
:
{},
date
:
''
date
:
''
,
showBox
:
true
}
},
activated
()
{},
deactivated
()
{},
mounted
()
{
let
{
taskId
}
=
this
.
getQuery
()
let
{
taskId
}
=
this
.
getQuery
()
//获取界面详情数据
liveBroadcast
.
getDetail
({
taskId
}).
then
(
res
=>
{
this
.
detail
=
res
.
data
console
.
log
(
this
.
detail
.
startTime
,
'this.detail.startTime'
)
this
.
formatDate
(
this
.
detail
.
startTime
,
this
.
detail
.
endTime
)
console
.
log
(
res
,
'789'
)
if
(
res
.
code
!==
'0'
)
{
this
.
showBox
=
false
Notify
(
res
.
message
)
}
else
if
(
res
.
code
==
'0'
)
{
this
.
detail
=
res
.
data
console
.
log
(
this
.
detail
.
startTime
,
'this.detail.startTime'
)
this
.
formatDate
(
this
.
detail
.
startTime
,
this
.
detail
.
endTime
)
}
})
//初始化微信方法
window
.
$wx
=
wxConfig
...
...
@@ -118,16 +126,17 @@ export default {
display
:
flex
;
flex-direction
:
row
;
position
:
-webkit-sticky
;
position
:
sticky
;
position
:
fixed
;
bottom
:
0
;
opacity
:
1
;
z-index
:
99
;
box-sizing
:
border-box
;
text-align
:
center
;
padding
:
20px
33px
20px
32px
;
height
:
76px
;
background
:
#ffffff
;
box-shadow
:
0px
-2px
8px
0px
rgba
(
224
,
224
,
224
,
0.5
);
border-radius
:
16px
16px
0px
0px
;
width
:
100%
;
}
.buttomLine
{
width
:
134px
;
...
...
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