Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
罗超
bigwood
Commits
ef49f5b9
Commit
ef49f5b9
authored
May 11, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
441aa2e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
+3
-12
redEnvelope.vue
src/components/passbook/redEnvelope.vue
+3
-12
No files found.
src/components/passbook/redEnvelope.vue
View file @
ef49f5b9
...
...
@@ -9,7 +9,8 @@
<div
class=
"column col redEnvelope-left fz14"
:class=
"[$q.platform.is.desktop?'q-pl-sm':'']"
:style=
"
{'padding':$q.platform.is.desktop?'0 30px 0 30px':''}">
<!--
<p
class=
"fz14 text-grey-7"
>
近半年收益
</p>
-->
<p
class=
"fz14 text-grey-7"
:class=
"[$q.platform.is.desktop?'q-pl-lg':'q-pl-md']"
>
{{
$t
(
'v104.passbook.titles.text6'
)
}}
</p>
<div
ref=
"main"
:class=
"[$q.platform.is.desktop?'q-pt-lg':'']"
style=
"height: 280px;position: relative;top: -30px;"
:style=
"
{'width': $q.platform.is.desktop?'100%':'95%', 'left': $q.platform.is.desktop?'-20px':'10px','top': $q.platform.is.desktop?'-30px':'0'}">
</div>
</div>
...
...
@@ -138,16 +139,6 @@
// 基于准备好的dom,初始化echarts实例
const
myChart
=
echarts
.
init
(
main
.
value
);
const
option
=
{
title
:{
text
:
t
(
'v104.passbook.titles.text6'
),
left
:
$q
.
platform
.
is
.
desktop
?
'10px'
:
''
,
textStyle
:
{
fontSize
:
'14px'
,
color
:
'#757575'
,
fontWeight
:
'100'
,
fontFamily
:
'"microsoft yahei", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", "Arial", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "MicrosoftJhengHeiBoldFix", "Microsoft JhengHei" !important'
,
},
},
xAxis
:
{
type
:
"category"
,
boundaryGap
:
false
,
...
...
@@ -173,7 +164,7 @@
},
},
grid
:
{
top
:
$q
.
platform
.
is
.
desktop
?
"
50px"
:
"5
0px"
,
top
:
$q
.
platform
.
is
.
desktop
?
"
30px"
:
"2
0px"
,
left
:
$q
.
platform
.
is
.
desktop
?
"60px"
:
"45px"
,
right
:
$q
.
platform
.
is
.
desktop
?
"60px"
:
"45px"
,
bottom
:
$q
.
platform
.
is
.
desktop
?
"50px"
:
"60px"
,
...
...
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