cuiqian2004
4 天以前 2af5f043b60c1f7ac38ecccc8f5bf44743134325
App.vue
@@ -1,16 +1,44 @@
<script>
   import {
      showToast
   } from './comm/utils'
   export default {
      globalData: {
         platform: "",
         deviceModel: "",
         osVersion: 0
         osVersion: 0,
         sceneList: [],
         curScene: {
            scene_id: "",
            proportion: 1,
            img_proportion: 1,
            max_x: 1,
            max_y: 1,
            min_x: 0,
            min_y: 0,
            img_x: 1,
            img_y: 1,
         },
         withLog: false,
         pageBigData: {},
         updateUrl: "http://39.170.81.174:5000" //"http://116.204.82.126/mobox3",
      },
      onLaunch: function() {
         console.log('App Launch')
         // #ifdef APP-PLUS
         plus.runtime.getProperty(plus.runtime.appid, (info) => {
            // console.log(info);
            _this.version = info.version;
            _this.checkAppVersion(_this.version)
         });
         //#endif
      },
      onShow: function() {
         console.log('App Show')
      },
      onHide: function() {
         console.log('App Hide')
@@ -21,6 +49,7 @@
<style>
   @import '@/fonts/fonticon/fonticon.css';
   @import 'ant-design-vue/dist/reset.css';
   /*每个页面公共css */
   page {
      background-color: #fff;
@@ -48,6 +77,7 @@
      white-space: nowrap;
      text-overflow: ellipsis;
   }
   .uni-navbar-btn-text {
      font-size: 32rpx;
   }