cuiqian2004
2025-06-05 a2f5317f01290597eb44aaf80aa535ff468a61c5
App.vue
@@ -1,27 +1,40 @@
<script>
   export default {
      globalData: {
         isMobox3:true,
         deviceId:"",
         cname:"",
         largeMode: false,
         isMobox3: true,
         deviceId: "",
         cname: "",
         mobox3ApiUrl: {
            org: "",
            data: "",
            mobox: "",
         },
         mobox2ApiUrl:"",
         mobox2ApiUrl: "",
         loginUser: {
            id: "",
            name: "",
            pwd: ""
         },
         sessionId: ""
         sessionId: "",
         bindClasses: false,
         classes: ""
      },
      onLaunch: function() {
         console.log('App Launch');
         this.initscan();
      },
      onShow: function() {
         // const args = plus.runtime.arguments || ""
         // if(args)
         // {
         //    uni.showModal({
         //       title: "App参数",
         //       content: args,
         //       showCancel: false,
         //       confirmText:"cancel"
         //    });
         // }
         console.log('App Show')
      },
      onHide: function() {
@@ -83,4 +96,72 @@
   @import '@/fonts/mobox-plm/style.css';
   @import '@/fonts/mobox-sys/style.css';
   @import '@/fonts/mobox-wms/style.css';
   .large-mode {
      font-size: 24px !important;
      uni-input {
         height: 36px;
         .uni-input-placeholder,
         .uni-input-input {
            font-size: 24px !important;
         }
      }
      uni-button,
      .uni-forms-item__label,
      .uni-section__content-title {
         font-size: 24px !important;
      }
      uni-checkbox {
         .uni-checkbox-input {
            height: 32px;
            width: 32px;
         }
         .uni-checkbox-input-checked:before {
            font-size: 30px;
         }
      }
      uni-radio {
         .uni-radio-input {
            height: 32px;
            width: 32px;
         }
         .uni-radio-input-checked:before {
            font-size: 30px;
         }
      }
      .uni-date__x-input {
         font-size: 24px !important;
         height: 40px !important;
         .uniui-clear {
            font-size: 30px !important;
         }
      }
      .uni-data-tree {
         font-size: 24px !important;
         .input-value {
            height: 45px !important;
            font-size: 24px !important;
         }
         .placeholder {
          font-size: 24px !important;
         }
      }
      .segmented-control__text {
         font-size: 24px !important;
         height: 45px;
      }
   }
</style>