372effb7 by joe

1

1 parent 54b51ce0
......@@ -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"
......
......@@ -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";
......
......@@ -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>
......
......@@ -4,6 +4,8 @@ import {
httpPost
} from '@/api/fetch-api.js'
import "quill/dist/quill.core.css";
export default {
data() {
return {
......
......@@ -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>
......