+
-
- 还没账号?
点击注册
+
+ 还没账号? 点击注册
@@ -164,15 +158,22 @@
import MiniRegister from './MiniRegister.vue';
import MiniCodelogin from './MiniCodelogin.vue';
// import logoImg from '/@/assets/loginmini/icon/jeecg_logo.png';
- import logoImg from '/public/resource/img/comp/comp_logo.png';
+ // import logoImg from '/public/resource/img/comp/comp_logo.png';
import SvgIcon from '/@/components/Icon/src/SvgIcon.vue';
// import adTextImg from '/@/assets/loginmini/icon/jeecg_ad_text.png';
import { AppLocalePicker, AppDarkModeToggle } from '/@/components/Application';
import { useLocaleStore } from '/@/store/modules/locale';
- import { useDesign } from "/@/hooks/web/useDesign";
- import { useAppInject } from "/@/hooks/web/useAppInject";
+ import { useDesign } from '/@/hooks/web/useDesign';
+ import { useAppInject } from '/@/hooks/web/useAppInject';
import { GithubFilled, WechatFilled, DingtalkCircleFilled, createFromIconfontCN } from '@ant-design/icons-vue';
-
+ import { getConfig } from '/@/api/sys/setting';
+ const logoImg = ref('');
+ const getConfigEvent = async () => {
+ const res = await getConfig();
+ console.log(res, 'res');
+ logoImg.value = `${import.meta.env.VITE_GLOB_DOMAIN_URL}/${res.logo}`;
+ };
+ getConfigEvent();
const IconFont = createFromIconfontCN({
scriptUrl: '//at.alicdn.com/t/font_2316098_umqusozousr.js',
});
@@ -393,7 +394,7 @@
*/
function handleSuccess(value) {
Object.assign(formData, value);
- Object.assign(phoneFormData, { mobile: "", smscode: "" });
+ Object.assign(phoneFormData, { mobile: '', smscode: '' });
type.value = 'login';
activeIndex.value = 'accountLogin';
handleChangeCheckCode();
@@ -437,7 +438,6 @@
right: 0px;
z-index: 9;
-
.card {
width: 100px;
height: 100px;
@@ -463,13 +463,12 @@
font-family: Microsoft YaHei, Microsoft YaHei;
font-weight: 400;
font-size: 13px;
- color: #FFFFFF;
+ color: #ffffff;
line-height: 17px;
text-align: center;
font-style: normal;
text-transform: none;
}
-
}
.bas {
@@ -479,12 +478,11 @@
}
.bot {
- background: #A7B2C6;
+ background: #a7b2c6;
border-bottom-left-radius: 20px;
}
}
-
:deep(.ant-input:focus) {
box-shadow: none;
}
@@ -510,112 +508,115 @@
color: #aaa !important;
}
- :deep(.jeecg-dark-switch){
- position:absolute;
+ :deep(.jeecg-dark-switch) {
+ position: absolute;
margin-right: 10px;
}
- .aui-link-login{
+ .aui-link-login {
height: 42px;
padding: 10px 15px;
font-size: 14px;
border-radius: 8px;
margin-top: 15px;
margin-bottom: 8px;
- background: linear-gradient(90deg, rgba(102,249,205,1) 0%, rgba(2,221,221,1) 100%);
+ background: linear-gradient(90deg, rgba(102, 249, 205, 1) 0%, rgba(2, 221, 221, 1) 100%);
border: none;
}
- .aui-phone-logo{
+ .aui-phone-logo {
position: absolute;
margin-left: 10px;
width: 60px;
- top:2px;
+ top: 2px;
z-index: 4;
}
- .top-3{
+ .top-3 {
top: 0.45rem;
}