Новости с картинками
This commit is contained in:
1 parent
168b58d297
commit
7c07190261
6 files changed
+21
-6
No files matched your search
@@ -217,7 +217,12 @@
|
||||
<v-row class="ma-0 my-3 overflow-auto h-0">
|
||||
<v-col class="pa-0">
|
||||
<v-card-text class="pt-0">
|
||||
{{x.text}}
|
||||
|
||||
<div v-html=formatText(x.text)>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</v-card-text>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -226,8 +231,8 @@
|
||||
</v-row>
|
||||
</v-col>
|
||||
<v-col class="flex-column d-flex">
|
||||
<!-- <v-row class="flex-grow-0">
|
||||
<v-col class="bg-red pb-0 ">
|
||||
<v-row class="flex-grow-0">
|
||||
<v-col class="pb-0 ">
|
||||
<v-card
|
||||
height="350px"
|
||||
|
||||
@@ -235,7 +240,7 @@
|
||||
1
|
||||
</v-card>
|
||||
</v-col>
|
||||
</v-row> -->
|
||||
</v-row>
|
||||
<v-row >
|
||||
<v-col class="">
|
||||
<v-card
|
||||
@@ -755,6 +760,11 @@ export default {
|
||||
idnews.value = news
|
||||
}
|
||||
|
||||
const formatText= (text) => {
|
||||
return text.replaceAll('src="/media/uploads', `src="${baseURL}media/uploads`)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
const limitText=(text)=> {
|
||||
@@ -791,7 +801,8 @@ export default {
|
||||
selecnews,
|
||||
checkremote,
|
||||
route,
|
||||
spravURL
|
||||
spravURL,
|
||||
formatText
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user