Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
scrm-wx-merchant-activity
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 7dd1a2fd
authored
Nov 09, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
员工
1 parent
15e6feb9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
src/assets/images/default-head.png
src/views/crowdfunding/index/components/Staff.vue
src/views/crowdfunding/index/index.vue
src/assets/images/default-head.png
0 → 100644
View file @
7dd1a2f
2.79 KB
src/views/crowdfunding/index/components/Staff.vue
View file @
7dd1a2f
<
template
>
<div
id=
"staff"
class=
"staff"
>
<img
class=
"icon-head"
:src=
"
detail.activityBigImg
"
/>
<div
class=
"name
"
>
余皖平
</div>
<img
class=
"icon-head"
:src=
"
shareInfo.shareImageUrl || require('@/assets/images/default-head.png')
"
/>
<div
class=
"name
text-hide"
>
{{
shareInfo
.
shareName
||
''
}}
</div>
邀请您参加本次团购
</div>
</
template
>
...
...
@@ -17,7 +17,7 @@ export default {
},
props
:
{
detail
:
{
shareInfo
:
{
type
:
Object
,
default
:
()
=>
{
}
},
...
...
@@ -50,8 +50,9 @@ export default {
z-index
:
2
;
display
:
flex
;
box-sizing
:
border-box
;
max-width
:
80%
;
height
:
48px
;
line-height
:
2
4
px
;
line-height
:
2
8
px
;
opacity
:
0.9
;
background
:
#ffffff
;
box-shadow
:
0
4px
12px
0
rgba
(
159
,
166
,
209
,
0.25
);
...
...
@@ -66,6 +67,7 @@ export default {
border-radius
:
50%
;
}
.name
{
max-width
:
120px
;
margin
:
0
4px
;
font-size
:
16px
;
font-weight
:
600
;
...
...
src/views/crowdfunding/index/index.vue
View file @
7dd1a2f
...
...
@@ -39,9 +39,9 @@
<page-btns
:detail=
"detail"
/>
</
template
>
<!-- 👇 员工浮窗 -->
<div
class=
"staff"
>
<div
class=
"staff"
v-if=
"shareInfo.shareName"
>
<staff
:
detail=
"detail
"
:
shareInfo=
"shareInfo
"
:scrollY=
"scrollY"
></staff>
</div>
...
...
@@ -285,6 +285,7 @@ export default {
return
{
id
:
null
,
detail
:
{},
shareInfo
:
{},
groupInfo
:
{},
currentVideoIndex
:
0
,
musicOff
:
true
,
...
...
@@ -643,13 +644,12 @@ export default {
//获取分享人信息
async
getStaffInfo
(
params
)
{
if
(
params
.
exclusiveUuid
||
params
.
shareStaffUuid
||
params
.
openId
)
{
const
res
=
await
shopmallApi
.
getStaffInfo
({
this
.
shareInfo
=
await
shopmallApi
.
getStaffInfo
({
merchantId
:
params
.
merchantId
,
exclusiveUuid
:
params
.
exclusiveUuid
,
shareStaffUuid
:
params
.
shareStaffUuid
,
shareOpenId
:
params
.
openId
})
console
.
log
(
res
)
})
||
{}
}
}
}
...
...
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