Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
c3f7d2e2
Commit
c3f7d2e2
authored
May 13, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
a62ce955
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
13 deletions
+30
-13
addons/theme/stv1/_static_w3g/css/common.css
+8
-12
apps/home/Tpl/default/UserShow/index_w3g.html
+22
-1
No files found.
addons/theme/stv1/_static_w3g/css/common.css
View file @
c3f7d2e2
...
...
@@ -298,6 +298,14 @@ div::-webkit-scrollbar {
color
:
rgba
(
255
,
255
,
255
,
1
);
}
.confirm_button
:hover
{
background
:
rgba
(
163
,
228
,
96
,
0.5
);
}
.confirm_button
:focus
{
background
:
rgba
(
163
,
228
,
96
,
0.5
);
}
.confirm_button_disable
{
box-sizing
:
border-box
;
height
:
44px
;
...
...
@@ -316,18 +324,6 @@ div::-webkit-scrollbar {
color
:
rgba
(
255
,
255
,
255
,
1
);
}
.confirm_button
:hover
{
background
:
rgba
(
163
,
228
,
96
,
0.5
);
}
.confirm_button
:active
{
background
:
rgba
(
163
,
228
,
96
,
0.5
);
}
.confirm_button
:focus
{
background
:
rgba
(
163
,
228
,
96
,
0.5
);
}
.item_green_button
{
display
:
flex
;
box-sizing
:
border-box
;
...
...
apps/home/Tpl/default/UserShow/index_w3g.html
View file @
c3f7d2e2
...
...
@@ -207,10 +207,31 @@
},
methods
:
{
onConfirm
:
function
()
{
let
that
=
this
if
(
that
.
currentNickName
.
length
==
0
)
{
ui
.
error
(
'昵称必须要填写'
)
return
}
if
(
!
/^
[\u
4E00-
\u
9FA5
\w]{1,}
$/
.
test
(
that
.
currentNickName
))
{
ui
.
error
(
'昵称仅支持中英文、数字、下划线'
)
return
}
$
.
post
(
U
(
'home/User/saveUser'
),
{},
function
(
data
)
{
if
(
data
.
status
)
{
ui
.
success
(
'基本信息更改成功'
);
setTimeout
(
'window.location.reload();'
,
2000
);
}
else
{
ui
.
error
(
data
.
info
);
}
},
'json'
);
},
onRead
:
function
(
r
)
{
console
.
log
(
r
)
return
core
.
plugInit
(
'uploadFile'
,
obj
,
function
(
data
)
{
let
picurl
=
data
.
save_path
+
data
.
save_name
;
},
'image'
);
},
onNickName
:
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment