@@ -6,21 +6,6 @@
<router-view v-if="!$route.meta.keepAlive"></router-view>
</div>
</template>
-<script>
- export default{
- mounted() {
- this.$getStatusBarHeight();
- },
- methods:{
- getStatusBarHeightInvoke(data){
- this.$dialog.confirm({
- title: '标题',
- message:JSON.stringify(data) ,
- })
- }
-</script>
<style lang="scss">
@import "./public.scss";
*{
@@ -34,6 +34,7 @@
}
},
mounted() {
+ this.$getStatusBarHeight();
methods: {
onVideoPause(){//解决切换页面视频自动暂停
@@ -47,6 +48,12 @@
toPrivate(){
window.location.href=protocal.privacy;
+ },
+ getStatusBarHeightInvoke(data){
+ this.$dialog.confirm({
+ title: '标题',
+ message:JSON.stringify(data),
+ })