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
007a10c0
Commit
007a10c0
authored
Oct 26, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab.33.cn:chenqikuai/fns_front_2 into dev
parents
0484b0be
c1fe4455
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
index.vue
src/views/NewsDetail/index.vue
+1
-1
index.vue
src/views/Search/index.vue
+1
-0
msgDetail.vue
src/views/withMenu/Mine/msgDetail.vue
+1
-2
No files found.
src/views/NewsDetail/index.vue
View file @
007a10c0
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<nav-bar
:title=
"title"
:style=
"
{ 'background-color':'#F7F7FA'}" />
<nav-bar
:title=
"title"
:style=
"
{ 'background-color':'#F7F7FA'}" />
<div
class=
" px-5 py-8 overflow-hidden break-all"
>
<div
class=
" px-5 py-8 overflow-hidden break-all"
>
<p
class=
" text-base text-gray-800 font-semibold"
>
{{
info
.
title
}}
</p>
<p
class=
" text-base text-gray-800 font-semibold"
>
{{
info
.
title
}}
</p>
<p
class=
" text-xs text-gray-400 mt-5 "
>
发布时间:
{{
$format
(
info
.
created
_at
,
'YYYY-MM-DD'
)
}}
<span
v-if=
"title === '政策详情'"
class=
"inline-block ml-8"
>
作者:
{{
info
.
writer
}}
</span>
</p>
<p
class=
" text-xs text-gray-400 mt-5 "
>
发布时间:
{{
$format
(
info
.
update
_at
,
'YYYY-MM-DD'
)
}}
<span
v-if=
"title === '政策详情'"
class=
"inline-block ml-8"
>
作者:
{{
info
.
writer
}}
</span>
</p>
<div
class=
" text-sm text-gray-800 text-justify mt-5"
v-html=
"info.content"
></div>
<div
class=
" text-sm text-gray-800 text-justify mt-5"
v-html=
"info.content"
></div>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/Search/index.vue
View file @
007a10c0
...
@@ -32,6 +32,7 @@ export default defineComponent({
...
@@ -32,6 +32,7 @@ export default defineComponent({
showResult
.
value
=
visible
showResult
.
value
=
visible
request
(
val
).
then
(
res
=>
{
request
(
val
).
then
(
res
=>
{
lists
.
value
=
res
.
data
.
items
lists
.
value
=
res
.
data
.
items
lists
.
value
.
sort
((
a
:
{
update_at
:
number
},
b
:
{
update_at
:
number
})
=>
b
.
update_at
-
a
.
update_at
)
if
(
lists
.
value
.
length
>
0
)
{
if
(
lists
.
value
.
length
>
0
)
{
isEmpty
.
value
=
false
isEmpty
.
value
=
false
}
}
...
...
src/views/withMenu/Mine/msgDetail.vue
View file @
007a10c0
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
" text-center"
>
<div
class=
" text-center"
>
<nav-bar
title=
"消息"
:style=
"
{ 'background-color':'#F7F7FA'}"/>
<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-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-400 text-xs mt-3"
>
{{
$format
(
info
.
update
_at
,
'YYYY-MM-DD HH:mm:ss'
)
}}
</p>
<p
class=
" text-gray-800 text-sm text-justify mx-5 mt-6 overflow-hidden break-all"
>
{{
info
.
content
}}
</p>
<p
class=
" text-gray-800 text-sm text-justify mx-5 mt-6 overflow-hidden break-all"
>
{{
info
.
content
}}
</p>
</div>
</div>
</
template
>
</
template
>
...
@@ -19,7 +19,6 @@ export default defineComponent({
...
@@ -19,7 +19,6 @@ export default defineComponent({
const
info
=
ref
({}
as
any
)
const
info
=
ref
({}
as
any
)
info
.
value
=
JSON
.
parse
(
route
.
query
.
info
as
string
)
info
.
value
=
JSON
.
parse
(
route
.
query
.
info
as
string
)
return
{
return
{
info
info
}
}
...
...
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