Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
fns_front_2
Commits
ed9ce360
Commit
ed9ce360
authored
Oct 14, 2021
by
xhx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息跳转
parent
363763e2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
index.vue
src/views/withMenu/Home/Notify/index.vue
+15
-2
msgDetail.vue
src/views/withMenu/Mine/msgDetail.vue
+1
-1
No files found.
src/views/withMenu/Home/Notify/index.vue
View file @
ed9ce360
...
...
@@ -16,7 +16,11 @@
class=
"overflow-ellipsis overflow-hidden"
v-for=
"item in list"
:key=
"item.uuid"
>
{{ item.content }}
</van-swipe-item>
>
<div
@
click=
"$router.push({path: '/msgDetail', query: {info: JSON.stringify(item)}})"
>
{{ item.content }}
</div>
</van-swipe-item>
</van-swipe>
</van-notice-bar>
</template>
...
...
@@ -31,7 +35,16 @@ export default defineComponent({
"van-swipe"
:
Swipe
,
"van-swipe-item"
:
SwipeItem
,
},
props
:
[
'list'
]
props
:
[
'list'
],
setup
()
{
const
goPage
=
()
=>
{
console
.
log
(
1111
)
}
return
{
goPage
}
}
});
</
script
>
<
style
>
...
...
src/views/withMenu/Mine/msgDetail.vue
View file @
ed9ce360
...
...
@@ -3,7 +3,7 @@
<nav-bar
title=
"消息"
:style=
"
{ 'background-color':'#F7F7FA'}"/>
<p
class=
" text-gray-800 text-sm font-semibold mt-7"
>
{{
info
.
title
}}
</p>
<p
class=
" text-gray-400 text-xs mt-3"
>
{{
$format
(
info
.
created_at
,
'YYYY-MM-DD HH:mm:ss'
)
}}
</p>
<p
class=
" text-gray-800 text-sm text-justify mx-5 mt-6"
>
{{
info
.
content
}}
</p>
<p
class=
" text-gray-800 text-sm text-justify mx-5 mt-6
overflow-hidden break-all
"
>
{{
info
.
content
}}
</p>
</div>
</
template
>
...
...
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