This commit is contained in:
@jyuhsin
2026-01-04 18:12:26 +08:00
parent 74db3e484d
commit 8e712e41de
2 changed files with 14 additions and 8 deletions
@@ -54,6 +54,6 @@ public class UserBirthdayJob implements Job {
List<String> loginNameList = list.stream().map(v -> v.getString("loginname")).toList(); List<String> loginNameList = list.stream().map(v -> v.getString("loginname")).toList();
msgApi.sendMsgByBirthday(List.of("DingTalk"), loginNameList, 2, "智慧工会", "请查收您的生日祝福。", null, link); msgApi.sendMsgByBirthday(List.of("DingTalk"), loginNameList, 2, "请点击查收您的生日福利", "校工会祝您:生日快乐!幸福安康", null, link);
} }
} }
@@ -2,6 +2,9 @@
layout("/mobile/platform.html"){ layout("/mobile/platform.html"){
#--> #-->
<style scoped> <style scoped>
html, body, #app {
margin: 0 auto;
}
/* ====================基础样式 ==================== */ /* ====================基础样式 ==================== */
.app-container { .app-container {
width: 100%; width: 100%;
@@ -40,7 +43,7 @@ layout("/mobile/platform.html"){
/* 工会Logo */ /* 工会Logo */
.union-logo { .union-logo {
position: fixed; position: absolute;
top: 5px; top: 5px;
left: 5px; left: 5px;
width: 115px; width: 115px;
@@ -62,7 +65,7 @@ layout("/mobile/platform.html"){
/* 教师标识 */ /* 教师标识 */
.teacher-badge { .teacher-badge {
position: fixed; position: absolute;
bottom: 10px; bottom: 10px;
right: 10px; right: 10px;
background: rgba(255,215,0,0.15); background: rgba(255,215,0,0.15);
@@ -336,7 +339,7 @@ layout("/mobile/platform.html"){
position: relative; position: relative;
width: 90vw; width: 90vw;
/*max-width: 420px;*/ /*max-width: 420px;*/
max-height: 90vh; /*max-height: 90vh;*/
transform: scale(0.85) translateY(25px); transform: scale(0.85) translateY(25px);
transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
filter: drop-shadow(0 25px 60px rgba(0,0,0,0.7)); filter: drop-shadow(0 25px 60px rgba(0,0,0,0.7));
@@ -358,11 +361,12 @@ layout("/mobile/platform.html"){
width: 100%; width: 100%;
background: #fff; background: #fff;
border-radius: 22px; border-radius: 22px;
overflow: hidden; overflow: auto;
position: relative; position: relative;
border: 3px solid #ffd700; border: 3px solid #ffd700;
box-shadow: 0 15px 40px rgba(255,215,0,0.35); box-shadow: 0 15px 40px rgba(255,215,0,0.35);
max-height: 90vh; max-height: 90vh;
height: 88vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
@@ -375,7 +379,7 @@ layout("/mobile/platform.html"){
align-items: center; align-items: center;
background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
position: relative; position: relative;
overflow: hidden; overflow-y: auto;
box-sizing: border-box; box-sizing: border-box;
} }
@@ -404,10 +408,12 @@ layout("/mobile/platform.html"){
background: #fff; background: #fff;
z-index: 1; z-index: 1;
box-shadow: 0 4px 12px rgba(0,0,0,0.2); box-shadow: 0 4px 12px rgba(0,0,0,0.2);
max-height: 100%;
} }
/* 底部提示区域 - 固定在底部 */ /* 底部提示区域 - 固定在底部 */
.coupon-footer { .coupon-footer {
flex-shrink: 0;
background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%); background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
color: #ffd700; color: #ffd700;
padding: 4px 2px; padding: 4px 2px;
@@ -516,7 +522,7 @@ layout("/mobile/platform.html"){
/* ==================== 音乐按钮 ==================== */ /* ==================== 音乐按钮 ==================== */
.music-btn { .music-btn {
position: fixed; position: absolute;
bottom: 10px; bottom: 10px;
left: 10px; left: 10px;
width: 48px; width: 48px;
@@ -648,7 +654,7 @@ layout("/mobile/platform.html"){
<!-- 底部提示区域 - 固定在最底部 --> <!-- 底部提示区域 - 固定在最底部 -->
<div class="coupon-footer"> <div class="coupon-footer">
<strong>💡 使用提示:</strong>请截图保存保存此贺卡图片,领取生日蛋糕券,享用生日长寿面 <strong>💡 使用提示:</strong>请截图保存此贺卡图片,领取生日蛋糕券,享用生日长寿面
</div> </div>
</div> </div>
</div> </div>