Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
marketing-web
marketing
Commits
bc41863b
Commit
bc41863b
authored
Jul 19, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: dist
parent
41bf2eae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
ListItem.vue
src/views/activityCenter/components/ListItem.vue
+10
-3
No files found.
src/views/activityCenter/components/ListItem.vue
View file @
bc41863b
...
...
@@ -4,7 +4,7 @@
<i
class=
"column-line"
></i><span
class=
"item-header-title"
>
{{
title
}}
</span>
</header>
<div
class=
"flex-wrap"
>
<div
class=
"card-item"
v-for=
"card in list"
:key=
"card"
@
click=
"jump(card
.jumpUrl
)"
>
<div
class=
"card-item"
v-for=
"card in list"
:key=
"card"
@
click=
"jump(card)"
>
<div
class=
"remark-tag"
v-if=
"card.activityRemark"
>
{{
card
.
activityRemark
}}
</div>
<el-image
style=
"width: 40px; height: 40px;margin-right:12px;border-radius:8px;"
:src=
"card.activityImage"
fit=
"cover"
/>
<div
class=
"card-right"
>
...
...
@@ -47,8 +47,15 @@ export default {
};
},
methods
:
{
jump
(
url
=
''
)
{
if
(
url
)
window
.
location
.
href
=
`
${
window
.
location
.
origin
}
/
${
url
}
`
;
jump
(
card
)
{
const
{
jumpUrl
}
=
card
;
if
(
!
jumpUrl
)
return
;
if
(
card
.
activityCode
==
'hb_m0206'
)
{
// console.log(`${window.location.origin}/${jumpUrl}&hbPage=staffActCode`);
window
.
location
.
href
=
`
${
window
.
location
.
origin
}
/
${
jumpUrl
}
&hbPage=staffActCode`
;
}
else
{
window
.
location
.
href
=
`
${
window
.
location
.
origin
}
/
${
jumpUrl
}
`
;
}
}
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment