|
@@ -6,207 +6,237 @@
|
|
|
<!-- <div class="logo"></div> -->
|
|
|
<div class="processPic">
|
|
|
<img
|
|
|
- src="../assets/images/process.gif"
|
|
|
- style="width: 100%; height: 100%"
|
|
|
+ src="@/assets/images/process.gif"
|
|
|
+ style="width: 95%; height: 100%"
|
|
|
/>
|
|
|
</div>
|
|
|
- <!-- 登录区域 -->
|
|
|
- <!-- <div class="content" style="margin-top: 1%; margin-left: 4%"></div> -->
|
|
|
- <div class="content" style="margin-left: 6%; z-index: 1">
|
|
|
- <div class="loginLeft">
|
|
|
- <div style="width: 100%; height: 100%">
|
|
|
- <h1 style="font-size: 32px; text-align: center; margin: 0 auto">
|
|
|
- 扫码登录
|
|
|
- </h1>
|
|
|
- <div style="width: 70%; height: 70%; margin: 15px auto 0 auto">
|
|
|
- <img
|
|
|
- :src="imgData"
|
|
|
- style="width: 100%; height: 100%"
|
|
|
- @click="reflushFlag && reflushErWei()"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <div style="width: 100%;height: 25%;text-align: center;margin-top: 10px;">
|
|
|
- <p style="margin-bottom: 0px">
|
|
|
- 请使用"会助理"小程序扫描二维码进入平台
|
|
|
- </p>
|
|
|
- <p style="margin-bottom: 0px">
|
|
|
- 二维码剩余有效时间:
|
|
|
- <span style="color: red">{{ effectiveTime }}</span> s
|
|
|
- </p>
|
|
|
- <!-- <el-button @click="testLogin">测试登录</el-button> -->
|
|
|
+ <!-- 登录区域 -->
|
|
|
+ <!-- <div class="content" style="margin-top: 1%; margin-left: 4%"></div> -->
|
|
|
+ <div class="content" style="margin-left: 6%; z-index: 1">
|
|
|
+ <div class="loginLeft">
|
|
|
+ <div style="width: 100%; height: 100%">
|
|
|
+ <h1 style="font-size: 32px; text-align: center; margin: 0 auto">
|
|
|
+ 扫码登录
|
|
|
+ </h1>
|
|
|
+ <div style="width: 70%; height: 70%; margin: 15px auto 0 auto">
|
|
|
+ <img
|
|
|
+ :src="imgData"
|
|
|
+ style="width: 100%; height: 100%"
|
|
|
+ @click="reflushFlag && reflushErWei()"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div style="width: 100%;height: 25%;text-align: center;margin-top: 10px;">
|
|
|
+ <p style="margin-bottom: 0px">
|
|
|
+ 请使用"会助理"小程序扫描二维码进入平台
|
|
|
+ </p>
|
|
|
+ <p style="margin-bottom: 0px">
|
|
|
+ 二维码剩余有效时间:
|
|
|
+ <span style="color: red">{{ effectiveTime }}</span> s
|
|
|
+ </p>
|
|
|
+ <!-- <el-button @click="testLogin">测试登录</el-button> -->
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="loginRight">
|
|
|
- <div style="width: 80%; height: 100%; margin: 70px auto">
|
|
|
- <h1 style="font-size: 32px; text-align: center; margin: 0 auto">
|
|
|
- 手机号登录
|
|
|
- </h1>
|
|
|
- <el-form
|
|
|
- ref="loginForm"
|
|
|
- :model="loginForm"
|
|
|
- :rules="LoginRules"
|
|
|
- style="margin-left: 10px; margin-top: 20px"
|
|
|
- >
|
|
|
- <!-- 账号密码登录 -->
|
|
|
- <div v-if="loginForm.loginType === 'uname'">
|
|
|
- <el-form-item prop="mobile">
|
|
|
- <el-input
|
|
|
- v-model="loginForm.mobile"
|
|
|
- type="text"
|
|
|
- auto-complete="off"
|
|
|
- placeholder="请输入手机号"
|
|
|
- @blur="moblieBlur()"
|
|
|
- resize="vertical"
|
|
|
- oninput="if(value.length>11)value=value.slice(0,11)"
|
|
|
- >
|
|
|
- <svg-icon
|
|
|
- slot="prefix"
|
|
|
- icon-class="phone"
|
|
|
- class="el-input__icon input-icon"
|
|
|
- />
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item prop="password">
|
|
|
- <el-input
|
|
|
- v-model="loginForm.password"
|
|
|
- type="password"
|
|
|
- auto-complete="off"
|
|
|
- placeholder="请输入密码"
|
|
|
- @keyup.enter.native="getCode"
|
|
|
- >
|
|
|
- <svg-icon
|
|
|
- slot="prefix"
|
|
|
- icon-class="password"
|
|
|
- class="el-input__icon input-icon"
|
|
|
- />
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item prop="tenantName" v-if="tenantEnable">
|
|
|
- <el-select
|
|
|
+ <div class="loginRight">
|
|
|
+ <div style="width: 80%; height: 100%; margin: 50px auto">
|
|
|
+ <h1 style="font-size: 32px; text-align: center; margin: 0 auto">
|
|
|
+ 手机号登录
|
|
|
+ </h1>
|
|
|
+ <el-form
|
|
|
+ ref="loginForm"
|
|
|
+ :model="loginForm"
|
|
|
+ :rules="LoginRules"
|
|
|
+ style="margin-left: 10px; margin-top: 20px"
|
|
|
+ >
|
|
|
+ <!-- 账号密码登录 -->
|
|
|
+ <div v-if="loginForm.loginType === 'uname'">
|
|
|
+ <el-form-item prop="mobile">
|
|
|
+ <el-input
|
|
|
+ v-model="loginForm.mobile"
|
|
|
+ type="text"
|
|
|
+ auto-complete="off"
|
|
|
+ placeholder="请输入手机号"
|
|
|
+ @blur="moblieBlur()"
|
|
|
+ resize="vertical"
|
|
|
+ oninput="if(value.length>11)value=value.slice(0,11)"
|
|
|
+ >
|
|
|
+ <svg-icon
|
|
|
+ slot="prefix"
|
|
|
+ icon-class="phone"
|
|
|
+ class="el-input__icon input-icon"
|
|
|
+ />
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item prop="password">
|
|
|
+ <el-input
|
|
|
+ v-model="loginForm.password"
|
|
|
+ type="password"
|
|
|
+ auto-complete="off"
|
|
|
+ placeholder="请输入密码"
|
|
|
+ @keyup.enter.native="getCode"
|
|
|
+ >
|
|
|
+ <svg-icon
|
|
|
+ slot="prefix"
|
|
|
+ icon-class="password"
|
|
|
+ class="el-input__icon input-icon"
|
|
|
+ />
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item prop="tenantName" v-if="tenantEnable">
|
|
|
+ <el-select
|
|
|
+ v-model="loginForm.tenantName"
|
|
|
+ placeholder="请选择机构名称"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in options"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ <!-- <el-select
|
|
|
v-model="loginForm.tenantName"
|
|
|
- placeholder="请选择机构名称"
|
|
|
- >
|
|
|
- <el-option
|
|
|
+ filterable
|
|
|
+ remote
|
|
|
+ reserve-keyword
|
|
|
+ placeholder="请输入机构名称"
|
|
|
+ :remote-method="remoteMethod"
|
|
|
+ :loading="loadingTenant"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
v-for="item in options"
|
|
|
:key="item.value"
|
|
|
:label="item.label"
|
|
|
:value="item.value"
|
|
|
- >
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- <!-- <el-select
|
|
|
- v-model="loginForm.tenantName"
|
|
|
- filterable
|
|
|
- remote
|
|
|
- reserve-keyword
|
|
|
- placeholder="请输入机构名称"
|
|
|
- :remote-method="remoteMethod"
|
|
|
- :loading="loadingTenant"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="item in options"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value"
|
|
|
- >
|
|
|
- </el-option>
|
|
|
- <svg-icon
|
|
|
- slot="prefix"
|
|
|
- icon-class="tree"
|
|
|
- class="el-input__icon input-icon"
|
|
|
- />
|
|
|
- </el-select> -->
|
|
|
- <!-- <el-input v-model="loginForm.tenantName" type="text" auto-complete="off" placeholder="请输入机构名称">
|
|
|
- <svg-icon slot="prefix" icon-class="tree" class="el-input__icon input-icon" />
|
|
|
- </el-input> -->
|
|
|
- </el-form-item>
|
|
|
- <el-form-item prop="verifyInCode">
|
|
|
- <el-input
|
|
|
- v-model="loginForm.verifyInCode"
|
|
|
- type="text"
|
|
|
- auto-complete="off"
|
|
|
- placeholder="请输入验证码"
|
|
|
- style="width: 60%"
|
|
|
- @keyup.enter.native="getCode"
|
|
|
- >
|
|
|
- <svg-icon
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ <svg-icon
|
|
|
slot="prefix"
|
|
|
- icon-class="question"
|
|
|
+ icon-class="tree"
|
|
|
class="el-input__icon input-icon"
|
|
|
+ />
|
|
|
+ </el-select> -->
|
|
|
+ <!-- <el-input v-model="loginForm.tenantName" type="text" auto-complete="off" placeholder="请输入机构名称">
|
|
|
+ <svg-icon slot="prefix" icon-class="tree" class="el-input__icon input-icon" />
|
|
|
+ </el-input> -->
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item prop="verifyInCode">
|
|
|
+ <el-input
|
|
|
+ v-model="loginForm.verifyInCode"
|
|
|
+ type="text"
|
|
|
+ auto-complete="off"
|
|
|
+ placeholder="请输入验证码"
|
|
|
+ style="width: 60%"
|
|
|
+ @keyup.enter.native="getCode"
|
|
|
+ >
|
|
|
+ <svg-icon
|
|
|
+ slot="prefix"
|
|
|
+ icon-class="question"
|
|
|
+ class="el-input__icon input-icon"
|
|
|
+ />
|
|
|
+ </el-input>
|
|
|
+ <img
|
|
|
+ :src="verifyCode"
|
|
|
+ style="width: 40%"
|
|
|
+ @click="refreshVerifyCode()"
|
|
|
+ alt="验证码"
|
|
|
/>
|
|
|
- </el-input>
|
|
|
- <img
|
|
|
- :src="verifyCode"
|
|
|
- style="width: 40%"
|
|
|
- @click="refreshVerifyCode()"
|
|
|
- alt="验证码"
|
|
|
- />
|
|
|
+ </el-form-item>
|
|
|
+ </div>
|
|
|
+ <!-- 下方的登录按钮 -->
|
|
|
+ <el-form-item style="width: 100%; margin-top: 30px">
|
|
|
+ <el-button
|
|
|
+ :loading="loading"
|
|
|
+ size="medium"
|
|
|
+ type="primary"
|
|
|
+ style="width: 100%;height: 40px"
|
|
|
+ @click.native.prevent="getCode"
|
|
|
+ >
|
|
|
+ <span v-if="!loading">登 录</span>
|
|
|
+ <span v-else>登 录 中...</span>
|
|
|
+ </el-button>
|
|
|
</el-form-item>
|
|
|
- </div>
|
|
|
- <!-- 下方的登录按钮 -->
|
|
|
- <el-form-item style="width: 100%; margin-top: 10px">
|
|
|
- <el-button
|
|
|
- :loading="loading"
|
|
|
- size="medium"
|
|
|
- type="primary"
|
|
|
- style="width: 100%;height: 60px"
|
|
|
- @click.native.prevent="getCode"
|
|
|
+ <el-checkbox
|
|
|
+ v-model="loginForm.rememberMe"
|
|
|
+ style="float: right; right: 0px; color: #999999"
|
|
|
+ >记住密码
|
|
|
+ </el-checkbox
|
|
|
>
|
|
|
- <span v-if="!loading" style="font-size: 24px">登 录</span>
|
|
|
- <span v-else>登 录 中...</span>
|
|
|
- </el-button>
|
|
|
- </el-form-item>
|
|
|
- <el-checkbox
|
|
|
- v-model="loginForm.rememberMe"
|
|
|
- style="float: right; right: 0px; color: #999999"
|
|
|
- >记住密码
|
|
|
- </el-checkbox
|
|
|
- >
|
|
|
- </el-form>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <!-- 注册 -->
|
|
|
+ <!-- <div class="rightUp">
|
|
|
+ <img
|
|
|
+ src="../assets/images/upRight1.png"
|
|
|
+ style="width: 100%; height: 100%"
|
|
|
+ />
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
- <!-- 注册 -->
|
|
|
- <!-- <div class="rightUp">
|
|
|
- <img
|
|
|
- src="../assets/images/upRight1.png"
|
|
|
- style="width: 100%; height: 100%"
|
|
|
- />
|
|
|
- </div> -->
|
|
|
- </div>
|
|
|
- <div class="loginTitle">
|
|
|
- <span class="loginTitleStr">赋 予 装 备 智 慧 动 能 · 构 建 场 景 数 字 脉 络</span>
|
|
|
- </div>
|
|
|
- <!-- 图形验证码 -->
|
|
|
- <Verify
|
|
|
- ref="verify"
|
|
|
- :captcha-type="'blockPuzzle'"
|
|
|
- :img-size="{ width: '400px', height: '200px' }"
|
|
|
- @success="handleLogin"
|
|
|
- />
|
|
|
-
|
|
|
- </div>
|
|
|
+ <div class="loginTitle">
|
|
|
+ <span class="loginTitleStr">赋 予 装 备 智 慧 动 能 · 构 建 场 景 数 字 脉 络</span>
|
|
|
+ </div>
|
|
|
+ <!-- 图形验证码 -->
|
|
|
+ <Verify
|
|
|
+ ref="verify"
|
|
|
+ :captcha-type="'blockPuzzle'"
|
|
|
+ :img-size="{ width: '400px', height: '200px' }"
|
|
|
+ @success="handleLogin"
|
|
|
+ />
|
|
|
|
|
|
- <!-- footer class="footer"-->
|
|
|
- <div style="margin-top: 50px;text-align: center;font-size: 20px">
|
|
|
- <div style="margin: 10px 0">
|
|
|
- <a style="margin: 0 15px">会山科技</a> |
|
|
|
- <a style="margin: 0 15px">版权所有</a> |
|
|
|
- <a style="margin: 0 15px">市场合作</a> |
|
|
|
- <a style="margin: 0 15px">关于会助理</a> |
|
|
|
- <a style="margin: 0 15px">使用协议</a> |
|
|
|
- <a style="margin: 0 15px">隐私条款</a>
|
|
|
</div>
|
|
|
- <div style="margin: 10px 0">
|
|
|
- {{ version }} <span style="margin-left: 30px">开发者:会山科技</span>
|
|
|
+ <div style="padding: 3% 12%" ref="sortableContainer">
|
|
|
+ <!-- <div shadow="hover" v-for="(item,index) in [1,2,3,4,5,6]" :key="index"-->
|
|
|
+ <div shadow="hover" v-for="(item,index1) in loginModuleData" :key="index1"
|
|
|
+ class="module-item"
|
|
|
+ :style="{height: vModuleHeight +'px'}"
|
|
|
+ >
|
|
|
+ <div style="height: 12%;padding: 10px 10px 5px"
|
|
|
+ :style="{fontSize: vModuleFontSize1 +'px'}"
|
|
|
+ >
|
|
|
+ {{ item.name }}
|
|
|
+ </div>
|
|
|
+ <div style="height: 78%;padding:10px 10px 10px">
|
|
|
+ <div style="height: 85%">
|
|
|
+ <img :src="item.imgUrls" width="100%" height="100%">
|
|
|
+ </div>
|
|
|
+ <div style="height: 15%;text-align: center;margin: 10px 0"
|
|
|
+ :style="{fontSize: vModuleFontSize2 +'px'}"
|
|
|
+ >
|
|
|
+ {{ item.digest }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="text-align: center;height: 11%;">
|
|
|
+ <el-button size="mini" slot="reference" type="primary">了解详情<i class="el-icon-arrow-right"></i></el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="padding: 1% 12%; margin: 1.2%;">
|
|
|
+ <div class="bottomMod" v-html="bottomModData.pageContent"></div>
|
|
|
</div>
|
|
|
- <div style="margin: 10px 0">
|
|
|
- 沪 I C P 备 1 9 0 0 7 0 6 1 号 - 1
|
|
|
+ <!-- footer class="footer"-->
|
|
|
+ <div style="margin-top: 50px;text-align: center;font-size: 20px"
|
|
|
+ :style="{fontSize: bottomFontSize +'px'}"
|
|
|
+ >
|
|
|
+ <div style="margin: 10px 0">
|
|
|
+ <a style="margin: 0 15px">会山科技</a> |
|
|
|
+ <a style="margin: 0 15px">版权所有</a> |
|
|
|
+ <a style="margin: 0 15px">市场合作</a> |
|
|
|
+ <a style="margin: 0 15px">关于会助理</a> |
|
|
|
+ <a style="margin: 0 15px">使用协议</a> |
|
|
|
+ <a style="margin: 0 15px">隐私条款</a>
|
|
|
+ </div>
|
|
|
+ <div style="margin: 10px 0">
|
|
|
+ {{ version }} <span style="margin-left: 30px">开发者:会山科技</span>
|
|
|
+ </div>
|
|
|
+ <div style="margin: 10px 0">
|
|
|
+ 沪 I C P 备 1 9 0 0 7 0 6 1 号 - 1
|
|
|
+ </div>
|
|
|
+ Copyright © 2023-2024 willalp.com All Rights Reserved.
|
|
|
</div>
|
|
|
- Copyright © 2023-2024 willalp.com All Rights Reserved.
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -218,15 +248,15 @@ import {
|
|
|
checkScanStatus,
|
|
|
loginScan,
|
|
|
loginScanResult,
|
|
|
- getVerify,
|
|
|
-} from "@/api/login";
|
|
|
+ getVerify
|
|
|
+} from '@/api/login'
|
|
|
import {
|
|
|
getTenantIdByName,
|
|
|
getAllTenantList,
|
|
|
- getAllTenantListByPhone,
|
|
|
-} from "@/api/system/tenant";
|
|
|
-import { SystemUserSocialTypeEnum } from "@/utils/constants";
|
|
|
-import { getCaptchaEnable, getTenantEnable } from "@/utils/ruoyi";
|
|
|
+ getAllTenantListByPhone
|
|
|
+} from '@/api/system/tenant'
|
|
|
+import { SystemUserSocialTypeEnum } from '@/utils/constants'
|
|
|
+import { getCaptchaEnable, getTenantEnable } from '@/utils/ruoyi'
|
|
|
import {
|
|
|
getPassword,
|
|
|
getRememberMe,
|
|
@@ -244,21 +274,29 @@ import {
|
|
|
setUsername,
|
|
|
setMobile,
|
|
|
setVerifyInCode,
|
|
|
- setCaptchaKey,
|
|
|
-} from "@/utils/auth";
|
|
|
+ setCaptchaKey
|
|
|
+} from '@/utils/auth'
|
|
|
|
|
|
-import Verify from "@/components/Verifition/Verify";
|
|
|
-import { resetUserPwd, getUsernameByMobile } from "@/api/system/user";
|
|
|
-import topMenu from "./components/login/topMenu.vue";
|
|
|
+import Verify from '@/components/Verifition/Verify'
|
|
|
+import { resetUserPwd, getUsernameByMobile } from '@/api/system/user'
|
|
|
+import topMenu from './components/login/topMenu.vue'
|
|
|
+import { getConfigData } from '@/api/infra/config'
|
|
|
+import { getLoginPagePopularizeModuleConfigPage } from '@/api/supplier/loginPagePopularizeModuleConfig'
|
|
|
|
|
|
export default {
|
|
|
name: 'Login',
|
|
|
components: {
|
|
|
Verify,
|
|
|
- topMenu,
|
|
|
+ topMenu
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ bottomModData: '',
|
|
|
+ loginModuleData: [],
|
|
|
+ vModuleHeight: window.innerHeight * 0.45,
|
|
|
+ vModuleFontSize1: window.innerHeight * 0.022,
|
|
|
+ vModuleFontSize2: window.innerHeight * 0.015,
|
|
|
+ bottomFontSize: window.innerHeight * 0.018,
|
|
|
version: '会助理平台 v2.0.2 版',
|
|
|
options: [],
|
|
|
states: [],
|
|
@@ -280,7 +318,6 @@ export default {
|
|
|
mobile: '',
|
|
|
password: '',
|
|
|
captchaVerification: '',
|
|
|
- mobile: '',
|
|
|
mobileCode: '',
|
|
|
rememberMe: false,
|
|
|
tenantName: '',
|
|
@@ -342,10 +379,17 @@ export default {
|
|
|
sessionStorage.clear()
|
|
|
},
|
|
|
created() {
|
|
|
+ //监听窗口大小变化
|
|
|
+ window.addEventListener('resize', this.adVModuleHeightHeight)
|
|
|
getVerify().then((res) => {
|
|
|
this.verifyCode = res.captchaImg
|
|
|
this.verifyKey = res.captchaKey
|
|
|
})
|
|
|
+ getConfigData('login_module').then(res => {
|
|
|
+ if (res.data) {
|
|
|
+ this.loginModuleData = JSON.parse(res.data.value)
|
|
|
+ }
|
|
|
+ })
|
|
|
// 机构开关
|
|
|
this.tenantEnable = getTenantEnable()
|
|
|
if (this.tenantEnable) {
|
|
@@ -366,8 +410,41 @@ export default {
|
|
|
: undefined
|
|
|
this.getCookie()
|
|
|
this.generateErWeima()
|
|
|
+ this.getLoginPageData('bottomMod', 3, this.bottomModData)
|
|
|
},
|
|
|
methods: {
|
|
|
+ /** 查询列表 */
|
|
|
+ getLoginPageData(parentId, type, data) {
|
|
|
+ let queryParams = {
|
|
|
+ type: type,
|
|
|
+ parentId: parentId,
|
|
|
+ status: 1
|
|
|
+ }
|
|
|
+ // 执行查询
|
|
|
+ getLoginPagePopularizeModuleConfigPage(queryParams).then(response => {
|
|
|
+ if (response.data) {
|
|
|
+ switch (parentId) {
|
|
|
+ case 'aboutHZL':
|
|
|
+ this.aboutHZLData = response.data.list[0]
|
|
|
+ break
|
|
|
+ case 'bottomMod':
|
|
|
+ this.bottomModData = response.data.list[0]
|
|
|
+ if (this.bottomModData) {
|
|
|
+ this.bottomModData.pageContent = this.bottomModData.pageContent.replace(/<img/g,
|
|
|
+ "<img style='width:100%;height:auto;'")
|
|
|
+ }
|
|
|
+ break
|
|
|
+ default:
|
|
|
+ response.data.list.forEach(item => {
|
|
|
+ data.data.push(item)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ adVModuleHeightHeight() {
|
|
|
+ this.vModuleHeight = window.innerHeight * 0.45
|
|
|
+ },
|
|
|
moblieBlur() {
|
|
|
getAllTenantListByPhone(this.loginForm.mobile).then((response) => {
|
|
|
this.states = response.data
|
|
@@ -445,7 +522,7 @@ export default {
|
|
|
checkScanStatus(this.qrcodeId).then((res) => {
|
|
|
let scanState = res.data
|
|
|
if (scanState == null) {
|
|
|
- this.imgData = require('../assets/images/reflushErWei.png')
|
|
|
+ this.imgData = require('@/assets/images/reflushErWei.png')
|
|
|
this.reflushFlag = true
|
|
|
clearInterval(this.timer)
|
|
|
this.$modal.msgError('二维码已过期,请刷新二维码后重试')
|
|
@@ -473,7 +550,7 @@ export default {
|
|
|
this.effectiveTime--
|
|
|
} else {
|
|
|
clearInterval(this.timer)
|
|
|
- this.imgData = require('../assets/images/reflushErWei.png')
|
|
|
+ this.imgData = require('@/assets/images/reflushErWei.png')
|
|
|
this.reflushFlag = true
|
|
|
}
|
|
|
}, 1000)
|
|
@@ -630,6 +707,19 @@ export default {
|
|
|
//.el-form-item {
|
|
|
// margin-bottom: 20px !important;
|
|
|
//}
|
|
|
+.bottomMod img {
|
|
|
+ width: 100%;
|
|
|
+ height: auto;
|
|
|
+}
|
|
|
+
|
|
|
+.module-item {
|
|
|
+ display: inline-block;
|
|
|
+ width: 30%;
|
|
|
+ border-radius: 10px;
|
|
|
+ margin: 1.2%;
|
|
|
+ box-shadow: 0 0 15px #c0cfe2;
|
|
|
+ /*transition: transform 0.1s ease;*/
|
|
|
+}
|
|
|
|
|
|
.loginTitle {
|
|
|
position: absolute;
|
|
@@ -643,7 +733,7 @@ export default {
|
|
|
color: #4588f6;
|
|
|
font-size: 28px;
|
|
|
bottom: 12%;
|
|
|
- right: 13%;
|
|
|
+ right: 9%;
|
|
|
}
|
|
|
|
|
|
::v-deep .el-input__inner {
|
|
@@ -684,7 +774,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.processPic {
|
|
|
- //margin-top: 1%;
|
|
|
+ //margin-top: 1%;
|
|
|
// margin-left: 3%;
|
|
|
width: 35%;
|
|
|
}
|