|
@@ -1,6 +1,6 @@
|
|
|
<template xmlns="">
|
|
|
<div class="container">
|
|
|
- <div class="logo"></div>
|
|
|
+ <!-- <div class="logo"></div> -->
|
|
|
<!-- 登录区域 -->
|
|
|
<div class="content">
|
|
|
<!-- 配图 -->
|
|
@@ -9,7 +9,7 @@
|
|
|
<div class="field">
|
|
|
<!-- [移动端]标题 -->
|
|
|
<h2 class="mobile-title">
|
|
|
- <h3 class="title">芋道后台管理系统</h3>
|
|
|
+ <h3 class="title">后台管理系统</h3>
|
|
|
</h2>
|
|
|
|
|
|
<!-- 表单 -->
|
|
@@ -17,16 +17,16 @@
|
|
|
<el-tabs class="form" v-model="loginForm.loginType" style=" float:none;">
|
|
|
<el-tab-pane label="账号密码登录" name="uname">
|
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="短信验证码登录" name="sms">
|
|
|
- </el-tab-pane>
|
|
|
+ <!-- <el-tab-pane label="短信验证码登录" name="sms">
|
|
|
+ </el-tab-pane> -->
|
|
|
</el-tabs>
|
|
|
<div>
|
|
|
<el-form ref="loginForm" :model="loginForm" :rules="LoginRules" class="login-form">
|
|
|
- <el-form-item prop="tenantName" v-if="tenantEnable">
|
|
|
+ <!-- <el-form-item prop="tenantName" v-if="tenantEnable">
|
|
|
<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> -->
|
|
|
<!-- 账号密码登录 -->
|
|
|
<div v-if="loginForm.loginType === 'uname'">
|
|
|
<el-form-item prop="username">
|
|
@@ -75,22 +75,22 @@
|
|
|
</el-form-item>
|
|
|
|
|
|
<!-- 社交登录 -->
|
|
|
- <el-form-item style="width:100%;">
|
|
|
+ <!-- <el-form-item style="width:100%;">
|
|
|
<div class="oauth-login" style="display:flex">
|
|
|
<div class="oauth-login-item" v-for="item in SysUserSocialTypeEnum" :key="item.type" @click="doSocialLogin(item)">
|
|
|
<img :src="item.img" height="25px" width="25px" alt="登录" >
|
|
|
<span>{{item.title}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item> -->
|
|
|
|
|
|
<!-- 教程说明 -->
|
|
|
- <el-form-item style="width:100%; margin-top:-25px">
|
|
|
+ <!-- <el-form-item style="width:100%; margin-top:-25px">
|
|
|
<el-link href="https://doc.iocoder.cn/" target="_blank">📚开发指南</el-link>
|
|
|
<el-link href="https://doc.iocoder.cn/video/" target="_blank" style="padding-left: 10px">🔥视频教程</el-link>
|
|
|
<el-link href="https://www.iocoder.cn/Interview/good-collection/" target="_blank" style="padding-left: 10px">⚡面试手册</el-link>
|
|
|
<el-link href="http://static.yudao.iocoder.cn/mp/Aix9975.jpeg" target="_blank" style="padding-left: 10px">🤝外包咨询</el-link>
|
|
|
- </el-form-item>
|
|
|
+ </el-form-item> -->
|
|
|
</el-form>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -139,13 +139,13 @@ export default {
|
|
|
mobileCodeTimer: 0,
|
|
|
loginForm: {
|
|
|
loginType: "uname",
|
|
|
- username: "admin",
|
|
|
- password: "admin123",
|
|
|
+ username: "",
|
|
|
+ password: "",
|
|
|
captchaVerification: "",
|
|
|
mobile: "",
|
|
|
mobileCode: "",
|
|
|
rememberMe: false,
|
|
|
- tenantName: "芋道源码",
|
|
|
+ tenantName: "点餐系统",
|
|
|
},
|
|
|
scene: 21,
|
|
|
|