Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_wechat
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_wechat
Commits
a145f8eb
Commit
a145f8eb
authored
Jan 23, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
3158e4e5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
myInfo.vue
pages/my/myInfo.vue
+2
-7
No files found.
pages/my/myInfo.vue
View file @
a145f8eb
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<view
class=
"flex-col content-box"
>
<view
class=
"flex-col content-box"
>
<view
class=
"user-action"
>
<view
class=
"user-action"
>
<view
v-for=
"(item,k) in userAction"
:key=
"k"
class=
"action-box"
>
<view
v-for=
"(item,k) in userAction"
:key=
"k"
class=
"action-box"
>
<view
v-if=
"item.show|| userInfo.
roleType >= 1
"
:style=
"
{background:item.color}" class="action-item" @tap="onActionNav(item,k)">
<view
v-if=
"item.show|| userInfo.
isCleaner
"
:style=
"
{background:item.color}" class="action-item" @tap="onActionNav(item,k)">
<view
class=
"flex-1"
>
<view
class=
"flex-1"
>
<text
class=
"text-title text-lg"
>
{{
item
.
label
}}
</text>
<text
class=
"text-title text-lg"
>
{{
item
.
label
}}
</text>
</view>
</view>
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
<text
class=
"text-title"
>
联系我们
</text>
<text
class=
"text-title"
>
联系我们
</text>
</view>
</view>
</view>
</view>
<view
v-if=
"
deviceRole
"
class=
"cu-item arrow"
@
tap=
"onHandle(5)"
>
<view
v-if=
"
userInfo.isAdmin
"
class=
"cu-item arrow"
@
tap=
"onHandle(5)"
>
<view
class=
"content"
>
<view
class=
"content"
>
<image
:src=
"assetsPath+'/my_list_4.png'"
class=
"png"
mode=
"aspectFit"
></image>
<image
:src=
"assetsPath+'/my_list_4.png'"
class=
"png"
mode=
"aspectFit"
></image>
<text
class=
"text-title"
>
设备控制
</text>
<text
class=
"text-title"
>
设备控制
</text>
...
@@ -242,11 +242,6 @@
...
@@ -242,11 +242,6 @@
this
.
userName
=
this
.
userInfo
.
phone
.
slice
(
-
4
);
this
.
userName
=
this
.
userInfo
.
phone
.
slice
(
-
4
);
uni
.
setStorageSync
(
'userInfo'
,
this
.
userInfo
)
uni
.
setStorageSync
(
'userInfo'
,
this
.
userInfo
)
this
.
loginStatus
=
true
;
this
.
loginStatus
=
true
;
deviceCtrlAuth
().
then
(
result
=>
{
if
(
result
.
data
.
code
==
200
&&
result
.
data
.
data
.
length
){
this
.
deviceRole
=
true
}
})
}
}
})
})
},
},
...
...
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