小小儁爺
2026-01-14 e13624d53ce19ed506c81d835da4c76ff8966a06
pages/login/index.vue
@@ -3,7 +3,7 @@
      <view class="body">
         <view class="headClass">新凯迪云制造</view>
         <view class="headClass">智能制造云平台</view>
         <view class="main">
            <view class="circle">
               <view class="circleBg"></view>
@@ -32,6 +32,9 @@
                  :disabled="!(usercode.trim().length>0&&userpassword.trim().length>0)" text="立即登录"
                  :loading="isDisabledSubmitButton" loadingText="正在登录,请稍等..." class="loginClass"
                  @click="gotoIndex"></u-button>
               <!--    <u--text :block='false' color='#0659ff' :size='14' @click="envConfigClick" class='envConfig'
                  text="环境配置"></u--text> -->
            </view>
            <u-modal :show="isShow" :showCancelButton="isShowCancelButton" :showConfirmButton='false' title=""
@@ -74,14 +77,14 @@
      data() {
         return {
            // #ifdef H5
            usercode: '999',
            usercode: '',
            // #endif
            // #ifdef APP-PLUS
            usercode: '9999',
            usercode: '',
            // #endif
            userpassword: '123456',
            userpassword: '',
            isView: false, //密码是否可见
            isDisabledSubmitButton: false, //提交按钮是否处于加载中
@@ -101,7 +104,7 @@
         this.getAppUpgrade()
      },
      mounted() {
         console.log(this.$baseUrl)
      },
      methods: {
         getAppUpgrade() {
@@ -180,6 +183,14 @@
         isShowCancel() {
            this.isShow = false
         },
         // 环境配置点击
         envConfigClick() {
            uni.navigateTo({
               url: './hjpz'
            });
         }
      }
@@ -265,6 +276,12 @@
      font-size: 16px !important;
      line-height: 20px !important;
   }
   .envConfig {
      position: absolute;
      right: 0rpx;
      bottom: -120rpx;
   }
</style>
<style>
   page {