|
|
@@ -9,68 +9,9 @@
|
|
|
<image class="logo" src="/static/desk-img/1-1.png" mode="aspectFit"></image>
|
|
|
<u-icon name="setting-fill" color="#2979ff" size="22" @click="setIp"></u-icon>
|
|
|
</view>
|
|
|
- <view class="text-center" :style="[{ animation: 'show ' + 0.4 + 's 1' }]">
|
|
|
- <!-- <u-link class="zai-title2 text-shadow " href="http://localhost:8080?ticket=234" >切换单点登录</u-link> -->
|
|
|
- <view class="zai-title2 text-shadow " v-if="!hasBaseUrl" @click="changeloginType">切换单点登录</view>
|
|
|
- </view>
|
|
|
- <view class="box padding-lr-xl login-paddingtop" :style="[{ animation: 'show ' + 0.6 + 's 1' }]">
|
|
|
- <block>
|
|
|
- <view class="cu-form-group margin-top shadow-warp" :class="[shape == 'round' ? 'round' : '']">
|
|
|
- <view class="title"><text class="cuIcon-people margin-right-xs"></text>账号:</view>
|
|
|
- <input placeholder="请输入账号" name="input" v-model="userName"></input>
|
|
|
- </view>
|
|
|
- <view class="cu-form-group margin-top shadow-warp" :class="[shape == 'round' ? 'round' : '']">
|
|
|
- <view class="title"><text class="cuIcon-lock margin-right-xs"></text>密码:</view>
|
|
|
- <input class="uni-input" placeholder="请输入密码" :password="!showPassword" v-model="password" />
|
|
|
- <view class="action text-lg">
|
|
|
- <text :class="[showPassword ? 'cuIcon-attention' : 'cuIcon-attentionforbid']"
|
|
|
- @click="changePassword"></text>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="padding text-center margin-top">
|
|
|
- <button class="cu-btn bg-blue lg margin-right shadow" :loading="loading"
|
|
|
- :class="[shape == 'round' ? 'round' : '']" @tap="onLogin"><text space="emsp">{{ loading ? "登录中..." :
|
|
|
- "登录" }}</text>
|
|
|
- </button>
|
|
|
- </view>
|
|
|
- </block>
|
|
|
- <!-- #ifdef APP-PLUS -->
|
|
|
- <view class="padding flex flex-direction text-center">
|
|
|
- 当前版本:{{ version }}
|
|
|
- </view>
|
|
|
- <!-- #endif -->
|
|
|
-
|
|
|
- </view>
|
|
|
- </scroll-view>
|
|
|
- <!-- 登录加载弹窗 -->
|
|
|
- <view class="cu-load load-modal" v-if="loading">
|
|
|
- <!-- <view class="cuIcon-emojifill text-orange"></view> -->
|
|
|
- <image src="/static/desk-img/144.png" mode="aspectFit" class="round"></image>
|
|
|
- <view class="gray-text">登录中...</view>
|
|
|
+ <view class="welcome-text">您好,欢迎使用</view>
|
|
|
+ <view class="platform-name">“一通三防”智能管控平台</view>
|
|
|
</view>
|
|
|
- <scroll-view scroll-y class="page" v-if="!hasBaseUrl">
|
|
|
- <!-- <view class="IPSet">
|
|
|
- <span class="text-style">IP地址: <u--input
|
|
|
- placeholder="请输入IP地址"
|
|
|
- border="surround"
|
|
|
- v-model="IPValue"
|
|
|
- ></u--input></span>
|
|
|
- <span class="text-style">端口号: <u--input
|
|
|
- placeholder="请输入端口号"
|
|
|
- border="surround"
|
|
|
- v-model="PortValue"
|
|
|
- ></u--input></span>
|
|
|
- <span class="text-style"><u-button :plain="true" color="#18a5ff" size="small" @tap="saveIP()">保存</u-button></span>
|
|
|
- </view> -->
|
|
|
- <!-- <scroll-view scroll-y class="page"> -->
|
|
|
- <view class="IPSet">
|
|
|
- <span class="text-style"><u-button :plain="true" color="#18a5ff" size="small" :text="IPSet ? IPSet : '选择IP地址'"
|
|
|
- @tap="changeIP()"></u-button></span>
|
|
|
- <u-picker :show="ipShow1" :columns="IpConfig" @cancel="ipShow = false" @confirm="selectIpAddr"
|
|
|
- keyName="label"></u-picker>
|
|
|
- </view>
|
|
|
- <!-- </scroll-view> -->
|
|
|
- </scroll-view>
|
|
|
</view>
|
|
|
|
|
|
<!-- 登录表单 -->
|