Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
V
vue3-quasar-ts-study01
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hucy
vue3-quasar-ts-study01
Commits
e0fc674c
Commit
e0fc674c
authored
Jan 04, 2023
by
hcyhuchaoyue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:提交
parent
1ef89bbf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
8 deletions
+82
-8
config.ts
src/modules/page10/config.ts
+74
-0
MyPoems.vue
src/modules/page10/element/MyPoems.vue
+8
-8
No files found.
src/modules/page10/config.ts
View file @
e0fc674c
...
...
@@ -946,4 +946,78 @@ export const poems = [
color
:
'#e8e4c8'
,
},
},
{
key
:
'94'
,
author
:
''
,
content
:
[
'万物更新,旧疾当愈,长安常安'
],
style
:
{
backgroundImage
:
'linear-gradient(25deg, #4268de, #588cd1, #5fb0c4, #59d5b4)'
,
color
:
'#f2f4f6'
,
},
},
{
key
:
'95'
,
author
:
'卢照邻'
,
content
:
[
'愿得长如此,年年物候新'
],
style
:
{
backgroundImage
:
'linear-gradient(25deg, #c6a300, #ceb466, #cfc5aa, #c5d8ef)'
,
color
:
'#f4f0e6'
,
},
},
{
key
:
'96'
,
author
:
''
,
content
:
[
'年年无碍,岁岁无忧,'
,
'四季冗长,万事顺意。'
],
style
:
{
backgroundImage
:
'linear-gradient(25deg, #710d36, #91163d, #b21f43, #d4294a)'
,
color
:
'#f4f0e6'
,
},
},
{
key
:
'97'
,
author
:
'尼采'
,
content
:
[
'信仰就是不想知道真相是什么'
],
style
:
{
backgroundColor
:
'#3D5DCE'
,
color
:
'#D3F4EC'
,
},
},
{
key
:
'98'
,
author
:
'鲁迅《热风》'
,
content
:
[
'愿中国青年都摆脱冷气,只是向上走,不必听自暴自弃者流的话。'
,
'能做事的做事,能发声的发声。'
,
'有一份热,发一份光,就令萤火一般,也可以在黑暗里发一点光,不必等候火炬。'
,
'此后如竟没有火炬:我便是唯一的光。'
,
'倘若有了火炬,出了太阳,我们自然心悦诚服的消失。'
,
'不但毫无不平,而且还要随喜赞美这火炬和太阳。'
,
'因为它照了人类,连我都在内。'
,
],
style
:
{
backgroundColor
:
'#079B84'
,
color
:
'#EED362'
,
},
},
{
key
:
'99'
,
author
:
'加布瑞埃拉.泽文'
,
content
:
[
'没有谁是一座孤岛,每本书都是一个世界'
],
style
:
{
backgroundColor
:
'#080F37'
,
color
:
'#1AB8BC'
,
},
},
{
key
:
'100'
,
author
:
'陆游'
,
content
:
[
'画凌烟,上甘泉。自古功名属少年'
],
style
:
{
backgroundColor
:
'#B0918D'
,
color
:
'#F7EBD2'
,
},
},
];
src/modules/page10/element/MyPoems.vue
View file @
e0fc674c
...
...
@@ -27,7 +27,7 @@ const { info } = useMessage();
const
source
=
ref
(
require
(
'../media/羽肿-花火が瞬く夜に.mp3'
));
const
isPlaying
=
ref
(
false
);
const
carouselRef
=
ref
<
any
>
(
null
);
const
slide
=
ref
(
'
93
'
);
const
slide
=
ref
(
'
100
'
);
onMounted
(()
=>
{
// rightClick();
...
...
@@ -113,7 +113,7 @@ function onPlaying() {
transition-prev=
"fade"
transition-next=
"fade"
:transition-duration=
"1500"
:autoplay=
"
8000
"
:autoplay=
"
false
"
animated
infinite
height=
"100%"
...
...
@@ -182,10 +182,10 @@ function onPlaying() {
border-radius: 20px;
width: 280px;
min-width: 280px !important;
--mediaplayer-background: #
7f8f7d
;
--mediaplayer-background-dark: #
7f8f7d
;
--mediaplayer-color: #
c8baa8
;
--mediaplayer-color-dark: #
c8baa8
;
--mediaplayer-background: #
dfdbca
;
--mediaplayer-background-dark: #
dfdbca
;
--mediaplayer-color: #
306e8a
;
--mediaplayer-color-dark: #
306e8a
;
"
@
paused=
"onPaused"
@
playing=
"onPlaying"
...
...
@@ -279,7 +279,7 @@ function onPlaying() {
.q-slider
.q-slider__track-container
.q-slider__track
)
{
color
:
#
c8baa8
;
color
:
#
306e8a
;
}
:deep
(
.my-media-player
.q-media__controls
...
...
@@ -287,6 +287,6 @@ function onPlaying() {
.q-slider__track-container
.q-slider__track
.q-slider__thumb
)
{
color
:
#
c8baa8
;
color
:
#
306e8a
;
}
</
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