Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
修改webpack配置 & 修复默认歌单接口bug & 全部http链接切换为https
- Loading branch information
Alex-xd
committed
May 18, 2017
1 parent
ef2163a
commit 372e8bc
Showing
23 changed files
with
5,582 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!bin/sh | ||
|
||
npm run build | ||
tar cvfz - build/index.html build/static | ssh root@119.29.148.154 "cd /usr/local/apache-tomcat-8.5.8/webapps/Server; rm -rf build.tar.gz; tar xvfz -;" | ||
tar cvfz - build | ssh root@119.29.148.154 "cd /usr/local/apache-tomcat-8.5.8/webapps/Server; rm -rf build.tar.gz; tar xvfz -;" | ||
|
||
exit |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,52 @@ | ||
<template> | ||
<li class="item" | ||
:class="{'item--active':isActive}" | ||
|
||
> | ||
<img v-if="cover" :src="cover" class="item__cover"> | ||
<div class="item__info"> | ||
<h3 class="item__info__title">{{title}}</h3> | ||
<span class="item__info__sub-title"> | ||
<li class="item" :class="{'item--active':isActive}"> | ||
<img v-if="cover" :src="cover" class="item__cover"> | ||
<div class="item__info"> | ||
<h3 class="item__info__title">{{title}}</h3> | ||
<span class="item__info__sub-title"> | ||
{{subtitle}} | ||
</span> | ||
</div> | ||
<span class="item__time"> | ||
</div> | ||
<span class="item__time"> | ||
{{number}} | ||
</span> | ||
</li> | ||
</li> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'list-item', | ||
props: [ | ||
'isActive', | ||
'cover', | ||
'title', | ||
'subtitle', | ||
'number' | ||
] | ||
} | ||
</script> | ||
export default { | ||
name: 'list-item', | ||
props: [ | ||
'isActive', | ||
'cover', | ||
'title', | ||
'subtitle', | ||
'number' | ||
] | ||
} | ||
</script> | ||
<style lang="scss" rel="stylesheet/scss" scoped> | ||
.item { | ||
margin-right: -1px; | ||
background: #4a473c; | ||
display: flex; | ||
justify-content: space-between; | ||
padding: 2rem 3rem; | ||
cursor: pointer; | ||
border-bottom: 1px solid #3f3d34; | ||
&__cover { | ||
width: 3rem; | ||
height: 3rem; | ||
max-width: 100%; | ||
} | ||
&__info { | ||
margin: 0 2rem; | ||
width: 100%; | ||
} | ||
&--active { | ||
color: #f9934e; | ||
} | ||
} | ||
</style> | ||
.item { | ||
margin-right: -1px; | ||
background: #4a473c; | ||
display: flex; | ||
justify-content: space-between; | ||
padding: 2rem 3rem; | ||
cursor: pointer; | ||
border-bottom: 1px solid #3f3d34; | ||
&__cover { | ||
width: 3rem; | ||
height: 3rem; | ||
max-width: 100%; | ||
} | ||
&__info { | ||
margin: 0 2rem; | ||
width: 100%; | ||
} | ||
&--active { | ||
color: #f9934e; | ||
} | ||
} | ||
</style> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.