Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shareConfig
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
gic-web
shareConfig
Commits
e50a986f
Commit
e50a986f
authored
Sep 19, 2022
by
曾经
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂无已结束活动 空页面
parent
3cbf491b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
2 deletions
+40
-2
index.html
index.html
+2
-0
finished-active.vue
src/components/active/finished-active.vue
+38
-2
No files found.
index.html
View file @
e50a986f
...
...
@@ -12,6 +12,8 @@
<head>
<meta
charset=
"utf-8"
/>
<link
rel=
"shortcut icon"
href=
"./favicon.ico"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//at.alicdn.com/t/c/font_3380872_vkgiwdkji6p.css"
/>
<script
src=
"//at.alicdn.com/t/c/font_3380872_vkgiwdkji6p.js"
></script>
<title></title>
<!-- <title>分享有礼</title> -->
</head>
...
...
src/components/active/finished-active.vue
View file @
e50a986f
...
...
@@ -13,9 +13,9 @@ import finishedActive from '@/components/active/finished-active.vue';
-->
<
template
>
<div
v-if=
"finishedData.length"
>
<div>
<div
class=
"separator-space"
>
- 以下为已结束活动 -
</div>
<div
class=
"finished-active border-box"
>
<div
class=
"finished-active border-box"
v-if=
"finishedData.length"
>
<ul>
<template
v-for=
"(item, index) in finishedData"
>
<li
:class=
"['border-box', selectItem == item.activityId && index != 0 ? 'li-border' : '']"
:key=
"index + 'data'"
>
...
...
@@ -44,6 +44,15 @@ import finishedActive from '@/components/active/finished-active.vue';
<dm-pagination
small
:page-size=
"pageSize"
:current-page=
"currentPage"
layout=
"prev, pager, next"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
>
</dm-pagination>
</div>
</div>
<div
class=
"empty-page"
v-else-if=
"haveLoad"
>
<div
class=
"empty-box"
>
<!-- <div class="icon iconfont icon-no-data"></div> -->
<svg
class=
"icon svg-icon"
aria-hidden=
"true"
>
<use
xlink:href=
"#icon-no-data"
></use>
</svg>
<div
class=
"empty-text"
>
暂无已结束活动
</div>
</div>
</div>
</div>
</template>
<
script
>
...
...
@@ -58,6 +67,7 @@ export default {
},
data
()
{
return
{
haveLoad
:
false
,
funnelData
:
[],
barChartData
:
{
columns
:
[
'日期'
,
'访问用户'
,
'下单用户'
],
...
...
@@ -173,11 +183,13 @@ export default {
} */
that
.
finishedData
=
resData
.
result
.
result
||
[];
that
.
total
=
resData
.
result
.
totalCount
;
that
.
haveLoad
=
true
;
return
false
;
}
errMsg
.
errorMsg
(
resData
);
})
.
catch
(
function
(
error
)
{
that
.
haveLoad
=
true
;
that
.
$message
.
error
({
duration
:
2500
,
message
:
error
.
message
...
...
@@ -231,4 +243,28 @@ export default {
}
}
}
.empty-page
{
position
:
relative
;
height
:
300px
;
background
:
white
;
.empty-box
{
position
:
absolute
;
left
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
text-align
:
center
;
.icon
{
width
:
96px
;
height
:
96px
;
margin
:
0
auto
;
}
.empty-text
{
margin-top
:
12px
;
color
:
#606266
;
font-size
:
14px
;
}
}
}
</
style
>
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