Skip to content

Commit

Permalink
modify intro music
Browse files Browse the repository at this point in the history
  • Loading branch information
mryanshenghong committed Jan 3, 2021
1 parent ba67f32 commit 950ece0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file added src/assets/intro_guitar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Blog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default class CardView extends Vue {
}
this.setMediaRef({
type: "video",
ele: (this.$refs["videoPlayer"] as any).$refs.video,
ele: (this.$refs.videoPlayer as any).$refs.video,
});
}
Expand Down
4 changes: 2 additions & 2 deletions src/intro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export const intro = {
music: {
title: "Music",
intro: ["练练指弹...", "梦想有一把泰勒吉他...", "现在实现了一半那就是有了一把吉他...", "有了泰勒也是个菜逼..."],
media_type: "video",
media_url: require("./assets/intro_guitar.mp4"),
media_type: "img",
media_url: require("./assets/intro_guitar.jpg"),
},
dota: {
title: "Dota",
Expand Down
2 changes: 1 addition & 1 deletion src/views/home/components/Introduction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const IntroProps = Vue.extend({
},
},
});
export default class Introduction extends IntroProps { }
export default class Introduction extends IntroProps {}
</script>
<style lang="scss" scoped>
#intro-wrapper {
Expand Down

0 comments on commit 950ece0

Please sign in to comment.