Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db_qms_wx
Project
Project
Details
Activity
Releases
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
刘怀志
db_qms_wx
Commits
78bb047e
Commit
78bb047e
authored
Mar 19, 2025
by
刘怀志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(消息): 消息模块-2
parent
7fe1b9f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
49 deletions
+35
-49
index.vue
pages/message/index.vue
+35
-49
No files found.
pages/message/index.vue
View file @
78bb047e
...
@@ -18,36 +18,15 @@
...
@@ -18,36 +18,15 @@
<!--消息卡片-->
<!--消息卡片-->
<view
v-for=
"(item,key) in noticeList"
:key=
"key"
style=
"display: flex;background-color: #ffffff"
>
<view
v-for=
"(item,key) in noticeList"
:key=
"key"
style=
"display: flex;background-color: #ffffff"
>
<view
v-if=
"checkShow"
class=
"checkView"
@
click=
"selectRead(item)"
>
<view
class=
"noticeCard"
>
<u-checkbox-group
v-model=
"item.checkStatus"
@
change=
"selectRead(item)"
>
<view
class=
"noticeTop"
>
<u-checkbox
shape=
"circle"
active-color=
"#3aab94"
:checked=
"item.readCheck"
/>
</u-checkbox-group>
</view>
<view
v-if=
"delShow"
class=
"checkView"
@
click=
"selectDel(item)"
>
<u-checkbox-group
v-model=
"item.checkDelStatus"
@
change=
"selectDel(item)"
>
<u-checkbox
:key=
"item.id"
shape=
"circle"
active-color=
"#3aab94"
:name=
"'yes'"
:checked=
"item.delCheck"
/>
</u-checkbox-group>
</view>
<view
class=
"noticeCard"
@
click=
"showDetail(item)"
>
<view
style=
"display: flex"
>
<u-icon
v-if=
"item.isPlatform === '1'"
size=
"24"
:name=
"imageUrl + '/tmt-pic/pet-app/xiaoxi_icon_tuisong@2x.png'"
/>
<u-icon
v-else
size=
"24"
:name=
"imageUrl + '/tmt-pic/pet-app/xiaoxi_icon_xitong@2x.png'"
/>
<view
class=
"titleClass"
>
{{
queryNotice
.
mesType
===
'1'
?
'生产信息审批'
:
'基础数据审批'
}}
</view>
<view
class=
"titleClass"
>
{{
queryNotice
.
mesType
===
'1'
?
'生产信息审批'
:
'基础数据审批'
}}
</view>
<view
class=
"timeClass"
>
{{
item
.
updateDate
!==
undefined
&&
item
.
updateDate
!==
null
?
parseTime
(
item
.
updateDate
,
'{m
}
-{d
}
{h
}
:{i
}
:{s
}
'
)
:
'暂无数据'
}}
<
/view
>
<
/view
>
<
/view
>
<
view
class
=
"subTitleClass"
>
{{
item
.
message
}}
<
/view
>
<
view
class
=
"subTitleClass"
>
{{
item
.
message
}}
<
/view
>
<view
class=
"timeClass"
>
{{
item
.
updateDate
!==
undefined
&&
item
.
updateDate
!==
null
?
parseTime
(
item
.
updateDate
,
'{m
}
-{d
}
{h
}
:{i
}
:{s
}
'
)
:
'暂无数据'
}}
<
/view
>
<
/view
>
<
/view
>
<
/view
>
<
/view
>
...
@@ -74,7 +53,7 @@
...
@@ -74,7 +53,7 @@
/>
/>
<
/view
>
<
/view
>
<
view
v
-
show
=
"loadStatus === 'loading'"
style
=
"text-align: center"
>
<
view
v
-
show
=
"loadStatus === 'loading'"
style
=
"text-align: center"
>
<!--
<
image
src
=
"../../static/images/home/loading.gif"
style
=
"width: 50rpx;height: 60rpx;"
/>
-->
<!--
<
image
src
=
"../../static/images/home/loading.gif"
style
=
"width: 50rpx;height: 60rpx;"
/>
-->
<
/view
>
<
/view
>
<!--
顶部提示
-->
<!--
顶部提示
-->
...
@@ -123,7 +102,6 @@ export default {
...
@@ -123,7 +102,6 @@ export default {
page
:
1
,
page
:
1
,
rows
:
10
,
rows
:
10
,
receiverId
:
undefined
,
receiverId
:
undefined
,
mesType
:
'1'
}
,
}
,
noticeList
:
[],
noticeList
:
[],
total
:
0
,
total
:
0
,
...
@@ -396,35 +374,43 @@ export default {
...
@@ -396,35 +374,43 @@ export default {
}
}
.
noticeCard
{
.
noticeCard
{
width
:
100
%
;
width
:
100
%
;
background
-
color
:
#
fff
;
background
-
color
:
#
F9F9F9
;
margin
:
32
rpx
0
rpx
0
32
rpx
;
margin
:
20
rpx
22
rpx
0
20
rpx
;
border
-
bottom
:
2
rpx
solid
#
e9e9e9
;
padding
-
bottom
:
32
rpx
;
padding
-
bottom
:
32
rpx
;
border
-
radius
:
15
rpx
;
.
noticeTop
{
display
:
flex
;
justify
-
content
:
space
-
between
;
border
-
bottom
:
2
rpx
solid
#
F2F2F2
;
padding
:
22
rpx
34
rpx
24
rpx
32
rpx
;
}
.
titleClass
{
.
titleClass
{
margin
-
left
:
15
rpx
;
font
-
family
:
PingFangSC
,
PingFang
SC
;
font
-
size
:
34
rpx
;
font
-
family
:
Source
Han
Sans
CN
-
Medium
,
Source
Han
Sans
CN
;
font
-
weight
:
500
;
font
-
weight
:
500
;
color
:
#
000000
;
font
-
size
:
30
rpx
;
line
-
height
:
48
rpx
;
color
:
#
333399
;
text
-
align
:
left
;
font
-
style
:
normal
;
text
-
transform
:
none
;
}
}
.
subTitleClass
{
.
subTitleClass
{
margin
-
top
:
20
rpx
;
font
-
family
:
PingFangSC
,
PingFang
SC
;
font
-
size
:
30
rpx
;
font
-
family
:
Source
Han
Sans
CN
-
Regular
,
Source
Han
Sans
CN
;
font
-
weight
:
400
;
font
-
weight
:
400
;
color
:
#
666666
;
font
-
size
:
28
rpx
;
line
-
height
:
35
rpx
;
color
:
#
9
A9A9A
;
text
-
align
:
left
;
font
-
style
:
normal
;
text
-
transform
:
none
;
padding
:
28
rpx
32
rpx
0
32
rpx
;
}
}
.
timeClass
{
.
timeClass
{
text
-
align
:
right
;
font
-
family
:
PingFangSC
,
PingFang
SC
;
margin
-
top
:
16
rpx
;
margin
-
right
:
32
rpx
;
font
-
size
:
24
rpx
;
font
-
family
:
Source
Han
Sans
CN
-
Regular
,
Source
Han
Sans
CN
;
font
-
weight
:
400
;
font
-
weight
:
400
;
color
:
rgba
(
52
,
55
,
68
,
0.4
);
font
-
size
:
28
rpx
;
line
-
height
:
28
rpx
;
color
:
#
666666
;
text
-
align
:
right
;
font
-
style
:
normal
;
text
-
transform
:
none
;
}
}
}
}
// 有导航栏后 防止滑到最上面
// 有导航栏后 防止滑到最上面
...
...
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