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
17a67829
Commit
17a67829
authored
Dec 27, 2022
by
hcyhuchaoyue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:提交
parent
0c730a72
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
116 additions
and
4 deletions
+116
-4
config.ts
src/modules/page10/config.ts
+110
-0
MyPoems.vue
src/modules/page10/element/MyPoems.vue
+6
-4
No files found.
src/modules/page10/config.ts
View file @
17a67829
...
...
@@ -836,4 +836,114 @@ export const poems = [
color
:
'#EAEAEF'
,
},
},
{
key
:
'82'
,
author
:
'七堇年'
,
content
:
[
'心之所向,素履以往,生如逆旅,'
,
'一苇以航。'
],
style
:
{
backgroundColor
:
'#87B5B6'
,
color
:
'#fff7f7'
,
},
},
{
key
:
'83'
,
author
:
'史记.春申君列传'
,
content
:
[
'当断不断,反受其乱'
],
style
:
{
backgroundColor
:
'#BDB0AE'
,
color
:
'#6b778d'
,
},
},
{
key
:
'84'
,
author
:
'史记.淮阴侯列传'
,
content
:
[
'秦失其鹿,天下共逐之'
],
style
:
{
backgroundColor
:
'#373F45'
,
color
:
'#DAAE49'
,
},
},
{
key
:
'85'
,
author
:
'史记.刺客列传'
,
content
:
[
'士为知己者死,女为知己者容'
],
style
:
{
backgroundColor
:
'#BD8075'
,
color
:
'#e8cccc'
,
},
},
{
key
:
'86'
,
author
:
'史记.项羽本纪'
,
content
:
[
'大行不顾细谨,大礼不辞小让'
],
style
:
{
backgroundColor
:
'#957E6F'
,
color
:
'#dbbd97'
,
},
},
{
key
:
'87'
,
author
:
'史记.高祖本纪'
,
content
:
[
'运筹帷幄之中,决胜千里之外'
],
style
:
{
backgroundColor
:
'#1B3566'
,
color
:
'#E87773'
,
},
},
{
key
:
'88'
,
author
:
'嘉泰普灯录卷十八'
,
content
:
[
'千江有水千江月,万里无云万里天'
],
style
:
{
backgroundImage
:
'linear-gradient(25deg, #1a6c98, #6892b0, #a3bbc8, #dbe5e0)'
,
color
:
'#c8e0e8'
,
},
},
{
key
:
'89'
,
author
:
'五灯会元.卷十九'
,
content
:
[
'乾坤大地,日月星辰,森罗万象'
],
style
:
{
backgroundImage
:
'linear-gradient(to right, #243949 0%, #517fa4 100%)'
,
color
:
'#cfc2b6'
,
},
},
{
key
:
'90'
,
author
:
'金刚经'
,
content
:
[
'一切有为法,如梦幻泡影'
,
'如露亦如电,应作如是观'
],
style
:
{
backgroundColor
:
'#20444D'
,
color
:
'#5C9BAA'
,
},
},
{
key
:
'91'
,
author
:
'慧能'
,
content
:
[
'不是风动,不是幡动,仁者心动'
],
style
:
{
backgroundColor
:
'#6B665E'
,
color
:
'#E7E1D8'
,
},
},
{
key
:
'92'
,
author
:
'慧能'
,
content
:
[
'菩提本非树,明镜亦非台'
,
'本来无一物,何处惹尘埃'
],
style
:
{
backgroundColor
:
'#364733'
,
color
:
'#abc4be'
,
},
},
{
key
:
'93'
,
author
:
'华严经'
,
content
:
[
'一花一世界,一草一天堂'
],
style
:
{
backgroundImage
:
'linear-gradient(25deg, #46a6db, #8bb4ba, #b3c398, #d2d273)'
,
color
:
'#e8e4c8'
,
},
},
];
src/modules/page10/element/MyPoems.vue
View file @
17a67829
...
...
@@ -20,14 +20,14 @@ const { info } = useMessage();
// const textcolor = ref('#ffffff');
// const getTextColor = computed(() => {
// return {
// color: 'inherit',
//
//
color: textcolor.value,
//
//
color: 'inherit',
// color: textcolor.value,
// };
// });
const
source
=
ref
(
require
(
'../media/羽肿-花火が瞬く夜に.mp3'
));
const
isPlaying
=
ref
(
false
);
const
carouselRef
=
ref
<
any
>
(
null
);
const
slide
=
ref
(
'
80
'
);
const
slide
=
ref
(
'
93
'
);
onMounted
(()
=>
{
// rightClick();
...
...
@@ -137,7 +137,9 @@ function onPlaying() {
<p
v-for=
"(contentItem, index) in item.content"
:key=
"index"
>
{{
contentItem
}}
</p>
<p
class=
"author"
v-if=
"item.author"
>
{{
item
.
author
}}
</p>
<p
class=
"author"
v-if=
"item.author"
>
{{
item
.
author
}}
</p>
</section>
</div>
</q-carousel-slide>
...
...
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