提交 863c5f5d 编写于 作者: Z Zachary

refacotr: update base.css and vue config

上级 71317887
......@@ -8,3 +8,7 @@ a {
color: #000;
text-decoration: none;
}
li {
list-style: none;
}
......@@ -23,7 +23,7 @@
<span class=""><a href="" >{{item.name}}</a></span>
</h4>
<div class="">
播放量:{{item.playCount > 10000 ? (item.playCount / 10000).toFixed(2) + '':item.playCount}}
播放量:{{processCount(item.playCount)}}
</div>
</li>
</ul>
......@@ -46,6 +46,7 @@
<script>
import { getPlayList } from "api";
import { processCount } from "common/utils";
export default {
data() {
......@@ -77,7 +78,10 @@ export default {
onclick(key) {
this.updatePlayList(key);
},
}
processCount(count){
return processCount(count)
},
}
}
</script>
......@@ -85,6 +89,7 @@ export default {
/* play list */
.list{
letter-spacing:20px;
text-align: center;
}
.playlist{
display: inline-block;
......
......@@ -4,10 +4,10 @@ module.exports = {
alias: {
assets: "@/assets",
components: "@/components",
common: "@/common",
views: "@/views",
api: "@/api"
}
}
}
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册