mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-02-05 00:23:02 +08:00
Merge branch 'master' of https://github.com/qier222/YesPlayMusic
# Conflicts: # src/components/Player.vue # src/locale/messages.js
This commit is contained in:
commit
2caed48fa5
|
@ -25,7 +25,7 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
setMenu: function(top, left) {
|
setMenu(top, left) {
|
||||||
let largestHeight =
|
let largestHeight =
|
||||||
window.innerHeight - this.$refs.menu.offsetHeight - 25;
|
window.innerHeight - this.$refs.menu.offsetHeight - 25;
|
||||||
let largestWidth = window.innerWidth - this.$refs.menu.offsetWidth - 25;
|
let largestWidth = window.innerWidth - this.$refs.menu.offsetWidth - 25;
|
||||||
|
@ -35,11 +35,11 @@ export default {
|
||||||
this.left = left + "px";
|
this.left = left + "px";
|
||||||
},
|
},
|
||||||
|
|
||||||
closeMenu: function() {
|
closeMenu() {
|
||||||
this.showMenu = false;
|
this.showMenu = false;
|
||||||
},
|
},
|
||||||
|
|
||||||
openMenu: function(e) {
|
openMenu(e) {
|
||||||
this.showMenu = true;
|
this.showMenu = true;
|
||||||
this.$nextTick(
|
this.$nextTick(
|
||||||
function() {
|
function() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user