GitBucket
4.6.0
Toggle navigation
Sign in
Files
Branches
1
Tags
Issues
Pull Requests
Labels
Milestones
Wiki
08335
/
hivui-platform-template
hivui平台项目模板
Browse code
@中文描述:系统初始化页面添加多语言
@升级登记:1 @同步后端:0 @同步数据库:0 @同步配置:0 @向下兼容:1
master
1 parent
344e03e
commit
06dabefd6b093b18b37a708c480351b5e262a36f
20278
authored
on 4 Apr 2023
Showing
4 changed files
project/hivuiLogin/index.html
project/hivuiLogin/lang/zh-CN.js
project/hivuiMain/index.html
project/hivuiMain/lang/zh-CN.js
Ignore Space
Show notes
View
project/hivuiLogin/index.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0"> <title>EAP5-Admin-Login</title> <link id="fav_icon" rel="icon" href="" type="image/x-icon"> <% if(htmlWebpackPlugin.vite){%> <!--预览时 公共库--> <link rel="stylesheet" href="/assets_platform/element-ui/index.css"> <script src="/assets_platform/vue/vue.min.js"></script> <script src="/assets_platform/vuex/vuex.min.js"></script> <script src="/assets_platform/vue-router/vue-router.min.js"></script> <script src="/assets_platform/element-ui/index.js"></script> <script src="/assets_platform/eap/eap.umd.min.js"></script> <%}%> <% if(!htmlWebpackPlugin.vite){%> <link rel="stylesheet" href="${serverPath}/render/assets_platform/element-ui/index.css"> <script src="${serverPath}/render/assets_platform/vue/vue.min.js"></script> <script src="${serverPath}/render/assets_platform/vuex/vuex.min.js"></script> <script src="${serverPath}/render/assets_platform/vue-router/vue-router.min.js"></script> <script src="${serverPath}/render/assets_platform/element-ui/index.js"></script> <script src="${serverPath}/render/assets_platform/vue-i18n/vue-i18n.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/lang/element-ui/${locale}.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/lang/hi-ui/${locale}.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/hivuiLogin/lang/${locale}.js"></script> <script> try{ // 统一输出语言包 zh-CN 名 if(!window.GLOBAL_LANG_TPL){ console.error(window.location.href+',当前模板语言包不存在') } if(!window.GLOBAL_LANG_HIUI){ console.error(window.location.href+',hiui语言包不存在') } Vue.prototype._i18n = new VueI18n({ locale: 'localelang', messages: { 'localelang':Object.assign({},window.GLOBAL_LANG_TPL||{},window.GLOBAL_LANG_HIUI||{},window.GLOBAL_LANG_PROJECT||{},window.GLOBAL_LANG_MODULE||{}), } }); (function(lang){ lang = lang.split('-'); lang= lang[0]+((lang[1]||'').charAt(0).toUpperCase() + (lang[1]||'').slice(1)); ELEMENT.locale(ELEMENT.lang[lang]) })('${locale}'); }catch(e){ console.log('语言包加载出错!') } </script> <!--发布时 公共库--> <!-- <script src="${serverPath}/render/assets_platform/vendor_dll/vuelibs.dll.js"></script> --> <script src="${serverPath}/render/assets_platform/vendor_dll/vendor.dll.js"></script> <script src="${serverPath}/render/assets_platform/eap/eap.umd.min.js"></script> <%}%> </head> <body> <div id="app"> <div style="padding:50px 0;text-align:center;"> <div> <img id="main_loading_logo" src="" /> </div> <div><span class="sysInit"></span><a href="javascript:location.reload();"><span class="clickRefresh"></span></a></div> </div> </div> <script> if(GLOBAL_LANG_TPL){ document.querySelector(".sysInit").innerText=GLOBAL_LANG_TPL.hivuiLogin_sysInit; document.querySelector(".clickRefresh").innerText=GLOBAL_LANG_TPL.hivuiLogin_clickRefresh; } let _img=window.customSysCofig&&window.customSysCofig.sysLoadLogo&&window.customSysCofig.sysLoadLogo.src; document.getElementById("main_loading_logo").src=(_img||(window._global?"./assets/logo_max.png":"./static/img/logo_max.png")); if(window.customSysCofig){ if(window.customSysCofig.syTitle){ document.title=window.customSysCofig.syTitle; } if(window.customSysCofig.favicon){ document.getElementById("fav_icon").href=window.customSysCofig.favicon; } } <% if(!htmlWebpackPlugin.vite){%> window.__loginCfg={ pageType:"${pageType}", redirect:"${redirect}", } <%}%> </script> <% if(htmlWebpackPlugin.vite==true){%> <script type="module" src="./index.js"></script> <script> //预览时判断1.5s还没有加载完,自动重刷 var _winLoadedCtrl = window.setInterval(function(){ if(document.getElementById("main_loading_logo")){ window.location.reload(); }else{ window.clearInterval(_winLoadedCtrl); } },5000) </script> <%}%> <!-- built files will be auto injected --> </body> </html>
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0"> <title>EAP5-Admin-Login</title> <link id="fav_icon" rel="icon" href="" type="image/x-icon"> <% if(htmlWebpackPlugin.vite){%> <!--预览时 公共库--> <link rel="stylesheet" href="/assets_platform/element-ui/index.css"> <script src="/assets_platform/vue/vue.min.js"></script> <script src="/assets_platform/vuex/vuex.min.js"></script> <script src="/assets_platform/vue-router/vue-router.min.js"></script> <script src="/assets_platform/element-ui/index.js"></script> <script src="/assets_platform/eap/eap.umd.min.js"></script> <%}%> <% if(!htmlWebpackPlugin.vite){%> <link rel="stylesheet" href="${serverPath}/render/assets_platform/element-ui/index.css"> <script src="${serverPath}/render/assets_platform/vue/vue.min.js"></script> <script src="${serverPath}/render/assets_platform/vuex/vuex.min.js"></script> <script src="${serverPath}/render/assets_platform/vue-router/vue-router.min.js"></script> <script src="${serverPath}/render/assets_platform/element-ui/index.js"></script> <script src="${serverPath}/render/assets_platform/vue-i18n/vue-i18n.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/lang/element-ui/${locale}.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/lang/hi-ui/${locale}.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/hivuiLogin/lang/${locale}.js"></script> <script> try{ // 统一输出语言包 zh-CN 名 if(!window.GLOBAL_LANG_TPL){ console.error(window.location.href+',当前模板语言包不存在') } if(!window.GLOBAL_LANG_HIUI){ console.error(window.location.href+',hiui语言包不存在') } Vue.prototype._i18n = new VueI18n({ locale: 'localelang', messages: { 'localelang':Object.assign({},window.GLOBAL_LANG_TPL||{},window.GLOBAL_LANG_HIUI||{},window.GLOBAL_LANG_PROJECT||{},window.GLOBAL_LANG_MODULE||{}), } }); (function(lang){ lang = lang.split('-'); lang= lang[0]+((lang[1]||'').charAt(0).toUpperCase() + (lang[1]||'').slice(1)); ELEMENT.locale(ELEMENT.lang[lang]) })('${locale}'); }catch(e){ console.log('语言包加载出错!') } </script> <!--发布时 公共库--> <!-- <script src="${serverPath}/render/assets_platform/vendor_dll/vuelibs.dll.js"></script> --> <script src="${serverPath}/render/assets_platform/vendor_dll/vendor.dll.js"></script> <script src="${serverPath}/render/assets_platform/eap/eap.umd.min.js"></script> <%}%> </head> <body> <div id="app"> <div style="padding:50px 0;text-align:center;"> <div> <img id="main_loading_logo" src="" /> </div> <div>系统初始化中...<a href="javascript:location.reload();">【点我刷新】</a></div> </div> </div> <script> let _img=window.customSysCofig&&window.customSysCofig.sysLoadLogo&&window.customSysCofig.sysLoadLogo.src; document.getElementById("main_loading_logo").src=(_img||(window._global?"./assets/logo_max.png":"./static/img/logo_max.png")); if(window.customSysCofig){ if(window.customSysCofig.syTitle){ document.title=window.customSysCofig.syTitle; } if(window.customSysCofig.favicon){ document.getElementById("fav_icon").href=window.customSysCofig.favicon; } } <% if(!htmlWebpackPlugin.vite){%> window.__loginCfg={ pageType:"${pageType}", redirect:"${redirect}", } <%}%> </script> <% if(htmlWebpackPlugin.vite==true){%> <script type="module" src="./index.js"></script> <script> //预览时判断1.5s还没有加载完,自动重刷 var _winLoadedCtrl = window.setInterval(function(){ if(document.getElementById("main_loading_logo")){ window.location.reload(); }else{ window.clearInterval(_winLoadedCtrl); } },5000) </script> <%}%> <!-- built files will be auto injected --> </body> </html>
Ignore Space
Show notes
View
project/hivuiLogin/lang/zh-CN.js
var GLOBAL_LANG_TPL = { "hivuiLogin_sysInit": "系统初始化中...", "hivuiLogin_clickRefresh": "【点我刷新】", "hivuiLogin_pw_weak": "弱", "hivuiLogin_pw_middle": "中", "hivuiLogin_pw_strong": "高", "hivuiLogin_reset_phone": "手机号", "hivuiLogin_reset_password_tip": "请输入密码", "hivuiLogin_reset_captcha": "验证码", "hivuiLogin_reset_getCaptcha": "获取验证码", "hivuiLogin_reset_getAgain": "秒后再次获取", "hivuiLogin_reset_reset": "重置密码", "hivuiLogin_reset_def_copyright": "版权所有 © 2021-2025 中海创科技(福建)集团有限公司", "hivuiLogin_reset_phone_tip": "请填写手机号", "hivuiLogin_reset_phone_msg": "请填写正确的手机格式!", "hivuiLogin_reset_password_tip2": "请填写密码", "hivuiLogin_reset_password_msg1": "请输入至少", "hivuiLogin_reset_password_msg2": "位密码!", "hivuiLogin_reset_captcha_msg": "请填写验证码", "hivuiLogin_reset_reset_success": "密码重置成功", "hivuiLogin_main_def_title": "中海创科技", "hivuiLogin_main_def_copyright": "版权所有 © 2020-2025 中海创科技", "hivuiLogin_main_scan_login": "扫码登录", "hivuiLogin_main_user": "用户名/邮箱", "hivuiLogin_main_user_ph": "用户名", "hivuiLogin_main_pw": "登录密码", "hivuiLogin_main_pw_ph": "请输入密码", "hivuiLogin_main_save_user": "记住用户名", "hivuiLogin_main_forget_user": "忘记密码?", "hivuiLogin_main_login_btn": "登 录", "hivuiLogin_main_register1": "没有账号,", "hivuiLogin_main_register2": "马上注册!", "hivuiLogin_main_download": "APP下载", "hivuiLogin_main_pw_text": "密码登录", "hivuiLogin_main_login_fail": "登录失败!", "hivuiLogin_main_qr_fail": "二维码失效", "hivuiLogin_main_qr_refresh": "刷新二维码", "hivuiLogin_main_scan_success": "扫描成功!", "hivuiLogin_main_scan_text": "请在手机上根据提示确认登录", "hivuiLogin_main_app_text1": "打开", "hivuiLogin_main_app_text2": "海创科技App", "hivuiLogin_main_app_text3": "扫一扫登录", "hivuiLogin_main_forget_title": "忘记密码", "hivuiLogin_main_valid_user": "请输入用户名!", "hivuiLogin_main_valid_pw": "请输入密码!", "hivuiLogin_register_title": "注册", "hivuiLogin_register_box_title": "注册账号", "hivuiLogin_register_user": "账号", "hivuiLogin_register_phone": "手机号", "hivuiLogin_register_pw1": "请输入密码", "hivuiLogin_register_pw2": "确认密码", "hivuiLogin_register_captcha": "验证码", "hivuiLogin_register_submit": "立即注册", "hivuiLogin_register_tiptext1": "已有账号,", "hivuiLogin_register_tiptext2": "马上登录?", "hivuiLogin_register_valid_user": "请填写账号", "hivuiLogin_register_valid_user2": "账号长度超出,请重新输入!", "hivuiLogin_register_valid_phone": "请填写手机号", "hivuiLogin_register_valid_phone2": "请填写正确的手机格式!", "hivuiLogin_register_valid_pw": "请填写密码!", "hivuiLogin_register_valid_pw_msg": "请输入至少", "hivuiLogin_register_valid_pw_msg2": "位密码!", "hivuiLogin_register_valid_pw2": "请再次填写密码", "hivuiLogin_register_valid_pw2_msg": "两次输入密码不一致!", "hivuiLogin_register_valid_captcha": "请填写验证码", "hivuiLogin_register_success": "注册成功,即将返回登录页", }
var GLOBAL_LANG_TPL = { "hivuiLogin_pw_weak": "弱", "hivuiLogin_pw_middle": "中", "hivuiLogin_pw_strong": "高", "hivuiLogin_reset_phone": "手机号", "hivuiLogin_reset_password_tip": "请输入密码", "hivuiLogin_reset_captcha": "验证码", "hivuiLogin_reset_getCaptcha": "获取验证码", "hivuiLogin_reset_getAgain": "秒后再次获取", "hivuiLogin_reset_reset": "重置密码", "hivuiLogin_reset_def_copyright": "版权所有 © 2021-2025 中海创科技(福建)集团有限公司", "hivuiLogin_reset_phone_tip": "请填写手机号", "hivuiLogin_reset_phone_msg": "请填写正确的手机格式!", "hivuiLogin_reset_password_tip2": "请填写密码", "hivuiLogin_reset_password_msg1": "请输入至少", "hivuiLogin_reset_password_msg2": "位密码!", "hivuiLogin_reset_captcha_msg": "请填写验证码", "hivuiLogin_reset_reset_success": "密码重置成功", "hivuiLogin_main_def_title": "中海创科技", "hivuiLogin_main_def_copyright": "版权所有 © 2020-2025 中海创科技", "hivuiLogin_main_scan_login": "扫码登录", "hivuiLogin_main_user": "用户名/邮箱", "hivuiLogin_main_user_ph": "用户名", "hivuiLogin_main_pw": "登录密码", "hivuiLogin_main_pw_ph": "请输入密码", "hivuiLogin_main_save_user": "记住用户名", "hivuiLogin_main_forget_user": "忘记密码?", "hivuiLogin_main_login_btn": "登 录", "hivuiLogin_main_register1": "没有账号,", "hivuiLogin_main_register2": "马上注册!", "hivuiLogin_main_download": "APP下载", "hivuiLogin_main_pw_text": "密码登录", "hivuiLogin_main_login_fail": "登录失败!", "hivuiLogin_main_qr_fail": "二维码失效", "hivuiLogin_main_qr_refresh": "刷新二维码", "hivuiLogin_main_scan_success": "扫描成功!", "hivuiLogin_main_scan_text": "请在手机上根据提示确认登录", "hivuiLogin_main_app_text1": "打开", "hivuiLogin_main_app_text2": "海创科技App", "hivuiLogin_main_app_text3": "扫一扫登录", "hivuiLogin_main_forget_title": "忘记密码", "hivuiLogin_main_valid_user": "请输入用户名!", "hivuiLogin_main_valid_pw": "请输入密码!", "hivuiLogin_register_title": "注册", "hivuiLogin_register_box_title": "注册账号", "hivuiLogin_register_user": "账号", "hivuiLogin_register_phone": "手机号", "hivuiLogin_register_pw1": "请输入密码", "hivuiLogin_register_pw2": "确认密码", "hivuiLogin_register_captcha": "验证码", "hivuiLogin_register_submit": "立即注册", "hivuiLogin_register_tiptext1": "已有账号,", "hivuiLogin_register_tiptext2": "马上登录?", "hivuiLogin_register_valid_user": "请填写账号", "hivuiLogin_register_valid_user2": "账号长度超出,请重新输入!", "hivuiLogin_register_valid_phone": "请填写手机号", "hivuiLogin_register_valid_phone2": "请填写正确的手机格式!", "hivuiLogin_register_valid_pw": "请填写密码!", "hivuiLogin_register_valid_pw_msg": "请输入至少", "hivuiLogin_register_valid_pw_msg2": "位密码!", "hivuiLogin_register_valid_pw2": "请再次填写密码", "hivuiLogin_register_valid_pw2_msg": "两次输入密码不一致!", "hivuiLogin_register_valid_captcha": "请填写验证码", "hivuiLogin_register_success": "注册成功,即将返回登录页", }
Ignore Space
Show notes
View
project/hivuiMain/index.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0"> <title>EAP5-Admin-Main</title> <link id="fav_icon" rel="icon" href="" type="image/x-icon"> <% if(htmlWebpackPlugin.vite){%> <!--预览时 公共库--> <link rel="stylesheet" href="/assets_platform/element-ui/index.css"> <script src="/assets_platform/vue/vue.min.js"></script> <script src="/assets_platform/vuex/vuex.min.js"></script> <script src="/assets_platform/vue-router/vue-router.min.js"></script> <script src="/assets_platform/element-ui/index.js"></script> <script src="/assets_platform/eap/eap.umd.min.js"></script> <%}%> <% if(!htmlWebpackPlugin.vite){%> <link rel="stylesheet" href="${serverPath}/render/assets_platform/element-ui/index.css"> <script src="${serverPath}/render/assets_platform/vue/vue.min.js"></script> <script src="${serverPath}/render/assets_platform/vuex/vuex.min.js"></script> <script src="${serverPath}/render/assets_platform/vue-router/vue-router.min.js"></script> <script src="${serverPath}/render/assets_platform/element-ui/index.js"></script> <script src="${serverPath}/render/assets_platform/vue-i18n/vue-i18n.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/lang/element-ui/${locale}.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/lang/hi-ui/${locale}.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/lang/project/${locale}.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/hivuiMain/lang/${locale}.js"></script> <script> try{ // 统一输出语言包 zh-CN 名 if(!window.GLOBAL_LANG_TPL){ console.error(window.location.href+',当前模板语言包不存在') } if(!window.GLOBAL_LANG_HIUI){ console.error(window.location.href+',hiui语言包不存在') } Vue.prototype._i18n = new VueI18n({ locale: 'localelang', messages: { 'localelang':Object.assign({},window.GLOBAL_LANG_TPL||{},window.GLOBAL_LANG_HIUI||{},window.GLOBAL_LANG_PROJECT||{},window.GLOBAL_LANG_MODULE||{}), } }); (function(lang){ lang = lang.split('-'); lang= lang[0]+((lang[1]||'').charAt(0).toUpperCase() + (lang[1]||'').slice(1)); ELEMENT.locale(ELEMENT.lang[lang]) })('${locale}'); }catch(e){ console.log('语言包加载出错!') } </script> <!--发布时 公共库--> <!-- <script src="${serverPath}/render/assets_platform/vendor_dll/vuelibs.dll.js"></script> --> <script src="${serverPath}/render/assets_platform/vendor_dll/vendor.dll.js"></script> <script src="${serverPath}/render/assets_platform/eap/eap.umd.min.js"></script> <%}%> </head> <body> <div id="app"> <div style="padding:50px 0;text-align:center;"> <div> <img id="main_loading_logo" src="" /> </div> <div><span class="sysInit"></span><a href="javascript:location.reload();"><span class="clickRefresh"></span></a></div> </div> </div> <script> //window.onload=()=>{ if(GLOBAL_LANG_TPL){ document.querySelector(".sysInit").innerText=GLOBAL_LANG_TPL.hivuiMain_sysInit; document.querySelector(".clickRefresh").innerText=GLOBAL_LANG_TPL.hivuiMain_clickRefresh; } let _img=window.customSysCofig&&window.customSysCofig.sysLoadLogo&&window.customSysCofig.sysLoadLogo.src; document.getElementById("main_loading_logo").src=(_img||(window._global?"./assets/logo_max.png":"./static/img/logo_max.png")); if(window.customSysCofig){ if(window.customSysCofig.syTitle){ document.title=window.customSysCofig.syTitle; } if(window.customSysCofig.favicon){ document.getElementById("fav_icon").href=window.customSysCofig.favicon; } } //} </script> <% if(htmlWebpackPlugin.vite==true){%> <script type="module" src="./index.js"></script> <script> //预览时判断1.5s还没有加载完,自动重刷 var _winLoadedCtrl = window.setInterval(function(){ if(document.getElementById("main_loading_logo")){ window.location.reload(); }else{ window.clearInterval(_winLoadedCtrl); } },5000) </script> <%}%> <!-- built files will be auto injected --> </body> </html>
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0"> <title>EAP5-Admin-Main</title> <link id="fav_icon" rel="icon" href="" type="image/x-icon"> <% if(htmlWebpackPlugin.vite){%> <!--预览时 公共库--> <link rel="stylesheet" href="/assets_platform/element-ui/index.css"> <script src="/assets_platform/vue/vue.min.js"></script> <script src="/assets_platform/vuex/vuex.min.js"></script> <script src="/assets_platform/vue-router/vue-router.min.js"></script> <script src="/assets_platform/element-ui/index.js"></script> <script src="/assets_platform/eap/eap.umd.min.js"></script> <%}%> <% if(!htmlWebpackPlugin.vite){%> <link rel="stylesheet" href="${serverPath}/render/assets_platform/element-ui/index.css"> <script src="${serverPath}/render/assets_platform/vue/vue.min.js"></script> <script src="${serverPath}/render/assets_platform/vuex/vuex.min.js"></script> <script src="${serverPath}/render/assets_platform/vue-router/vue-router.min.js"></script> <script src="${serverPath}/render/assets_platform/element-ui/index.js"></script> <script src="${serverPath}/render/assets_platform/vue-i18n/vue-i18n.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/lang/element-ui/${locale}.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/lang/hi-ui/${locale}.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/lang/project/${locale}.js"></script> <script src="${serverPath}/render/${devGroup}/${projectName}/hivuiMain/lang/${locale}.js"></script> <script> try{ // 统一输出语言包 zh-CN 名 if(!window.GLOBAL_LANG_TPL){ console.error(window.location.href+',当前模板语言包不存在') } if(!window.GLOBAL_LANG_HIUI){ console.error(window.location.href+',hiui语言包不存在') } Vue.prototype._i18n = new VueI18n({ locale: 'localelang', messages: { 'localelang':Object.assign({},window.GLOBAL_LANG_TPL||{},window.GLOBAL_LANG_HIUI||{},window.GLOBAL_LANG_PROJECT||{},window.GLOBAL_LANG_MODULE||{}), } }); (function(lang){ lang = lang.split('-'); lang= lang[0]+((lang[1]||'').charAt(0).toUpperCase() + (lang[1]||'').slice(1)); ELEMENT.locale(ELEMENT.lang[lang]) })('${locale}'); }catch(e){ console.log('语言包加载出错!') } </script> <!--发布时 公共库--> <!-- <script src="${serverPath}/render/assets_platform/vendor_dll/vuelibs.dll.js"></script> --> <script src="${serverPath}/render/assets_platform/vendor_dll/vendor.dll.js"></script> <script src="${serverPath}/render/assets_platform/eap/eap.umd.min.js"></script> <%}%> </head> <body> <div id="app"> <div style="padding:50px 0;text-align:center;"> <div> <img id="main_loading_logo" src="" /> </div> <div>系统初始化中...<a href="javascript:location.reload();">【点我刷新】</a></div> </div> </div> <script> //window.onload=()=>{ let _img=window.customSysCofig&&window.customSysCofig.sysLoadLogo&&window.customSysCofig.sysLoadLogo.src; document.getElementById("main_loading_logo").src=(_img||(window._global?"./assets/logo_max.png":"./static/img/logo_max.png")); if(window.customSysCofig){ if(window.customSysCofig.syTitle){ document.title=window.customSysCofig.syTitle; } if(window.customSysCofig.favicon){ document.getElementById("fav_icon").href=window.customSysCofig.favicon; } } //} </script> <% if(htmlWebpackPlugin.vite==true){%> <script type="module" src="./index.js"></script> <script> //预览时判断1.5s还没有加载完,自动重刷 var _winLoadedCtrl = window.setInterval(function(){ if(document.getElementById("main_loading_logo")){ window.location.reload(); }else{ window.clearInterval(_winLoadedCtrl); } },5000) </script> <%}%> <!-- built files will be auto injected --> </body> </html>
Ignore Space
Show notes
View
project/hivuiMain/lang/zh-CN.js
var GLOBAL_LANG_TPL = { "hivuiMain_sysInit": "系统初始化中...", "hivuiMain_clickRefresh": "【点我刷新】", "hivuiMain_recentlyUsed": "最近使用", "hivuiMain_projectManage": "项目管理", "hivuiMain_allFunction": "全部功能", "hivuiMain_nodata": "暂无数据", "hivuiMain_searchKey": "搜索关键字", "hivuiMain_customWorkbench": "自定义工作台", "hivuiMain_logout": "退出系统", "hivuiMain_sysLoading": "系统加载中...", "hivuiMain_loadedFailClickRefresh": "加载失败,点我重试!", "hivuiMain_dialog_cancel": "取消", "hivuiMain_dialog_define": "确定", "hivuiMain_dialog_def_title": "提示", "hivuiMain_portal_text": "暂无功能权限!", "hivuiMain_tab_ctxmenu_refresh": "刷新", "hivuiMain_tab_ctxmenu_close": "关闭", "hivuiMain_tab_ctxmenu_closeleft": "关闭左侧", "hivuiMain_tab_ctxmenu_closeright": "关闭右侧", "hivuiMain_tab_ctxmenu_closeother": "关闭其它", "hivuiMain_tab_ctxmenu_closeall": "关闭所有", "hivuiMain_tab_ctxmenu_fullscreen": "全屏", "hivuiMain_tab_scroll_lt": "左边滚动", "hivuiMain_tab_scroll_rt": "右边滚动", "hivuiMain_tab_scroll_more": "更多", "hivuiMain_store_msg1": "获取", "hivuiMain_store_msg2": "失败,", "hivuiMain_store_msg3": "点我重试!", "hivuiMain_store_sysmenu": "系统菜单", "hivuiMain_store_userinfo": "用户信息", "hivuiMain_store_bzlist": "多岗信息", "hivuiMain_store_lately": "最近使用功能", "hivuiMain_allfuncmenu_text": "请输入关键词", "hivuiMain_modifypw_title": "修改密码", "hivuiMain_modifypw_oldpw": "旧密码:", "hivuiMain_modifypw_oldpw": "请输入旧密码", "hivuiMain_modifypw_newpw": "新密码:", "hivuiMain_modifypw_newpw_ph": "请输入4-25个数字、字母或符号组合", "hivuiMain_modifypw_valid_pw2_msg": "两次输入密码不一致!", "hivuiMain_modifypw_valid_pw_empty": "请输入新密码!", "hivuiMain_modifypw_valid_pw2_empty": "请再次输入新密码!", "hivuiMain_modifypw_valid_pw2_empty2": "请再次输入密码!", "hivuiMain_modifypw_newpw2": "确认新密码:", "hivuiMain_modifypw_newpw2_ph": "再次确认新密码", "hivuiMain_modifypw_weak": "弱", "hivuiMain_modifypw_middle": "中", "hivuiMain_modifypw_strong": "高", "hivuiMain_modifypw_success": "修改成功!请重新登录", "hivuiMain_header_null": "空", "hivuiMain_header_notification_title": "消息提示", "hivuiMain_taskcenter_untreated": "未处理", "hivuiMain_app_user": "用户编号", "hivuiMain_app_orgbz": "岗位编制", "hivuiMain_app_orgname": "机构名称", "hivuiMain_app_rolename": "岗位名称", "hivuiMain_app_modifyPw": "修改密码", "hivuiMain_des_setHeight": "设置高度", "hivuiMain_des_dragOrderFlag": "拖动排序标识", "hivuiMain_des_cancel": "取消", "hivuiMain_des_ok": "确定", "hivuiMain_des_editSerialRowLayout": "确定", "hivuiMain_des_serialRowLayout": "第{0}行布局", "hivuiMain_des_addColunms": "添加门户栏目", "hivuiMain_des_dragInArea": "拖入此区", "hivuiMain_des_save": "保存", "hivuiMain_des_columnLayout": "栏目布局", "hivuiMain_des_selectTemplate": "选择模板", "hivuiMain_des_addSingleLine": "添加单行", "hivuiMain_des_demoLayoutTip": "选择以下模板,拖拽添加至内容区", "hivuiMain_des_row24": "一行一栏", "hivuiMain_des_rowAvg2":"两栏均分", "hivuiMain_des_row8_16":"一行两栏", "hivuiMain_des_rowAvg3":"三栏均分", "hivuiMain_des_rowAvg4":"一行四栏", "hivuiMain_des_customLayoutTip":"自定义分栏数值,数字总和须为24,以空格分隔,点击任意位置确认", "hivuiMain_des_custom":"自定义", "hivuiMain_des_spaceSeparate":"数值以[空格]隔开", "hivuiMain_des_saving":"保存中...", "hivuiMain_des_saveSuc":"保存成功!", "hivuiMain_des_saveError":"保存出错!", "hivuiMain_app_user":"用户", "hivuiMain_app_orgbz":"岗编" };
var GLOBAL_LANG_TPL = { "hivuiMain_recentlyUsed": "最近使用", "hivuiMain_projectManage": "项目管理", "hivuiMain_allFunction": "全部功能", "hivuiMain_nodata": "暂无数据", "hivuiMain_searchKey": "搜索关键字", "hivuiMain_customWorkbench": "自定义工作台", "hivuiMain_logout": "退出系统", "hivuiMain_sysLoading": "系统加载中...", "hivuiMain_loadedFailClickRefresh": "加载失败,点我重试!", "hivuiMain_dialog_cancel": "取消", "hivuiMain_dialog_define": "确定", "hivuiMain_dialog_def_title": "提示", "hivuiMain_portal_text": "暂无功能权限!", "hivuiMain_tab_ctxmenu_refresh": "刷新", "hivuiMain_tab_ctxmenu_close": "关闭", "hivuiMain_tab_ctxmenu_closeleft": "关闭左侧", "hivuiMain_tab_ctxmenu_closeright": "关闭右侧", "hivuiMain_tab_ctxmenu_closeother": "关闭其它", "hivuiMain_tab_ctxmenu_closeall": "关闭所有", "hivuiMain_tab_ctxmenu_fullscreen": "全屏", "hivuiMain_tab_scroll_lt": "左边滚动", "hivuiMain_tab_scroll_rt": "右边滚动", "hivuiMain_tab_scroll_more": "更多", "hivuiMain_store_msg1": "获取", "hivuiMain_store_msg2": "失败,", "hivuiMain_store_msg3": "点我重试!", "hivuiMain_store_sysmenu": "系统菜单", "hivuiMain_store_userinfo": "用户信息", "hivuiMain_store_bzlist": "多岗信息", "hivuiMain_store_lately": "最近使用功能", "hivuiMain_allfuncmenu_text": "请输入关键词", "hivuiMain_modifypw_title": "修改密码", "hivuiMain_modifypw_oldpw": "旧密码:", "hivuiMain_modifypw_oldpw": "请输入旧密码", "hivuiMain_modifypw_newpw": "新密码:", "hivuiMain_modifypw_newpw_ph": "请输入4-25个数字、字母或符号组合", "hivuiMain_modifypw_valid_pw2_msg": "两次输入密码不一致!", "hivuiMain_modifypw_valid_pw_empty": "请输入新密码!", "hivuiMain_modifypw_valid_pw2_empty": "请再次输入新密码!", "hivuiMain_modifypw_valid_pw2_empty2": "请再次输入密码!", "hivuiMain_modifypw_newpw2": "确认新密码:", "hivuiMain_modifypw_newpw2_ph": "再次确认新密码", "hivuiMain_modifypw_weak": "弱", "hivuiMain_modifypw_middle": "中", "hivuiMain_modifypw_strong": "高", "hivuiMain_modifypw_success": "修改成功!请重新登录", "hivuiMain_header_null": "空", "hivuiMain_header_notification_title": "消息提示", "hivuiMain_taskcenter_untreated": "未处理", "hivuiMain_app_user": "用户编号", "hivuiMain_app_orgbz": "岗位编制", "hivuiMain_app_orgname": "机构名称", "hivuiMain_app_rolename": "岗位名称", "hivuiMain_app_modifyPw": "修改密码", "hivuiMain_des_setHeight": "设置高度", "hivuiMain_des_dragOrderFlag": "拖动排序标识", "hivuiMain_des_cancel": "取消", "hivuiMain_des_ok": "确定", "hivuiMain_des_editSerialRowLayout": "确定", "hivuiMain_des_serialRowLayout": "第{0}行布局", "hivuiMain_des_addColunms": "添加门户栏目", "hivuiMain_des_dragInArea": "拖入此区", "hivuiMain_des_save": "保存", "hivuiMain_des_columnLayout": "栏目布局", "hivuiMain_des_selectTemplate": "选择模板", "hivuiMain_des_addSingleLine": "添加单行", "hivuiMain_des_demoLayoutTip": "选择以下模板,拖拽添加至内容区", "hivuiMain_des_row24": "一行一栏", "hivuiMain_des_rowAvg2":"两栏均分", "hivuiMain_des_row8_16":"一行两栏", "hivuiMain_des_rowAvg3":"三栏均分", "hivuiMain_des_rowAvg4":"一行四栏", "hivuiMain_des_customLayoutTip":"自定义分栏数值,数字总和须为24,以空格分隔,点击任意位置确认", "hivuiMain_des_custom":"自定义", "hivuiMain_des_spaceSeparate":"数值以[空格]隔开", "hivuiMain_des_saving":"保存中...", "hivuiMain_des_saveSuc":"保存成功!", "hivuiMain_des_saveError":"保存出错!", "hivuiMain_app_user":"用户", "hivuiMain_app_orgbz":"岗编" };
Show line notes below