This commit is contained in:
2019-12-13 11:46:15 +08:00
parent eaf48b86c3
commit 703f411ee7
17 changed files with 2662 additions and 2030 deletions

View File

@ -33,13 +33,13 @@ export default {
LeftContent,
Footer
},
data() {
data () {
return {
showLeftMenuValue: 'block',
isPhone: ''
}
},
mounted() {
mounted () {
const phoneStyle = 'height: 100%; position: fixed; top: 70px; background-color: #fff; z-index:9999; overflow: scroll; overflow-x: hidden; -webkit-overflow-scrolling: touch;'
if (document.body.clientWidth > 768) {
this.showLeftMenuValue = 'block'
@ -60,7 +60,7 @@ export default {
}
},
methods: {
showLeftMenu() {
showLeftMenu () {
if (this.showLeftMenuValue !== 'block') {
this.showLeftMenuValue = 'block'
} else {