2 Commits
Author SHA1 Message Date
c-chengc1 fdefa440bb feat:h5首页logo调整为南京审计大学logo 2026-11-06 09:16:33 +08:00
c-chengc1 4b364f593a feat:企业微信对接 2026-11-06 08:49:17 +08:00
4 changed files with 28 additions and 18 deletions
@@ -190,24 +190,24 @@ public class WkFailProcessor extends ViewProcessor {
//1.判断是否为企业微信浏览器并且对接了企业微信 //1.判断是否为企业微信浏览器并且对接了企业微信
if (browserPlatform == BrowserPlatform.QI_YE_WEI_XIN && propertiesProxy.getBoolean("wxwork.enable", false)) { if (browserPlatform == BrowserPlatform.QI_YE_WEI_XIN && propertiesProxy.getBoolean("wxwork.enable", false)) {
//进行企业微信授权 //进行企业微信授权
// String token = getWxWorkToken(); String token = getWxWorkToken();
// if (StrUtil.isNotBlank(token)) { if (StrUtil.isNotBlank(token)) {
// //跳转到企业微信授权地址 // //跳转到企业微信授权地址
// new ServerRedirectView(buildWxWorkOauth2Url()).render(request, response, null); new ServerRedirectView(buildWxWorkOauth2Url()).render(request, response, null);
// } else { } else {
// //跳转到错误页 别问我为啥错了 我也不知道 首先去检查配置文件里的参数有没有写对 // //跳转到错误页 别问我为啥错了 我也不知道 首先去检查配置文件里的参数有没有写对
//// new ServerRedirectView(Globals.AppDomain + errorUri).render(request, response, null); //// new ServerRedirectView(Globals.AppDomain + errorUri).render(request, response, null);
// //跳转到cas登录页 //跳转到cas登录页
// String callBackUrl = propertiesProxy.get("cas.client-host-url") + propertiesProxy.get("cas.client-call-back-url") + "?redirect=" + redirect; String callBackUrl = propertiesProxy.get("cas.client-host-url") + propertiesProxy.get("cas.client-call-back-url") + "?redirect=" + redirect;
// String authUrl = propertiesProxy.get("cas.qi-wx-server-login-url") + "?service=" + URLEncoder.encode(callBackUrl, StandardCharsets.UTF_8); String authUrl = propertiesProxy.get("cas.qi-wx-server-login-url") + "?service=" + URLEncoder.encode(callBackUrl, StandardCharsets.UTF_8);
// new ServerRedirectView(authUrl).render(request, response, null); new ServerRedirectView(authUrl).render(request, response, null);
// } }
// 武汉城市职业学院 跳转到企业微信cas登录页 // 武汉城市职业学院 跳转到企业微信cas登录页
String callBackUrl = propertiesProxy.get("wecom.wecom-client-host-url") + propertiesProxy.get("wecom.wecom-client-call-back-url") + "?redirect=" + redirect; /* String callBackUrl = propertiesProxy.get("wecom.wecom-client-host-url") + propertiesProxy.get("wecom.wecom-client-call-back-url") + "?redirect=" + redirect;
String authUrl = propertiesProxy.get("wecom.wecom-server-login-url") + "?service=" + URLEncoder.encode(callBackUrl, StandardCharsets.UTF_8); String authUrl = propertiesProxy.get("wecom.wecom-server-login-url") + "?service=" + URLEncoder.encode(callBackUrl, StandardCharsets.UTF_8);
log.info("auth:"+authUrl); log.info("auth:"+authUrl);
new ServerRedirectView(authUrl).render(request, response, null); new ServerRedirectView(authUrl).render(request, response, null);*/
} else if (browserPlatform == BrowserPlatform.WEI_XIN && propertiesProxy.getBoolean("wx.enable", false)) { } else if (browserPlatform == BrowserPlatform.WEI_XIN && propertiesProxy.getBoolean("wx.enable", false)) {
//进行微信公众号授权 //进行微信公众号授权
//跳转到微信授权页 //跳转到微信授权页
@@ -0,0 +1 @@
AmiMu2ZH1GAFuH2L
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 558 KiB

@@ -2,9 +2,7 @@ const home = {
template: /*language=HTML*/ ` template: /*language=HTML*/ `
<div class="home-page"> <div class="home-page">
<div class="home-summary-bar" :class="{'home-summary-bar--visible': showHomeSummary}"> <div class="home-summary-bar" :class="{'home-summary-bar--visible': showHomeSummary}">
<img class="home-summary-bar__logo" <span class="home-summary-bar__logo" role="img" aria-label="南京审计大学"></span>
src="/assets/mobile/img/home/v4/中国地质大学-logo.png"
alt="中国地质大学">
<span class="home-summary-bar__divider"></span> <span class="home-summary-bar__divider"></span>
<span class="home-summary-bar__title">智慧工会</span> <span class="home-summary-bar__title">智慧工会</span>
</div> </div>
@@ -14,8 +12,8 @@ const home = {
<div class="home-hero__content"> <div class="home-hero__content">
<div class="home-hero__topbar"> <div class="home-hero__topbar">
<img class="home-hero__brand-logo" <img class="home-hero__brand-logo"
src="/assets/mobile/img/home/v4/中国地质大学-logo.png" src="/assets/mobile/img/home/v4/南京审计大学-logo.svg"
alt="中国地质大学"> alt="南京审计大学">
</div> </div>
<div class="home-hero__title">智慧工会</div> <div class="home-hero__title">智慧工会</div>
<div class="home-hero__subtitle">情系职工 · 真诚服务</div> <div class="home-hero__subtitle">情系职工 · 真诚服务</div>
@@ -765,8 +763,11 @@ const home = {
width: 118px; width: 118px;
height: 28px; height: 28px;
display: block; display: block;
object-fit: contain; flex-shrink: 0;
object-position: left center; /* 白底吸顶栏使用蓝色标识,复用原 Logo 的透明轮廓以保留校徽和校名字形。 */
background-color: #005bac;
-webkit-mask: url('/assets/mobile/img/home/v4/南京审计大学-logo.svg') left center / contain no-repeat;
mask: url('/assets/mobile/img/home/v4/南京审计大学-logo.svg') left center / contain no-repeat;
} }
.home-summary-bar__divider { .home-summary-bar__divider {