PERSON_TYPE_CODE = new HashMap<>() {{
+ put("01", "管理人员");
+ put("02", "专业技术人员");
+ put("03", "技术工人");
+ put("04", "普通工人");
+ put("05", "勤工俭学");
+ put("06", "大集体");
+ put("07", "返聘");
+ put("08", "督导");
+ }};
+
+
/**
* 接口中的数据跟SourceUser的对应关系
*
@@ -95,7 +107,7 @@ public interface SourceData {
put("XM", new String[]{"username"});
put("DWDM", new String[]{"unitid"});
put("DQZTDM", new String[]{"userState"});
- put("JZGRYLB", new String[]{"personType"});
+ put("JZGRYLBDM", new String[]{"personType"});
put("SJH", new String[]{"mobile"});
put("RXRQ", new String[]{"schoolTime"});
put("ZZMM", new String[]{"political"});
@@ -110,6 +122,7 @@ public interface SourceData {
*/
Map USER_FIELD_PLUGIN = new HashMap<>() {{
put("DQZTDM", v -> Strings.sBlank(USER_STATE_CODE.get(v), ""));
+ put("JZGRYLBDM", v -> Strings.sBlank(PERSON_TYPE_CODE.get(v), ""));
}};
/**
diff --git a/src/main/java/io/v/nutz/zhgh/data/service/impl/SourceUserServiceImpl.java b/src/main/java/io/v/nutz/zhgh/data/service/impl/SourceUserServiceImpl.java
index 8e1c069..4d2b0a3 100644
--- a/src/main/java/io/v/nutz/zhgh/data/service/impl/SourceUserServiceImpl.java
+++ b/src/main/java/io/v/nutz/zhgh/data/service/impl/SourceUserServiceImpl.java
@@ -144,12 +144,12 @@ public class SourceUserServiceImpl extends ViServiceImpl implements
//不更新会员和福利会员字段
source.setMember(null);
source.setWelfareMember(null);
- if (StrUtil.isNotBlank(source.getBirthday())) {
- source.setBirthday(DateUtil.format(DateUtil.parse(source.getBirthday(), "yyyyMMdd"),"yyyy-MM-dd"));
- }
- if (StrUtil.isNotBlank(source.getSchoolTime())) {
- source.setSchoolTime(DateUtil.format(DateUtil.parse(source.getSchoolTime(), "yyyyMMdd"),"yyyy-MM-dd"));
- }
+// if (StrUtil.isNotBlank(source.getBirthday())) {
+// source.setBirthday(DateUtil.format(DateUtil.parse(source.getBirthday(), "yyyyMMdd"),"yyyy-MM-dd"));
+// }
+// if (StrUtil.isNotBlank(source.getSchoolTime())) {
+// source.setSchoolTime(DateUtil.format(DateUtil.parse(source.getSchoolTime(), "yyyyMMdd"),"yyyy-MM-dd"));
+// }
Sys_user user = userMap.get(source.getLoginname().toLowerCase());
Sys_user u = new Sys_user();
diff --git a/src/main/java/io/v/nutz/zhgh/jf/controller/activitybx/ApplyController.java b/src/main/java/io/v/nutz/zhgh/jf/controller/activitybx/ApplyController.java
index c24cd60..5c3c271 100644
--- a/src/main/java/io/v/nutz/zhgh/jf/controller/activitybx/ApplyController.java
+++ b/src/main/java/io/v/nutz/zhgh/jf/controller/activitybx/ApplyController.java
@@ -224,7 +224,7 @@ public class ApplyController {
dao.execute(sql);
List loginNameList = sql.getList(String.class);
- if (Lang.isNotEmpty(loginNameList) && "999".equals(activityBx.getState_id())) {
+ if (Lang.isNotEmpty(loginNameList)) {
NutMap map = new NutMap();
map.setv("userId",activityBx.getUser_id());
map.setv("activityName",activityBx.getActivity_name());
diff --git a/src/main/java/io/v/nutz/zhgh/mobile/mobileLoginController.java b/src/main/java/io/v/nutz/zhgh/mobile/mobileLoginController.java
index d2283e0..f6d91de 100644
--- a/src/main/java/io/v/nutz/zhgh/mobile/mobileLoginController.java
+++ b/src/main/java/io/v/nutz/zhgh/mobile/mobileLoginController.java
@@ -2,16 +2,27 @@ package io.v.nutz.zhgh.mobile;
import cn.wizzer.framework.base.Result;
import io.v.nutz.base.utils.LoginUtil;
+import io.v.nutz.base.utils.PwdUtil;
import io.v.nutz.sys.models.Sys_user;
+import io.v.nutz.sys.services.SysUserService;
import io.v.nutz.web.commons.shiro.exception.CaptchaEmptyException;
import io.v.nutz.web.commons.shiro.exception.CaptchaIncorrectException;
import io.v.nutz.web.commons.shiro.filter.PlatformAuthenticationFilter;
+import io.v.nutz.web.commons.utils.ShiroUtil;
import org.apache.commons.lang3.math.NumberUtils;
import org.apache.shiro.SecurityUtils;
-import org.apache.shiro.authc.*;
+import org.apache.shiro.authc.AuthenticationException;
+import org.apache.shiro.authc.AuthenticationToken;
+import org.apache.shiro.authc.LockedAccountException;
+import org.apache.shiro.authc.UnknownAccountException;
import org.apache.shiro.authz.annotation.RequiresAuthentication;
import org.apache.shiro.session.SessionException;
import org.apache.shiro.subject.Subject;
+import org.nutz.dao.Chain;
+import org.nutz.dao.Cnd;
+import org.nutz.dao.Dao;
+import org.nutz.dao.Sqls;
+import org.nutz.dao.sql.Sql;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.lang.Strings;
@@ -25,8 +36,12 @@ import javax.servlet.http.HttpSession;
@Ok("json")
public class mobileLoginController {
+ @Inject
+ private Dao dao;
@Inject
private LoginUtil loginUtil;
+ @Inject
+ private SysUserService sysUserService;
/**
* 登录页
@@ -104,4 +119,47 @@ public class mobileLoginController {
}
}
+
+
+ @At
+ @RequiresAuthentication
+ public Object updatePwd(@Param(value = "sourcePwd", required = false) String sourcePwd,
+ @Param("isFirstLogin") boolean isFirstLogin, @Param("newPwd") String newPwd) {
+ Sys_user user = dao.fetch(Sys_user.class, Cnd.where("id", "=", ShiroUtil.getUserId()));
+
+ if (isFirstLogin) {
+ sourcePwd = user.getLoginname();
+ }
+
+ String userSourcePwd = PwdUtil.doSm4CbcDecrypt(user.getPassword());
+
+ if (!userSourcePwd.equals(sourcePwd)) {
+ return Result.error("原密码错误");
+ }
+
+ if (userSourcePwd.equals(newPwd)) {
+ return Result.error("新密码不能与原密码相同");
+ }
+
+ String pwd = PwdUtil.doSm4CbcEncrypt(newPwd);
+ dao.update(Sys_user.class, Chain.make("password", pwd), Cnd.where("id", "=", ShiroUtil.getUserId()));
+
+ sysUserService.deleteCacheAndUpdate(ShiroUtil.getUserId());
+ return Result.success("修改成功");
+ }
+
+
+ /**
+ * 校验是不是初次登录
+ * @return
+ */
+ @At
+ @RequiresAuthentication
+ public Object checkIsFirstLogin(){
+ Sql sql = Sqls.create("select weAppLoginCount from sys_user where id = @userId").setParam("userId", ShiroUtil.getUserId());
+ sql.setCallback(Sqls.callback.integer());
+ dao.execute(sql);
+ int count = sql.getInt();
+ return count == 0 ? Result.error() : Result.success();
+ }
}
diff --git a/src/main/resources/static/MP_verify_r7PbzGPoxZ8CYYar.txt b/src/main/resources/static/MP_verify_r7PbzGPoxZ8CYYar.txt
new file mode 100644
index 0000000..bc5d5f1
--- /dev/null
+++ b/src/main/resources/static/MP_verify_r7PbzGPoxZ8CYYar.txt
@@ -0,0 +1 @@
+r7PbzGPoxZ8CYYar
\ No newline at end of file
diff --git a/src/main/resources/views/mobile/benefiting/goods.html b/src/main/resources/views/mobile/benefiting/goods.html
index d72e21f..56dead3 100644
--- a/src/main/resources/views/mobile/benefiting/goods.html
+++ b/src/main/resources/views/mobile/benefiting/goods.html
@@ -38,7 +38,9 @@ layout("/mobile/platform.html"){
font-weight: bold;
}
- .concat, .mobile, .union {
+ .concat,
+ .mobile,
+ .union {
font-size: 13px;
line-height: 18px;
width: 100%;
@@ -83,12 +85,10 @@ layout("/mobile/platform.html"){
right: 10px;
color: #1867b0;
}
-
-
+
@@ -98,20 +98,17 @@ layout("/mobile/platform.html"){
-
+
-
-
+
{{o.goodsName}}
@@ -126,13 +123,11 @@ layout("/mobile/platform.html"){
{{o.manufacturer}}
-
+
{{removeHTMLTag(o.description).substr(0,25)+'...'}}
-
@@ -146,54 +141,45 @@ layout("/mobile/platform.html"){
-
+
-
-
+
-
+
-
-
+
-
+ v-model="pageForm.searchKeyWord"
+ shape="round"
+ maxlength="10"
+ @search="doSearch"
+ placeholder="请输入教职工姓名或者教职工编号进行查询"
+ >
-
-
一份祝福拉进同事的距离~
-
{{tableData.length}}同事即将生日
+
+
一份祝福拉进同事的距离~
+ {{tableData.length}}同事即将生日
-
-
-
-
+
-
+
{{o.birthday.substr(0,2)}}-{{o.birthday.substr(2,4)}}
-
-
{{o.username.substr(0,1)}}
+
+ {{o.username.substr(0,1)}}
{{o.username}}
{{o.unitName}}
-
-
-
-
+
+
+
@@ -75,22 +75,21 @@ layout("/mobile/platform.html"){
- 送上祝福
+ 送上祝福
我收到的
-
-
+
- 正在为
- {{o.username}} 挑选礼物
+
+ 正在为
+ {{o.username}}
+ 挑选礼物
-
-
+
+
{{o.username.substr(0,1)}}
{{o.username}}
@@ -49,11 +51,12 @@ layout("/mobile/platform.html"){
精选礼物
-
+
-
+
{{o.giftName}}
@@ -63,21 +66,21 @@ layout("/mobile/platform.html"){
-
+
-
+
-
+
@@ -93,80 +96,82 @@ layout("/mobile/platform.html"){
-
diff --git a/src/main/resources/views/mobile/cahd/userList.html b/src/main/resources/views/mobile/cahd/userList.html
index ad40a2e..82c197f 100644
--- a/src/main/resources/views/mobile/cahd/userList.html
+++ b/src/main/resources/views/mobile/cahd/userList.html
@@ -13,7 +13,7 @@ layout("/mobile/platform.html"){
-
+
diff --git a/src/main/resources/views/mobile/cahd/viewInfo.html b/src/main/resources/views/mobile/cahd/viewInfo.html
index caf272f..1b31b73 100644
--- a/src/main/resources/views/mobile/cahd/viewInfo.html
+++ b/src/main/resources/views/mobile/cahd/viewInfo.html
@@ -1,23 +1,23 @@
-
+
-
+
-
\ No newline at end of file
+#-->
diff --git a/src/main/resources/views/mobile/card/card.html b/src/main/resources/views/mobile/card/card.html
index 609bb16..49864b1 100644
--- a/src/main/resources/views/mobile/card/card.html
+++ b/src/main/resources/views/mobile/card/card.html
@@ -3,7 +3,6 @@ layout("/mobile/platform.html"){
#-->
-
+
- 教代会代表证
+ 教代会代表证
工代会代表证
-
+
-
+
@@ -21,7 +18,7 @@ layout("/mobile/platform.html"){
diff --git a/src/main/resources/views/mobile/condolence/audit_list.html b/src/main/resources/views/mobile/condolence/audit_list.html
index 67720fb..a08dfcb 100644
--- a/src/main/resources/views/mobile/condolence/audit_list.html
+++ b/src/main/resources/views/mobile/condolence/audit_list.html
@@ -3,38 +3,25 @@ layout("/mobile/platform.html"){
#-->
-
-
+
-
-
-
-
-
-
+
+
+
+
+
-
+
-
- {{o.be_username}}
-
+ {{o.be_username}}
{{o.sqr_username}}
{{o.be_unitname}}
@@ -49,18 +36,13 @@ layout("/mobile/platform.html"){
-
-
-
-
+
-
diff --git a/src/main/resources/views/mobile/condolence/fr_Audit.html b/src/main/resources/views/mobile/condolence/fr_Audit.html
index 6254790..f4f9f10 100644
--- a/src/main/resources/views/mobile/condolence/fr_Audit.html
+++ b/src/main/resources/views/mobile/condolence/fr_Audit.html
@@ -3,37 +3,34 @@ layout("/mobile/platform.html"){
#-->
-
-
+
-
+
-
-
-
+
-
@@ -45,88 +42,76 @@ layout("/mobile/platform.html"){
-
-
+
- 拒 绝
-
+ 拒 绝
- 返回修改
-
+ 返回修改
- 通 过
-
+ 通 过
-
-
-
-
-
diff --git a/src/main/resources/views/mobile/condolence/school_Audit.html b/src/main/resources/views/mobile/condolence/school_Audit.html
index f065b19..ea9c14c 100644
--- a/src/main/resources/views/mobile/condolence/school_Audit.html
+++ b/src/main/resources/views/mobile/condolence/school_Audit.html
@@ -3,7 +3,7 @@ layout("/mobile/platform.html"){
#-->
-
+
diff --git a/src/main/resources/views/mobile/condolence/union_Audit.html b/src/main/resources/views/mobile/condolence/union_Audit.html
index 37a23d0..211de42 100644
--- a/src/main/resources/views/mobile/condolence/union_Audit.html
+++ b/src/main/resources/views/mobile/condolence/union_Audit.html
@@ -3,7 +3,7 @@ layout("/mobile/platform.html"){
#-->
-
+
diff --git a/src/main/resources/views/mobile/contribution/applyInfo.html b/src/main/resources/views/mobile/contribution/applyInfo.html
index 62aeafd..c563e75 100644
--- a/src/main/resources/views/mobile/contribution/applyInfo.html
+++ b/src/main/resources/views/mobile/contribution/applyInfo.html
@@ -44,15 +44,12 @@ layout("/mobile/platform.html"){
.avatar .van-image__img {
border-radius: 10px;
-
}
-
.list-card {
margin: 10px 10px;
}
-
.list-card .van-cell {
border-radius: 10px;
padding: 18px 16px;
@@ -61,20 +58,11 @@ layout("/mobile/platform.html"){
.van-cell-group {
border-radius: 10px;
}
-
-
-
+
@@ -84,24 +72,19 @@ layout("/mobile/platform.html"){
{{o.contributionName}}
-
- {{removeHTMLTag(o.contributionIntroduce)}}
-
+
{{removeHTMLTag(o.contributionIntroduce)}}
-
+
已筹:
-
- {{o.totalMoney?o.totalMoney:0}}
-
+ {{o.totalMoney?o.totalMoney:0}}
元
@@ -111,10 +94,8 @@ layout("/mobile/platform.html"){
-
-
@@ -125,18 +106,17 @@ layout("/mobile/platform.html"){
-
{{o.typeName}}
+
+ {{o.typeName}}
专题
-
- {{removeHTMLTag(o.contributionTypeIntroduce)}}
-
+
{{removeHTMLTag(o.contributionTypeIntroduce)}}
@@ -146,25 +126,25 @@ layout("/mobile/platform.html"){
-
-
-
-
+
-
\ No newline at end of file
+#-->
diff --git a/src/main/resources/views/mobile/contribution/contributionView.html b/src/main/resources/views/mobile/contribution/contributionView.html
index 74a8c89..2c29c44 100644
--- a/src/main/resources/views/mobile/contribution/contributionView.html
+++ b/src/main/resources/views/mobile/contribution/contributionView.html
@@ -19,7 +19,6 @@ layout("/mobile/platform.html"){
.typeName {
margin-left: 10px;
height: 70px;
-
}
.typeName .typeNameLabel {
@@ -39,29 +38,16 @@ layout("/mobile/platform.html"){
margin-bottom: 50px;
padding-bottom: 10px;
height: calc(100% - 250px);
- background-color: #ffffff
+ background-color: #ffffff;
}
-
-
-
+
-
-
+
+
{{viewData.contributionName}}
@@ -77,29 +63,22 @@ layout("/mobile/platform.html"){
-
-
-
+
+
项目介绍
(捐款方式为水滴筹将直接跳转放到相应页面)
-
-
-
-
+
-
-
我要捐款
-
-
暂未开放
+
+
+ 我要捐款
+ 暂未开放
diff --git a/src/main/resources/views/mobile/contribution/doContribution.html b/src/main/resources/views/mobile/contribution/doContribution.html
index 7e2627c..8ba144a 100644
--- a/src/main/resources/views/mobile/contribution/doContribution.html
+++ b/src/main/resources/views/mobile/contribution/doContribution.html
@@ -28,63 +28,47 @@ layout("/mobile/platform.html"){
margin: 10px 10px;
border-radius: 20px;
}
-
-
-
-
+
-
-
+
- {{key}}
+ {{key}}
-
-
- 元
-
+
+ 元
-
-
-
-
-
-
-
-
+
+
+
-
+
-
+
@@ -93,8 +77,7 @@ layout("/mobile/platform.html"){
-
+
捐款凭证
@@ -104,29 +87,23 @@ layout("/mobile/platform.html"){
-
- 合计:
+
+
+ 合计:
{{formData.money?formData.money:0}}
元
-
- 确认捐款
-
+
+ 确认捐款
-
-
-
-
-
-
diff --git a/src/main/resources/views/mobile/contribution/sonList.html b/src/main/resources/views/mobile/contribution/sonList.html
index 4ec137c..d70efe5 100644
--- a/src/main/resources/views/mobile/contribution/sonList.html
+++ b/src/main/resources/views/mobile/contribution/sonList.html
@@ -51,7 +51,6 @@ layout("/mobile/platform.html"){
.typeName {
margin-left: 10px;
height: 70px;
-
}
.typeName .typeNameLabel {
@@ -67,10 +66,8 @@ layout("/mobile/platform.html"){
.avatar .van-image__img {
border-radius: 10px;
-
}
-
.list-card .van-cell {
border-radius: 10px;
padding: 18px 16px;
@@ -84,30 +81,16 @@ layout("/mobile/platform.html"){
-
+
-
-
+
+
-
{{typeData.typeName}}
+
+ {{typeData.typeName}}
专题
-
- {{removeHTMLTag(typeData.contributionTypeIntroduce)}}
-
-
+
{{removeHTMLTag(typeData.contributionTypeIntroduce)}}
@@ -117,27 +100,21 @@ layout("/mobile/platform.html"){
-
{{o.contributionName}}
-
- {{removeHTMLTag(o.contributionIntroduce)}}
-
+
{{removeHTMLTag(o.contributionIntroduce)}}
-
+
已筹:
-
- {{o.totalMoney?o.totalMoney:0}}
-
+ {{o.totalMoney?o.totalMoney:0}}
元
@@ -147,52 +124,49 @@ layout("/mobile/platform.html"){
-
-
-
-
\ No newline at end of file
+#-->
diff --git a/src/main/resources/views/mobile/difficulty/apply_info.html b/src/main/resources/views/mobile/difficulty/apply_info.html
index 76a9bfd..c01de28 100644
--- a/src/main/resources/views/mobile/difficulty/apply_info.html
+++ b/src/main/resources/views/mobile/difficulty/apply_info.html
@@ -1,12 +1,10 @@
-
+
-
+
@@ -15,7 +13,7 @@ layout("/mobile/platform.html"){
\ No newline at end of file
+#-->
diff --git a/src/main/resources/views/mobile/difficulty/apply_list.html b/src/main/resources/views/mobile/difficulty/apply_list.html
index 33ca1b2..c81ccbb 100644
--- a/src/main/resources/views/mobile/difficulty/apply_list.html
+++ b/src/main/resources/views/mobile/difficulty/apply_list.html
@@ -3,10 +3,10 @@ layout("/mobile/platform.html"){
#-->
-
+
@@ -30,14 +29,11 @@ layout("/mobile/platform.html"){
-
+
-
- {{o.sbzrname}}({{o.sbzrloginname}})
-
+ {{o.sbzrname}}({{o.sbzrloginname}})
{{o.sqsj}}
{{o.unitname}}
@@ -50,34 +46,30 @@ layout("/mobile/platform.html"){
-
-
+
\ No newline at end of file
+#-->
diff --git a/src/main/resources/views/mobile/difficulty/audit_list.html b/src/main/resources/views/mobile/difficulty/audit_list.html
index 929f397..af52def 100644
--- a/src/main/resources/views/mobile/difficulty/audit_list.html
+++ b/src/main/resources/views/mobile/difficulty/audit_list.html
@@ -3,36 +3,24 @@ layout("/mobile/platform.html"){
#-->
-
-
+
-
-
-
-
-
+
+
+
+
-
+
-
- {{o.sbzrname}}({{o.sbzrloginname}})
-
+ {{o.sbzrname}}({{o.sbzrloginname}})
{{o.sqrname}}
{{o.sqrunionname}}
@@ -46,18 +34,13 @@ layout("/mobile/platform.html"){
-
-
-
-
+
-
\ No newline at end of file
+#-->
diff --git a/src/main/resources/views/mobile/difficulty/school_Audit.html b/src/main/resources/views/mobile/difficulty/school_Audit.html
index c9cd5f0..b501e39 100644
--- a/src/main/resources/views/mobile/difficulty/school_Audit.html
+++ b/src/main/resources/views/mobile/difficulty/school_Audit.html
@@ -3,35 +3,20 @@ layout("/mobile/platform.html"){
#-->
-
-
+
-
+
-
-
+
-
+
@@ -42,52 +27,42 @@ layout("/mobile/platform.html"){
-
-
+
- 拒 绝
-
+ 拒 绝
- 返回修改
-
+ 返回修改
- 通 过
-
+ 通 过
-
-
-
-
-
diff --git a/src/main/resources/views/mobile/difficulty/union_Audit.html b/src/main/resources/views/mobile/difficulty/union_Audit.html
index 514c62a..500d176 100644
--- a/src/main/resources/views/mobile/difficulty/union_Audit.html
+++ b/src/main/resources/views/mobile/difficulty/union_Audit.html
@@ -3,7 +3,7 @@ layout("/mobile/platform.html"){
#-->
-
+
diff --git a/src/main/resources/views/mobile/fellowship/fellowshipList.html b/src/main/resources/views/mobile/fellowship/fellowshipList.html
index a7532a6..aaf3d6e 100644
--- a/src/main/resources/views/mobile/fellowship/fellowshipList.html
+++ b/src/main/resources/views/mobile/fellowship/fellowshipList.html
@@ -46,16 +46,15 @@ layout("/mobile/platform.html"){
max-height: 200px;
}
- .van-image__error, .van-image__loading {
+ .van-image__error,
+ .van-image__loading {
height: 200px;
position: relative;
}
-
-
+
@@ -68,41 +67,45 @@ layout("/mobile/platform.html"){
-
+
-
-
+
+
-
- {{o.activityName}}
-
+
{{o.activityName}}
-
年 度: {{o.year}}
+
+ 年 度:
+ {{o.year}}
-
活动对象: {{o.activityGroupName}}
+
+ 活动对象:
+ {{o.activityGroupName}}
-
报名时间:
- {{moment(o.activitySignUpStartTime).format('YYYY-MM-DD HH:mm') + ' ~ ' +
- moment(o.activitySignUpEndTime).format('YYYY-MM-DD HH:mm')}}
+
+ 报名时间:
+ {{moment(o.activitySignUpStartTime).format('YYYY-MM-DD HH:mm') + ' ~ ' + moment(o.activitySignUpEndTime).format('YYYY-MM-DD
+ HH:mm')}}
-
活动时间:
- {{moment(o.activityStartTime).format('YYYY-MM-DD HH:mm') + ' ~ ' +
- moment(o.activityEndTime).format('YYYY-MM-DD HH:mm')}}
+
+ 活动时间:
+ {{moment(o.activityStartTime).format('YYYY-MM-DD HH:mm') + ' ~ ' + moment(o.activityEndTime).format('YYYY-MM-DD HH:mm')}}
@@ -116,32 +119,38 @@ layout("/mobile/platform.html"){
我的联谊
-
-
\ No newline at end of file
+#-->
diff --git a/src/main/resources/views/mobile/home.html b/src/main/resources/views/mobile/home.html
index 2b517a9..dfc3b52 100644
--- a/src/main/resources/views/mobile/home.html
+++ b/src/main/resources/views/mobile/home.html
@@ -164,9 +164,128 @@ layout("/mobile/platform.html"){
border-radius: 20px;
}
+ .pwd_popup {
+ width: 96%;
+ height: auto;
+ border-radius: 20px;
+ }
+
.menu_item_name {
margin-top: 6px;
}
+
+ .card {
+ /*border: 1px solid #007bff;*/
+ /*background: #fff;*/
+ border-radius: 8px;
+ /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
+ box-sizing: border-box;
+ position: relative;
+ }
+ .card-content {
+ padding: 30px;
+ }
+ h2 {
+ margin-top: 0;
+ color: #333;
+ font-size: 26px;
+ text-align: center;
+ }
+ .form-group {
+ position: relative;
+ margin-bottom: 20px;
+ }
+ label {
+ display: block;
+ margin-bottom: 10px;
+ color: #555;
+ font-size: 16px;
+ }
+ input[type="password"],
+ input[type="text"] {
+ width: 100%;
+ padding: 12px;
+ border: 1px solid #ddd;
+ border-radius: 50px;
+ font-size: 16px;
+ box-sizing: border-box;
+ transition: border-color 0.3s;
+ height: 40px;
+ }
+ input[type="password"]:focus,
+ input[type="text"]:focus {
+ border-color: #007bff;
+ outline: none;
+ }
+ button {
+ background-color: #e0f0ff;
+ color: #000;
+ border: 1px solid #007bff;
+ padding: 12px;
+ font-weight: bold;
+ border-radius: 50px;
+ cursor: pointer;
+ font-size: 16px;
+ width: 100%;
+ }
+ button:hover {
+ background-color: #87c4ed;
+ }
+ .note {
+ font-size: 16px;
+ color: #666;
+ padding: 30px;
+ }
+ .note ul {
+ padding-left: 0;
+ list-style-type: none;
+ }
+ .note li {
+ margin-bottom: 15px;
+ }
+ .card.modify-password {
+ flex: 7;
+ }
+ .card.note {
+ flex: 3;
+ }
+ .modal {
+ display: none;
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: rgba(0, 0, 0, 0.5);
+ align-items: center;
+ justify-content: center;
+ }
+ .modal-content {
+ background: #fff;
+ border-radius: 8px;
+ border: 1px solid #007bff;
+ padding: 30px;
+ text-align: center;
+ max-width: 400px;
+ width: 100%;
+ height: 150px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+ .modal-content h3 {
+ margin: 0;
+ }
+ .toggle-password {
+ position: absolute;
+ right: 10px;
+ top: 70%;
+ transform: translateY(-50%);
+ cursor: pointer;
+ user-select: none;
+ font-size: 26px;
+ color: #555;
+ }
@@ -182,6 +301,10 @@ layout("/mobile/platform.html"){