mirror of
https://github.com/201206030/novel-plus.git
synced 2025-04-26 17:20:52 +00:00
perf: 限制昵称长度并优化显示
This commit is contained in:
parent
c62da9bb3a
commit
f77792aa3c
@ -27,7 +27,7 @@ public class User {
|
|||||||
|
|
||||||
@Null(groups = {AddGroup.class})
|
@Null(groups = {AddGroup.class})
|
||||||
@Pattern(groups = {
|
@Pattern(groups = {
|
||||||
UpdateGroup.class}, regexp = "[\u4E00-\u9FA5A-Za-z0-9_]{1,20}", message = "昵称格式不正确!")
|
UpdateGroup.class}, regexp = "[\u4E00-\u9FA5A-Za-z0-9_]{1,11}", message = "昵称格式不正确!")
|
||||||
@Generated("org.mybatis.generator.api.MyBatisGenerator")
|
@Generated("org.mybatis.generator.api.MyBatisGenerator")
|
||||||
private String nickName;
|
private String nickName;
|
||||||
|
|
||||||
|
@ -331,7 +331,7 @@ input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
width: 198px;
|
width: 160px;
|
||||||
float: left;
|
float: left;
|
||||||
padding: 23px 130px 0 0;
|
padding: 23px 130px 0 0;
|
||||||
display: block
|
display: block
|
||||||
|
@ -331,7 +331,7 @@ input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
width: 198px;
|
width: 160px;
|
||||||
float: left;
|
float: left;
|
||||||
padding: 23px 130px 0 0;
|
padding: 23px 130px 0 0;
|
||||||
display: block
|
display: block
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
<div class="my_info_txt">
|
<div class="my_info_txt">
|
||||||
<ul class="mytab_list">
|
<ul class="mytab_list">
|
||||||
<li><i class="tit">我的昵称</i><input name="txtNiceName" type="text" value="15171695474"
|
<li><i class="tit">我的昵称</i><input name="txtNiceName" type="text" value="15171695474"
|
||||||
maxlength="20" id="txtNiceName" class="s_input"
|
maxlength="11" id="txtNiceName" class="s_input"
|
||||||
placeholder=""/></li>
|
placeholder=""/></li>
|
||||||
<li><i class="tit"> </i>用户名只能包括汉字、英文字母、数字和下划线</li>
|
<li><i class="tit"> </i>用户名只能包括汉字、英文字母、数字和下划线</li>
|
||||||
<li><i class="tit"> </i><input type="button" onclick="updateName()" name="btn" value="修改"
|
<li><i class="tit"> </i><input type="button" onclick="updateName()" name="btn" value="修改"
|
||||||
|
@ -331,7 +331,7 @@ input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
width: 198px;
|
width: 160px;
|
||||||
float: left;
|
float: left;
|
||||||
padding: 23px 130px 0 0;
|
padding: 23px 130px 0 0;
|
||||||
display: block
|
display: block
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user