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 0a41d3ce
authored
Oct 19, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
ab88ca1a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
42 additions
and
12 deletions
src/assets/images/activityReport/arrow-left.png
src/assets/images/activityReport/arrow.png
src/assets/styles/activited.scss
src/components/EchartBox/index.vue
src/router/routes.ts
src/views/crowdfunding/activited.vue
src/views/crowdfunding/activiting.vue
src/assets/images/activityReport/arrow-left.png
View file @
0a41d3c
17.8 KB
|
W:
|
H:
11.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/images/activityReport/arrow.png
View file @
0a41d3c
2.3 KB
|
W:
|
H:
1.62 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/styles/activited.scss
View file @
0a41d3c
...
@@ -193,9 +193,13 @@
...
@@ -193,9 +193,13 @@
justify-content
:
center
;
justify-content
:
center
;
font-size
:
22px
;
font-size
:
22px
;
font-weight
:
400
;
font-weight
:
400
;
text-align
:
center
;
color
:
#333333
;
color
:
#333333
;
line-height
:
34px
;
line-height
:
34px
;
margin-bottom
:
-1px
;
margin-bottom
:
-1px
;
div
{
width
:
578px
;
}
}
}
.box-body-head
{
.box-body-head
{
display
:
flex
;
display
:
flex
;
...
@@ -298,8 +302,11 @@
...
@@ -298,8 +302,11 @@
}
}
.box-body-summary
{
.box-body-summary
{
text-align
:
center
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
margin-top
:
50px
;
margin-top
:
50px
;
text-align
:
center
;
.title
{
.title
{
font-size
:
30px
;
font-size
:
30px
;
font-weight
:
600
;
font-weight
:
600
;
...
@@ -308,11 +315,13 @@
...
@@ -308,11 +315,13 @@
margin-bottom
:
14px
;
margin-bottom
:
14px
;
}
}
.content
{
.content
{
// text-align: center;
font-size
:
22px
;
font-size
:
22px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#333333
;
color
:
#333333
;
// line-height: 34px;
line-height
:
34px
;
text-align
:
center
;
width
:
578px
;
white-space
:
nowrap
;
div
{
}
}
}
}
}
src/components/EchartBox/index.vue
View file @
0a41d3c
<!--
* @Description:
* @Author: huyue
* @Date: 2022-10-14 18:32:54
* @LastEditors: huyue
* @LastEditTime: 2022-10-19 15:50:56
-->
<
template
>
<
template
>
<div
:ref=
"id"
:style=
"
{width: '100%', height: height}
">
</div>
<div
:ref=
"id"
class=
"canvas
"
></div>
</
template
>
</
template
>
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
onMounted
,
ref
}
from
"vue"
;
import
{
onMounted
,
ref
}
from
"vue"
;
...
@@ -17,10 +24,10 @@ const props = defineProps({
...
@@ -17,10 +24,10 @@ const props = defineProps({
type
:
String
,
type
:
String
,
default
:
""
,
default
:
""
,
},
},
height
:{
height
:
{
type
:
String
,
type
:
String
,
default
:
'100px'
default
:
"160px"
,
}
}
,
});
});
const
id
=
(
el
:
HTMLElement
)
=>
{
const
id
=
(
el
:
HTMLElement
)
=>
{
if
(
el
)
{
if
(
el
)
{
...
@@ -70,4 +77,11 @@ const getChartSetOption = () => {
...
@@ -70,4 +77,11 @@ const getChartSetOption = () => {
};
};
return
option
;
return
option
;
};
};
</
script
>
\ No newline at end of file
\ No newline at end of file
</
script
>
<
style
scoped
>
.canvas
{
width
:
100%
;
height
:
160px
;
}
</
style
>
src/router/routes.ts
View file @
0a41d3c
/*
* @Description:
* @Author: huyue
* @Date: 2022-10-10 10:54:14
* @LastEditors: huyue
* @LastEditTime: 2022-10-19 11:19:00
*/
import
HelloWorld
from
'comps/HelloWorld.vue'
import
HelloWorld
from
'comps/HelloWorld.vue'
const
staticRoutes
=
Object
.
freeze
([
const
staticRoutes
=
Object
.
freeze
([
...
@@ -21,7 +28,7 @@ const staticRoutes = Object.freeze([
...
@@ -21,7 +28,7 @@ const staticRoutes = Object.freeze([
path
:
'/activiting'
,
path
:
'/activiting'
,
component
:
()
=>
import
(
'views/crowdfunding/activiting.vue'
),
component
:
()
=>
import
(
'views/crowdfunding/activiting.vue'
),
meta
:
{
meta
:
{
title
:
'战报'
,
title
:
'
进行中
战报'
,
backgroundColor
:
'#FE3C41'
backgroundColor
:
'#FE3C41'
}
}
},
},
...
@@ -29,7 +36,7 @@ const staticRoutes = Object.freeze([
...
@@ -29,7 +36,7 @@ const staticRoutes = Object.freeze([
path
:
'/activited'
,
path
:
'/activited'
,
component
:
()
=>
import
(
'views/crowdfunding/activited.vue'
),
component
:
()
=>
import
(
'views/crowdfunding/activited.vue'
),
meta
:
{
meta
:
{
title
:
'战报'
,
title
:
'
已结束
战报'
,
backgroundColor
:
'#FE3C41'
backgroundColor
:
'#FE3C41'
}
}
}
}
...
...
src/views/crowdfunding/activited.vue
View file @
0a41d3c
This diff is collapsed.
Click to expand it.
src/views/crowdfunding/activiting.vue
View file @
0a41d3c
This diff is collapsed.
Click to expand it.
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