功能变化: 兼容扫码登录插件

pull/71/MERGE
李强 2022-10-31 09:57:57 +08:00
parent e61e0c152a
commit 9acc5e270e
4 changed files with 20 additions and 6 deletions

View File

@ -37,6 +37,7 @@
"lowdb": "^1.0.0",
"nprogress": "^0.2.0",
"qiankun": "^2.7.2",
"qrcodejs2": "^0.0.2",
"screenfull": "^5.0.2",
"sortablejs": "^1.10.1",
"ua-parser-js": "^0.7.20",

View File

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1666798594366" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2218" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><path d="M512 2C230.2 2 2 230.2 2 512s228.2 510 510 510 510-228.2 510-510S793.3 2 512 2z m235.9 442c-1 4.6-3.6 10.8-7.2 19.1l-0.5 0.5c-21.6 45.8-77.3 135.5-77.3 135.5l-0.5-0.5-16.5 28.3h78.8L574.3 826.8l34-136h-61.8l21.6-90.2c-17.5 4.1-38.1 9.8-62.3 18 0 0-33 19.1-94.8-37.1 0 0-41.7-37.1-17.5-45.8 10.3-4.1 50-8.8 81.4-12.9 42.2-5.7 68.5-8.8 68.5-8.8s-130.3 2.1-161.2-3.1c-30.9-4.6-70.1-56.7-78.3-102 0 0-12.9-24.7 27.8-12.9 40.2 11.8 209.2 45.8 209.2 45.8S321.4 375 307 358.5c-14.4-16.5-42.8-89.6-39.2-134.5 0 0 1.5-11.3 12.9-8.2 0 0 161.8 74.2 272.5 114.4C664.5 371.4 760.8 392 747.9 444z" fill="#ffffff" p-id="2219"></path></svg>

After

Width:  |  Height:  |  Size: 957 B

View File

@ -121,7 +121,7 @@ img {
/*-- form styling --*/
.w3l-form-info {
padding-top: 6em;
padding-top: 2em;
}
.w3l-signinform{
padding: 40px 40px;
@ -241,8 +241,10 @@ img {
.w3_info {
padding: 1em 1em;
background: transparent;
max-width: 450px;
width: 450px;
display: grid;
position: fixed;
right: 12vw;
margin-left: auto;
}
@ -317,7 +319,7 @@ h5 {
color: #000;
}
.footer {
padding-top: 3em;
padding-top: 1em;
}
.footer p {
text-align: center;

View File

@ -68,9 +68,10 @@
</el-input>
</el-form-item>
</el-form>
<button class="btn btn-primary btn-block" @click="submit">
<button class="btn btn-primary btn-block" style="padding: 10px 10px;" @click="submit">
登录
</button>
<component v-if="componentTag" :is="componentTag"></component>
</el-tab-pane>
</el-tabs>
</el-card>
@ -125,16 +126,25 @@
</template>
<script>
import base from './base.vue'
const pluginImport = require('@/libs/util.import.plugin')
export default {
extends: base,
name: 'page',
data () {
return {
activeName: 'first'
activeName: 'first',
componentTag: ''
}
},
created () {
//
var componentTag = ''
try {
componentTag = pluginImport('dvadmin-third-web/src/login/index')
} catch (error) {
componentTag = ''
}
this.componentTag = componentTag
},
mounted () {
},