oak-general-business/lib/entities/Passport.js

44 lines
1.2 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.entityDesc = void 0;
;
exports.entityDesc = {
locales: {
zh_CN: {
name: '登录方式',
attr: {
system: '系统',
type: '登录方式',
config: '登录方式配置',
enabled: '是否启用',
},
v: {
type: {
email: '邮箱',
sms: '短信',
password: '密码',
wechatMp: '小程序',
wechatPublic: '公众号',
wechatWeb: '微信网站',
wechatMpForWeb: '小程序授权',
wechatPublicForWeb: '公众号授权'
},
},
},
},
style: {
color: {
type: {
password: '#00BFFF',
sms: '#F0F8FF',
email: '#FFA07A',
wechatWeb: '#90EE90',
wechatPublic: '#32CD32',
wechatMp: '#3CB371',
wechatMpForWeb: '#006400',
wechatPublicForWeb: '#008000',
}
}
}
};