feat(xumu): 实现畜牧平台登录页面
- 新增登录页面组件 AppSign - 添加用户名和密码登录功能 - 集成二维码登录 - 优化页面样式和布局
This commit is contained in:
@@ -9,8 +9,9 @@ import CryptoJs from "crypto-js";
|
||||
export const $encryption = (params, c = 0) => {
|
||||
if (CryptoJs) {
|
||||
const key = "thanks,villcloud"
|
||||
let password = typeof params == "object" ? params.password : params
|
||||
let iv = CryptoJs.enc.Latin1.parse(key)
|
||||
let encrypted = CryptoJs.AES.encrypt(params.password, iv, {
|
||||
let encrypted = CryptoJs.AES.encrypt(password, iv, {
|
||||
iv,
|
||||
mode: CryptoJs.mode.CBC,
|
||||
padding: CryptoJs.pad.ZeroPadding
|
||||
|
||||
@@ -80,12 +80,21 @@ $--font-path: '~element-ui/lib/theme-chalk/fonts';
|
||||
/**
|
||||
不换行文本
|
||||
*/
|
||||
.nowrap-text {
|
||||
.nowrap-text, .t-nowrap {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.t-center {
|
||||
text-align: center;
|
||||
}
|
||||
.t-bold{
|
||||
font-weight: bold;
|
||||
}
|
||||
.t-right{
|
||||
text-align: right;
|
||||
}
|
||||
/**
|
||||
表头式样
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user