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
9b474810
Commit
9b474810
authored
May 14, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
2a0ea527
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
1 deletions
+66
-1
addons/theme/stv1/_static_w3g/css/common.css
+41
-0
apps/home/Tpl/default/UserShow/index_w3g.html
+25
-1
No files found.
addons/theme/stv1/_static_w3g/css/common.css
View file @
9b474810
...
@@ -149,6 +149,11 @@ div::-webkit-scrollbar {
...
@@ -149,6 +149,11 @@ div::-webkit-scrollbar {
font-weight
:
600
;
font-weight
:
600
;
}
}
.text_apple
{
font-size
:
1.25rem
;
color
:
#007AFF
;
}
.divider
{
.divider
{
height
:
0.0625rem
;
height
:
0.0625rem
;
background
:
#E6E6E6
;
background
:
#E6E6E6
;
...
@@ -376,6 +381,42 @@ div::-webkit-scrollbar {
...
@@ -376,6 +381,42 @@ div::-webkit-scrollbar {
color
:
rgba
(
101
,
192
,
0
,
1
);
color
:
rgba
(
101
,
192
,
0
,
1
);
}
}
.popup_top_button
{
display
:
flex
;
flex-direction
:
row
;
justify-content
:
center
;
align-items
:
center
;
background
:
rgba
(
248
,
248
,
248
,
0.82
);
border-radius
:
14px
14px
0px
0px
;
margin-left
:
0.625rem
;
margin-right
:
0.625rem
;
margin-bottom
:
0.0625rem
;
height
:
3.5625rem
;
}
.popup_bottom_button
{
display
:
flex
;
flex-direction
:
row
;
justify-content
:
center
;
align-items
:
center
;
background
:
rgba
(
248
,
248
,
248
,
0.82
);
border-radius
:
14px
14px
0px
0px
;
height
:
3.5625rem
;
margin-left
:
0.625rem
;
margin-right
:
0.625rem
;
}
.popup_cancel
{
display
:
flex
;
flex-direction
:
row
;
justify-content
:
center
;
align-items
:
center
;
height
:
3.5rem
;
background
:
rgba
(
255
,
255
,
255
,
1
);
border-radius
:
0.875rem
;
margin
:
0.625rem
;
}
/*
/*
* Home
* Home
*/
*/
...
...
apps/home/Tpl/default/UserShow/index_w3g.html
View file @
9b474810
...
@@ -113,6 +113,20 @@
...
@@ -113,6 +113,20 @@
</div>
</div>
</van-overlay>
</van-overlay>
<van-popup
v-model=
"innerShow"
round
@
close=
"onPopupClose"
position=
"bottom"
>
<div
class=
"layout_v"
>
<div
@
click=
"onChooseGender(1)"
class=
"text_apple popup_top_button"
>
男
</div>
<div
@
click=
"onChooseGender(0)"
class=
"text_apple popup_top_button"
>
女
</div>
<div
@
click=
"onGenderCancel"
class=
"text_apple popup_cancel"
>
取消
</div>
</div>
</van-popup>
</div>
</div>
...
@@ -268,6 +282,7 @@
...
@@ -268,6 +282,7 @@
data
:
function
()
{
data
:
function
()
{
return
{
return
{
show
:
false
,
show
:
false
,
innerShow
:
false
,
value
:
""
,
value
:
""
,
currentAvatar
:
"{:getUserFace($user['uid'],'b')}"
,
currentAvatar
:
"{:getUserFace($user['uid'],'b')}"
,
currentNickName
:
"{:getUserName($user['uid'])}"
,
currentNickName
:
"{:getUserName($user['uid'])}"
,
...
@@ -325,7 +340,13 @@
...
@@ -325,7 +340,13 @@
this
.
show
=
true
this
.
show
=
true
},
},
onGender
:
function
()
{
onGender
:
function
()
{
this
.
innerShow
=
true
},
onChooseGender
:
function
(
id
)
{
this
.
currentGender
=
id
==
1
?
'男'
:
'女'
},
onGenderCancel
:
function
()
{
this
.
innerShow
=
false
},
},
onAddress
:
function
()
{
onAddress
:
function
()
{
...
@@ -336,6 +357,9 @@
...
@@ -336,6 +357,9 @@
onEditConfirm
:
function
()
{
onEditConfirm
:
function
()
{
this
.
currentNickName
=
this
.
value
this
.
currentNickName
=
this
.
value
this
.
show
=
false
this
.
show
=
false
},
onPopupClose
:
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