Skip to content

Commit

Permalink
feat: 增加统计代码,去掉首页背景
Browse files Browse the repository at this point in the history
  • Loading branch information
liutao committed Dec 23, 2019
1 parent e54d401 commit dc22b8d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,14 @@
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?bfbb08d58c8332dacac51d420dc9a90b";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>
10 changes: 5 additions & 5 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ export default {
data() {
return {
bgImg: {
background:
"url(" +
require("../assets/home.jpg") +
") no-repeat center center fixed",
backgroundSize: "cover"
// background:
// "url(" +
// require("../assets/home.jpg") +
// ") no-repeat center center fixed",
// backgroundSize: "cover"
},
homeDiv: {
height: "100%",
Expand Down

0 comments on commit dc22b8d

Please sign in to comment.