Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
quxiu
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
冷斌
quxiu
Commits
7eaeb0c5
Commit
7eaeb0c5
authored
Apr 14, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
be396162
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
themes/simplebootx/Appapi/Family/detail.html
+15
-3
No files found.
themes/simplebootx/Appapi/Family/detail.html
View file @
7eaeb0c5
...
...
@@ -20,7 +20,7 @@
<img
class=
"zbLevel"
src=
"__PUBLIC__/appapi/img/zhubo/{$v['level2']['levelid']}.png"
>
</div>
</div>
<img
@
click=
"operation({$v['uid']}, '{$v['userinfo']['user_nicename']}')"
class=
"listBd"
src=
"__PUBLIC__/appapi/img/fanhui@2x.png"
></img>
<img
@
click=
"operation({$v['uid']}, '{$v['userinfo']['user_nicename']}'
, {$v['role']}
)"
class=
"listBd"
src=
"__PUBLIC__/appapi/img/fanhui@2x.png"
></img>
</div>
</volist>
<div
style=
"width: 100%; height: 50px;"
></div>
...
...
@@ -45,7 +45,7 @@
<div
class=
"lookbtnBox"
>
<if
condition=
"$familyinfo['role'] eq 1"
>
<div
@
click=
"deleteBtn"
class=
"lookBtn"
style=
"border-bottom: .05rem solid #f2f2f2;"
>
移除该成员
</div>
<div
@
click=
"roleBtn"
class=
"lookBtn"
style=
"border-bottom: .05rem solid #f2f2f2;"
>
设为管理员
</div>
<div
@
click=
"roleBtn"
class=
"lookBtn"
style=
"border-bottom: .05rem solid #f2f2f2;"
>
{{roleBtn}}
</div>
</if>
<if
condition=
"$familyinfo['role'] eq 2"
>
<div
v-if=
"touid != uid"
@
click=
"deleteBtn"
class=
"lookBtn"
style=
"border-bottom: .05rem solid #f2f2f2;"
>
删除成员
</div>
...
...
@@ -68,14 +68,16 @@
alertBox
:
false
,
touid
:
''
,
uname
:
''
,
role
:
0
,
uid
:
{
$uid
},
},
methods
:
{
//事件
operation
:
function
(
touid
,
name
)
{
operation
:
function
(
touid
,
name
,
role
)
{
this
.
alertBox
=
true
;
this
.
touid
=
touid
;
this
.
uname
=
name
;
this
.
role
=
role
;
},
roleBtn
:
function
()
{
var
_this
=
this
;
...
...
@@ -158,6 +160,7 @@
this
.
alertBox
=
false
;
this
.
touid
=
''
;
this
.
uname
=
''
;
this
.
role
=
0
;
},
returnBtn
:
function
()
{
layer
.
confirm
(
'您确定要解散家族'
,{
...
...
@@ -213,6 +216,15 @@
});
}
},
computed
:
{
'roleBtn'
:
function
()
{
let
name
=
'设为管理员'
;
if
(
this
.
role
>
0
)
{
name
=
'取消管理员'
;
}
return
name
;
}
},
watch
:
{
//数据监测函数
},
...
...
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