Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsx-posters
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 ab88ca1a
authored
Oct 19, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
b91ccb8f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
16 deletions
src/views/crowdfunding/activited.vue
src/views/crowdfunding/activiting.vue
src/views/crowdfunding/activited.vue
View file @
ab88ca1
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
src=
"@/assets/images/activityReport/icon-gold.png"
src=
"@/assets/images/activityReport/icon-gold.png"
alt=
""
alt=
""
/>
/>
<div
class=
"store-name x-center"
>
深圳鹏峰广本
</div>
<div
class=
"store-name x-center"
>
{{
data
.
activitedInfo
.
merchantName
}}
</div>
<div
class=
"activty-status x-center"
>
已结束
</div>
<div
class=
"activty-status x-center"
>
已结束
</div>
</div>
</div>
<!-- 产值报告 -->
<!-- 产值报告 -->
...
@@ -48,10 +48,10 @@
...
@@ -48,10 +48,10 @@
<div
class=
"box-body"
>
<div
class=
"box-body"
>
<div
class=
"ratio-box"
>
<div
class=
"ratio-box"
>
<div
class=
"ratio-left"
>
<div
class=
"ratio-left"
>
预估产值:
<span
class=
"ratio-number"
>
450000
</span>
元
预估产值:
<span
class=
"ratio-number"
>
{{
data
.
activitedInfo
.
predictVolume
}}
</span>
元
</div>
</div>
<div
class=
"ratio-right"
>
<div
class=
"ratio-right"
>
当前产值:
<span
class=
"ratio-number"
>
225000
</span>
元
当前产值:
<span
class=
"ratio-number"
>
{{
data
.
activitedInfo
.
volume
}}
</span>
元
</div>
</div>
<img
<img
class=
"ratio-vs"
class=
"ratio-vs"
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<div
class=
"icon icon-1"
></div>
<div
class=
"icon icon-1"
></div>
<div
class=
"report-name"
>
活动天数
</div>
<div
class=
"report-name"
>
活动天数
</div>
<div
class=
"report-value"
>
<div
class=
"report-value"
>
<span
class=
"report-number"
>
5
</span
<span
class=
"report-number"
>
{{
data
.
activitedInfo
.
days
}}
</span
><span
class=
"report-unit"
>
天
</span>
><span
class=
"report-unit"
>
天
</span>
</div>
</div>
</div>
</div>
...
@@ -72,40 +72,40 @@
...
@@ -72,40 +72,40 @@
<div
class=
"icon icon-2"
></div>
<div
class=
"icon icon-2"
></div>
<div
class=
"report-name"
>
目标存量数
</div>
<div
class=
"report-name"
>
目标存量数
</div>
<div
class=
"report-value"
>
<div
class=
"report-value"
>
<span
class=
"report-number"
>
6000
</span
<span
class=
"report-number"
>
{{
data
.
activitedInfo
.
days
}}
</span
><span
class=
"report-unit"
>
个
</span>
><span
class=
"report-unit"
>
个
</span>
</div>
</div>
</div>
</div>
<div
class=
"report-item border-bottom"
>
<div
class=
"report-item border-bottom"
>
<div
class=
"icon icon-3"
></div>
<div
class=
"icon icon-3"
></div>
<div
class=
"report-name"
>
活动天
数
</div>
<div
class=
"report-name"
>
分享
数
</div>
<div
class=
"report-value"
>
<div
class=
"report-value"
>
<span
class=
"report-number"
>
5
</span
<span
class=
"report-number"
>
{{
data
.
activitedInfo
.
shareCount
}}
</span
><span
class=
"report-unit"
>
天
</span>
><span
class=
"report-unit"
>
次
</span>
</div>
</div>
</div>
</div>
<div
class=
"report-item border-right p-t-10"
>
<div
class=
"report-item border-right p-t-10"
>
<div
class=
"icon icon-4"
></div>
<div
class=
"icon icon-4"
></div>
<div
class=
"report-name"
>
活动天
数
</div>
<div
class=
"report-name"
>
访客
数
</div>
<div
class=
"report-value"
>
<div
class=
"report-value"
>
<span
class=
"report-number"
>
5
</span
<span
class=
"report-number"
>
5
</span
><span
class=
"report-unit"
>
天
</span>
><span
class=
"report-unit"
>
人
</span>
</div>
</div>
</div>
</div>
<div
class=
"report-item border-right p-t-10"
>
<div
class=
"report-item border-right p-t-10"
>
<div
class=
"icon icon-5"
></div>
<div
class=
"icon icon-5"
></div>
<div
class=
"report-name"
>
活动天
数
</div>
<div
class=
"report-name"
>
订单
数
</div>
<div
class=
"report-value"
>
<div
class=
"report-value"
>
<span
class=
"report-number"
>
5
</span
<span
class=
"report-number"
>
5
</span
><span
class=
"report-unit"
>
天
</span>
><span
class=
"report-unit"
>
单
</span>
</div>
</div>
</div>
</div>
<div
class=
"report-item p-t-10"
>
<div
class=
"report-item p-t-10"
>
<div
class=
"icon icon-6"
></div>
<div
class=
"icon icon-6"
></div>
<div
class=
"report-name"
>
活动天数
</div>
<div
class=
"report-name"
>
转化率
</div>
<div
class=
"report-value"
>
<div
class=
"report-value"
>
<span
class=
"report-number"
>
5
</span
<span
class=
"report-number"
>
5
</span
><span
class=
"report-unit"
>
天
</span>
><span
class=
"report-unit"
>
%
</span>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -735,8 +735,15 @@
...
@@ -735,8 +735,15 @@
</
template
>
</
template
>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
ref
,
onMounted
,
reactive
}
from
"vue"
;
import
{
ref
,
onMounted
,
reactive
}
from
"vue"
;
import
req
from
"../../utils/request"
;
import
{
useRoute
}
from
"vue-router"
;
// 按需引入 echarts
// 按需引入 echarts
import
*
as
echarts
from
"echarts"
;
import
*
as
echarts
from
"echarts"
;
const
route
=
useRoute
();
interface
params
{
activityId
?:
number
|
string
;
}
let
query
:
params
=
{};
const
count
=
ref
(
50
);
const
count
=
ref
(
50
);
const
progress
=
ref
(
50
);
const
progress
=
ref
(
50
);
const
colors
=
ref
<
string
[]
>
([
"#FFC154"
,
"#FF9671"
]);
const
colors
=
ref
<
string
[]
>
([
"#FFC154"
,
"#FF9671"
]);
...
@@ -745,8 +752,23 @@ const data = reactive({
...
@@ -745,8 +752,23 @@ const data = reactive({
widthList
:
[
400
,
350
,
304
,
258
],
widthList
:
[
400
,
350
,
304
,
258
],
custemData
:
[
100
,
800
,
6000
],
custemData
:
[
100
,
800
,
6000
],
total
:
7200
,
total
:
7200
,
activitedInfo
:
{
merchantName
:
''
}
});
const
getInfo
=
async
()
=>
{
const
res
=
await
req
(
"scrm.api.shopmall.activity.end.report.param"
,
query
);
data
.
activitedInfo
=
res
};
onMounted
(()
=>
{
if
(
route
.
query
)
{
query
=
route
.
query
;
getInfo
();
}
});
});
onMounted
(()
=>
{});
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
src/views/crowdfunding/activiting.vue
View file @
ab88ca1
...
@@ -307,7 +307,7 @@
...
@@ -307,7 +307,7 @@
</div>
</div>
</template>
</template>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
ref
,
reactive
,
onMounted
,
defineComponent
}
from
"vue"
;
import
{
ref
,
reactive
,
onMounted
}
from
"vue"
;
import
req
from
"../../utils/request"
;
import
req
from
"../../utils/request"
;
import
{
useRoute
}
from
"vue-router"
;
import
{
useRoute
}
from
"vue-router"
;
const
route
=
useRoute
();
const
route
=
useRoute
();
...
...
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