Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b49e5905
authored
Apr 29, 2025
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.52.1' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V4.52.1
2 parents
1c4c58ac
cf58a97f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
components/HomeFrame/components/LeftSide.vue
pages/common/messageDetail.vue
components/HomeFrame/components/LeftSide.vue
View file @
b49e590
...
...
@@ -2,7 +2,7 @@
<view
class=
"left-side"
>
<view
class=
"user-box"
>
<view
class=
"user-info flex"
@
click=
"jumpPersonCenter"
>
<view
class=
"user-avatar sprite-icon icon-avatar
"
></view>
<view
:class=
"['user-avatar', 'sprite-icon', 'icon-avatar', tabIndex == 99 ? 'user-active': '']
"
></view>
<view
class=
"user-name"
>
{{
userInfo
.
name
}}
<view
v-if=
"hasPerson"
class=
"sprite-icon icon-arrow-next"
></view>
</view>
...
...
@@ -159,7 +159,6 @@ export default {
},
jumpPersonCenter
()
{
if
(
this
.
hasPerson
)
{
console
.
log
(
'跳转个人个人中心'
)
this
.
$emit
(
'update:tabIndex'
,
99
)
}
}
...
...
@@ -285,6 +284,9 @@ export default {
border
:
toRpx
(
2
)
solid
#ffffff
;
box-shadow
:
0
toRpx
(
4
)
toRpx
(
8
)
0
#0000001
a
;
border-radius
:
100%
;
&.user-active
{
border
:
toRpx
(
2
)
solid
rgb
(
55
,
115
,
248
);
}
}
.user-name
{
...
...
pages/common/messageDetail.vue
View file @
b49e590
...
...
@@ -117,27 +117,27 @@ export default {
console
.
log
(
this
.
countFlag
)
let
scriptId
=
null
if
(
this
.
countFlag
)
{
try
{
this
.
isProcessing
=
true
;
let
idList
let
idList
idList
=
[
this
.
messageInfo
.
id
];
scriptId
=
[
this
.
messageInfo
.
scriptId
]
try
{
this
.
isProcessing
=
true
;
// this.back(idList)
// 接口调用
const
res
=
await
uni
.
$api
.
commonApi
.
updateMessageStatus
({
idList
}
)
// if (res)
{
this
.
backPage
(
scriptId
,
idList
)
//
this.backPage(scriptId, idList)
//
}
else
{
// console.log('接口返回结果为空,可能存在问题')
//
}
}
catch
(
error
)
{
this
.
backPage
(
)
// this.backPage(scriptId, idList
)
console
.
error
(
'更新消息状态时出现错误:'
,
error
)
}
finally
{
this
.
isProcessing
=
false
;
// 处理完成,将标志位设为 false
this
.
backPage
(
scriptId
,
idList
)
}
}
}
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment