Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
372effb7
authored
2019-12-24 22:35:07 +0800
by
joe
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
54b51ce0
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
2 deletions
package.json
src/pages/news-detail/news-detail.js
src/pages/news-detail/news-detail.vue
src/pages/profile/profile.js
src/pages/profile/profile.vue
package.json
View file @
372effb
...
...
@@ -24,11 +24,13 @@
"mockjs"
:
"^1.0.1-beta3"
,
"postcss-pxtorem"
:
"^4.0.1"
,
"purecss"
:
"^1.0.1"
,
"quill"
:
"^1.3.7"
,
"ua-device"
:
"^0.1.10"
,
"vant"
:
"^2.2.15"
,
"vue"
:
"^2.6.10"
,
"vue-awesome-swiper"
:
"^3.1.3"
,
"vue-i18n"
:
"^8.15.0"
,
"vue-quill-editor"
:
"^3.0.6"
,
"vue-router"
:
"^3.0.3"
,
"vue-video-player"
:
"^5.0.2"
,
"vuex"
:
"^3.0.1"
...
...
src/pages/news-detail/news-detail.js
View file @
372effb
...
...
@@ -5,6 +5,8 @@ import {
httpPost
}
from
'@/api/fetch-api.js'
import
"quill/dist/quill.core.css"
;
import
{
getDateYMD
}
from
"@/utils/biz.js"
;
import
{
setTitle
}
from
"@/utils/utils.js"
;
...
...
src/pages/news-detail/news-detail.vue
View file @
372effb
...
...
@@ -11,7 +11,7 @@
<div
class=
"date"
>
<img
class=
"icon-clock"
src=
"@/assets/images/news-detail/icon-clock.png"
alt=
""
>
{{
$t
(
'newsDetail.publishAt'
)
}}
:
{{
data
.
dateFormat
}}
</div>
<div
class=
"pv"
>
{{
$t
(
'newsDetail.readers'
)
}}
:
{{
data
.
pv
}}
{{
$t
(
'newsDetail.per'
)
}}
</div>
</div>
<div
class=
"box desc
"
v-html=
"data.content"
>
<div
class=
"box desc
ql-editor"
v-html=
"data.content"
>
{{
data
.
content
}}
</div>
</div>
...
...
src/pages/profile/profile.js
View file @
372effb
...
...
@@ -4,6 +4,8 @@ import {
httpPost
}
from
'@/api/fetch-api.js'
import
"quill/dist/quill.core.css"
;
export
default
{
data
()
{
return
{
...
...
src/pages/profile/profile.vue
View file @
372effb
...
...
@@ -5,7 +5,7 @@
<div>
<div
class=
"top-space"
></div>
<h2
class=
"tit"
>
{{
title
}}
</h2>
<div
class=
"box desc"
v-html=
"content"
>
<div
class=
"box desc
ql-editor
"
v-html=
"content"
>
</div>
</div>
...
...
Please
register
or
sign in
to post a comment