Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Desktop Client
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SpinShare
Desktop Client
Commits
62b87280
Commit
62b87280
authored
Sep 02, 2020
by
SpinShare
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added new tabs, fixed localsong click
parent
4db01cd8
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
92 additions
and
101 deletions
+92
-101
package-lock.json
package-lock.json
+1
-1
src/components/Song/SongLocalItem.vue
src/components/Song/SongLocalItem.vue
+1
-1
src/views/Startup.vue
src/views/Startup.vue
+37
-53
src/views/StartupFrontpage.vue
src/views/StartupFrontpage.vue
+48
-44
src/views/StartupHotSongs.vue
src/views/StartupHotSongs.vue
+3
-0
src/views/StartupNewSongs.vue
src/views/StartupNewSongs.vue
+1
-1
src/views/StartupPopularSongs.vue
src/views/StartupPopularSongs.vue
+1
-1
No files found.
package-lock.json
View file @
62b87280
{
{
"name"
:
"spinshare-client"
,
"name"
:
"spinshare-client"
,
"version"
:
"2.
3.2
"
,
"version"
:
"2.
4.0
"
,
"lockfileVersion"
:
1
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
"requires"
:
true
,
"dependencies"
:
{
"dependencies"
:
{
...
...
src/components/Song/SongLocalItem.vue
View file @
62b87280
<
template
>
<
template
>
<div
:class=
"'song-item-local ' + (isSpinShare ? '' : 'song-item-onlylocal')"
v-on:contextmenu=
"showContextMenu($event)"
v-on:click=
"open
OnSpinShare
()"
>
<div
:class=
"'song-item-local ' + (isSpinShare ? '' : 'song-item-onlylocal')"
v-on:contextmenu=
"showContextMenu($event)"
v-on:click=
"open
InClient
()"
>
<div
class=
"song-cover"
v-bind:style=
"'background-image: '+ backgroundImage +' , url(' + require('@/assets/img/defaultAlbumArt.jpg') + ');'"
v-observe-visibility=
"visibilityChanged"
>
<div
class=
"song-cover"
v-bind:style=
"'background-image: '+ backgroundImage +' , url(' + require('@/assets/img/defaultAlbumArt.jpg') + ');'"
v-observe-visibility=
"visibilityChanged"
>
<div
class=
"song-charter-info"
>
<div
class=
"song-charter-info"
>
<div
class=
"song-charter"
><i
class=
"mdi mdi-account-circle"
></i><span>
{{
detail
.
charter
?
detail
.
charter
:
"
Unknown
"
}}
</span></div>
<div
class=
"song-charter"
><i
class=
"mdi mdi-account-circle"
></i><span>
{{
detail
.
charter
?
detail
.
charter
:
"
Unknown
"
}}
</span></div>
...
...
src/views/Startup.vue
View file @
62b87280
<
template
>
<
template
>
<section
class=
"section-startup"
>
<section
class=
"section-startup"
>
<header>
<div
class=
"tabs"
>
<div
class=
"tabs"
>
<router-link
to=
"/
"
><span>
{{
$t
(
'
startup.tabs.frontpage
'
)
}}
</span></router-link>
<router-link
to=
"/"
class=
"tab
"
><span>
{{
$t
(
'
startup.tabs.frontpage
'
)
}}
</span></router-link>
<router-link
to=
"/new
"
><span>
{{
$t
(
'
startup.tabs.new
'
)
}}
</span></router-link>
<router-link
to=
"/new"
class=
"tab
"
><span>
{{
$t
(
'
startup.tabs.new
'
)
}}
</span></router-link>
<router-link
to=
"/hot
"
><span>
{{
$t
(
'
startup.tabs.hot
'
)
}}
</span></router-link>
<router-link
to=
"/hot"
class=
"tab
"
><span>
{{
$t
(
'
startup.tabs.hot
'
)
}}
</span></router-link>
<router-link
to=
"/popular
"
><span>
{{
$t
(
'
startup.tabs.popular
'
)
}}
</span></router-link>
<router-link
to=
"/popular"
class=
"tab
"
><span>
{{
$t
(
'
startup.tabs.popular
'
)
}}
</span></router-link>
</div>
</div>
</header>
<router-view></router-view>
<router-view></router-view>
</section>
</section>
...
@@ -21,54 +23,36 @@
...
@@ -21,54 +23,36 @@
<
style
scoped
lang=
"less"
>
<
style
scoped
lang=
"less"
>
section {
section {
padding: 50px;
& header {
background: rgba(0,0,0,0.5);
padding: 25px 50px;
padding-bottom: 0px;
& .tabs {
& .tabs {
display: flex;
display: flex;
justify-content: center;
margin-bottom: 25px;
& a {
& .tab {
color: inherit;
font-size: 14px;
text-decoration: none;
font-weight: bold;
font-weight: bold;
letter-spacing: 0.1em;
padding: 10px 15px;
margin: 0px 5px;
text-align: center;
text-transform: uppercase;
text-transform: uppercase;
opacity: 0.6;
letter-spacing: 0.25em;
transition: 0.2s ease-in-out background, 0.2s ease-in-out opacity;
padding: 15px 40px;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
background: rgba(0,0,0,0.6);
color: rgba(255,255,255,0.4);
transition: 0.2s ease-in-out all;
text-decoration: none;
& span {
&:not(.active):hover {
display: block;
cursor: pointer;
transition: 0.2s ease-in-out transform;
background: #272c2e;
transform: translateY(4px);
color: rgba(255,255,255,0.75);
}
&:hover {
background: rgba(255,255,255,0.2);
border-radius: 5px;
}
&:after {
transition: 0.2s ease-in-out background;
margin: 0 auto;
margin-top: 5px;
width: 20px;
height: 3px;
border-radius: 5px;
background: transparent;
content: "";
display: block;
}
}
&.router-link-exact-active {
&.router-link-exact-active {
opacity: 1;
opacity: 1;
color: rgba(255,255,255,1);
& span {
background: #212629;
transform: translateY(0px);
}
&:after {
background: linear-gradient(135deg, #fd2f85, #7a34ec);
}
}
}
}
}
}
...
...
src/views/StartupFrontpage.vue
View file @
62b87280
...
@@ -81,6 +81,9 @@
...
@@ -81,6 +81,9 @@
</
script
>
</
script
>
<
style
scoped
lang=
"less"
>
<
style
scoped
lang=
"less"
>
.frontpage {
padding: 50px;
.staff-promos {
.staff-promos {
display: grid;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr;
...
@@ -133,4 +136,5 @@
...
@@ -133,4 +136,5 @@
}
}
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/StartupHotSongs.vue
View file @
62b87280
...
@@ -73,4 +73,7 @@
...
@@ -73,4 +73,7 @@
</
script
>
</
script
>
<
style
scoped
lang=
"less"
>
<
style
scoped
lang=
"less"
>
.song-row {
padding: 50px;
}
</
style
>
</
style
>
\ No newline at end of file
src/views/StartupNewSongs.vue
View file @
62b87280
...
@@ -74,6 +74,6 @@
...
@@ -74,6 +74,6 @@
<
style
scoped
lang=
"less"
>
<
style
scoped
lang=
"less"
>
.song-row {
.song-row {
margin-top: 25
px;
padding: 50
px;
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/StartupPopularSongs.vue
View file @
62b87280
...
@@ -74,6 +74,6 @@
...
@@ -74,6 +74,6 @@
<
style
scoped
lang=
"less"
>
<
style
scoped
lang=
"less"
>
.song-row {
.song-row {
margin-top: 25
px;
padding: 50
px;
}
}
</
style
>
</
style
>
\ No newline at end of file
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