|
@@ -36,8 +36,10 @@
|
|
|
<i class="iconfont icon_mima" />
|
|
<i class="iconfont icon_mima" />
|
|
|
</template>
|
|
</template>
|
|
|
<template #suffix>
|
|
<template #suffix>
|
|
|
- <i v-if="passWord" class="iconfont" :class="showPass ? 'icon_xianshimima' : 'icon_buxianshimima'"
|
|
|
|
|
- @click.stop="showPass = !showPass"></i>
|
|
|
|
|
|
|
+ <span @click.stop="showPass = !showPass">
|
|
|
|
|
+ <i v-if="showPass" class="iconfont icon_xianshimima"></i>
|
|
|
|
|
+ <i v-else class="iconfont icon_buxianshimima"></i>
|
|
|
|
|
+ </span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-input> -->
|
|
</el-input> -->
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -92,7 +94,7 @@ const userName = ref('')
|
|
|
const passWord = ref('')
|
|
const passWord = ref('')
|
|
|
const remeberPassWord = ref(false)
|
|
const remeberPassWord = ref(false)
|
|
|
const loadingLogin = ref(false)
|
|
const loadingLogin = ref(false)
|
|
|
-// const showPass = ref(false)
|
|
|
|
|
|
|
+const showPass = ref(false)
|
|
|
// 粒子动画初始化
|
|
// 粒子动画初始化
|
|
|
const InitParticles = () => {
|
|
const InitParticles = () => {
|
|
|
const particlesConfig = {
|
|
const particlesConfig = {
|