e
This commit is contained in:
1 parent
5fe912e8c4
commit
20b8f4f262
2 files changed
+89
-151
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ export default [
|
|||||||
pluginJs.configs.recommended,
|
pluginJs.configs.recommended,
|
||||||
...pluginVue.configs["flat/essential"],
|
...pluginVue.configs["flat/essential"],
|
||||||
{rules: {
|
{rules: {
|
||||||
'no-console': 'warn',
|
'no-console': 'error',
|
||||||
|
|
||||||
}}
|
}}
|
||||||
];
|
];
|
||||||
+88
-150
@@ -1,160 +1,98 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<v-carousel
|
||||||
|
cover
|
||||||
|
:height="carushi"
|
||||||
|
hide-delimiters
|
||||||
|
hide-delimiter-background
|
||||||
|
show-arrows="hover"
|
||||||
|
color="white"
|
||||||
|
>
|
||||||
|
<v-carousel-item v-for="(x, i) in carous" :key="i" :src="`${burl}${x.link}`" cover eager>
|
||||||
|
<v-container fill-height fluid pa-0 ma-0 pb-3 class="flex-column h-100 d-flex">
|
||||||
|
<v-card class="bgCard h-100 d-flex flex-column">
|
||||||
|
<v-card-title class="ma-2 text-h3 text-uppercase titles py-5 flex-column">
|
||||||
|
<v-row>
|
||||||
|
<v-col class="pa-0 pl-1 align-self-center">{{ x.title }} </v-col>
|
||||||
|
|
||||||
<v-carousel
|
<v-col class="flex-grow-0 pa-0 pr-1">
|
||||||
|
<v-img width="50" :aspect-ratio="1" :src="`${burl}${x.sender}`" cover />
|
||||||
cover
|
</v-col>
|
||||||
:height="carushi"
|
</v-row>
|
||||||
hide-delimiters
|
</v-card-title>
|
||||||
hide-delimiter-background
|
<v-card-text
|
||||||
show-arrows="hover"
|
v-if="'text' in x && x.text.length > 0"
|
||||||
color="white"
|
class="ml-2 mb-0 mb-2 flex-grow-0 pb-3 text-h6 h-100 pl-3 py-3 mr-1"
|
||||||
|
>
|
||||||
|
<v-row>
|
||||||
|
<v-col cols="6" class="bgText">
|
||||||
|
<v-textarea
|
||||||
>
|
class="mt-n3 text-black textareas pt-2 font-weight-medium"
|
||||||
|
:model-value="x.text"
|
||||||
|
variant="plain"
|
||||||
<v-carousel-item
|
readonly
|
||||||
v-for="(x, i) in carous" :key="i"
|
auto-grow
|
||||||
:src="`${burl}${x.link}`"
|
rows="1"
|
||||||
cover
|
hide-details
|
||||||
eager
|
/>
|
||||||
>
|
</v-col>
|
||||||
|
|
||||||
<v-container
|
<v-col cols="6" class="bgText">
|
||||||
fill-height
|
<v-img :aspect-ratio="1" :src="`${burl}${x.link2}`" />
|
||||||
fluid
|
</v-col>
|
||||||
pa-0 ma-0 pb-3
|
</v-row>
|
||||||
class="flex-column h-100 d-flex"
|
</v-card-text>
|
||||||
>
|
</v-card>
|
||||||
|
</v-container>
|
||||||
<v-card class="bgCard h-100 d-flex flex-column">
|
</v-carousel-item>
|
||||||
<v-card-title class="ma-2 text-h3 text-uppercase titles py-5 flex-column">
|
</v-carousel>
|
||||||
<v-row>
|
</template>
|
||||||
<v-col class="pa-0 pl-1 align-self-center">{{x.title}}
|
|
||||||
</v-col>
|
|
||||||
|
|
||||||
<v-col class="flex-grow-0 pa-0 pr-1">
|
|
||||||
<v-img
|
|
||||||
|
|
||||||
width="50"
|
|
||||||
:aspect-ratio="1"
|
|
||||||
:src="`${burl}${x.sender}`"
|
|
||||||
cover
|
|
||||||
/>
|
|
||||||
</v-col>
|
|
||||||
</v-row>
|
|
||||||
|
|
||||||
|
|
||||||
</v-card-title>
|
|
||||||
<v-card-text v-if="'text' in x && x.text.length>0" class="ml-2 mb-0 mb-2 flex-grow-0 pb-3 text-h6 h-100 pl-3 py-3 mr-1 ">
|
|
||||||
<v-row>
|
|
||||||
|
|
||||||
|
<script>
|
||||||
<v-col cols=6 class=" bgText">
|
import { ref, computed } from 'vue';
|
||||||
<v-textarea
|
|
||||||
class="mt-n3 text-black textareas pt-2 font-weight-medium"
|
|
||||||
:model-value=x.text
|
|
||||||
variant='plain'
|
|
||||||
readonly
|
|
||||||
auto-grow
|
|
||||||
rows="1"
|
|
||||||
|
|
||||||
hide-details
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/>
|
import { baseURL } from '@/utils/axios-api';
|
||||||
|
import { axiosApiInstance } from '@/utils/axios-api';
|
||||||
</v-col>
|
|
||||||
|
|
||||||
|
|
||||||
<v-col cols=6 class=" bgText">
|
export default {
|
||||||
<v-img
|
setup() {
|
||||||
|
const burl = baseURL.slice(0, -1);
|
||||||
|
const carous = ref([{ link: '' }]);
|
||||||
:aspect-ratio="1"
|
|
||||||
:src="`${burl}${x.link2}`"
|
|
||||||
|
|
||||||
/>
|
|
||||||
|
|
||||||
</v-col>
|
|
||||||
|
|
||||||
|
|
||||||
</v-row>
|
|
||||||
|
|
||||||
</v-card-text>
|
|
||||||
</v-card>
|
|
||||||
|
|
||||||
|
|
||||||
</v-container>
|
|
||||||
|
|
||||||
</v-carousel-item>
|
|
||||||
|
|
||||||
</v-carousel>
|
|
||||||
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import { ref, computed } from 'vue'
|
|
||||||
import {getfromserver} from '@/utils/universal_functions'
|
|
||||||
import { baseURL } from '@/utils/axios-api'
|
|
||||||
import { axiosApiInstance } from '@/utils/axios-api'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export default {
|
|
||||||
|
|
||||||
setup() {
|
|
||||||
const burl = baseURL.slice(0,-1)
|
|
||||||
const carous=ref([{link: ""}])
|
|
||||||
|
|
||||||
axiosApiInstance.get(`api/fns/links/`).then(data => {
|
|
||||||
carous.value= data.data
|
|
||||||
|
|
||||||
// t_dailyRound.value = data.data
|
|
||||||
|
|
||||||
// result.value=JSON.parse(JSON.stringify(data.data.daily))
|
axiosApiInstance.get(`api/fns/links/`).then((data) => {
|
||||||
|
carous.value = data.data;
|
||||||
|
|
||||||
})
|
// t_dailyRound.value = data.data
|
||||||
// getfromserver("api/fns/links/", carous)
|
|
||||||
|
|
||||||
const carushi = computed(()=> {
|
|
||||||
|
|
||||||
return window.innerHeight-50
|
|
||||||
|
|
||||||
})
|
|
||||||
|
|
||||||
return { burl, carous, carushi}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
// result.value=JSON.parse(JSON.stringify(data.data.daily))
|
||||||
|
});
|
||||||
|
// getfromserver("api/fns/links/", carous)
|
||||||
|
|
||||||
|
const carushi = computed(() => {
|
||||||
}
|
return window.innerHeight - 50;
|
||||||
</script>
|
});
|
||||||
|
|
||||||
<style>
|
return { burl, carous, carushi };
|
||||||
.bgCard {
|
},
|
||||||
/* #ffffff6b #ffffff8c*/
|
};
|
||||||
background: #ffffff38 ;
|
</script>
|
||||||
}
|
|
||||||
|
<style>
|
||||||
.bgText {
|
.bgCard {
|
||||||
background: #ffffffb0;
|
/* #ffffff6b #ffffff8c*/
|
||||||
line-height: 3.1rem!important;
|
background: #ffffff38;
|
||||||
|
}
|
||||||
}
|
|
||||||
|
.bgText {
|
||||||
.titles {
|
background: #ffffffb0;
|
||||||
/* font-family: cursive !important; */
|
line-height: 3.1rem !important;
|
||||||
background: #ffffff8c;
|
}
|
||||||
}
|
|
||||||
|
.titles {
|
||||||
.textareas .v-field__input {
|
/* font-family: cursive !important; */
|
||||||
|
background: #ffffff8c;
|
||||||
font-size: 2.5em!important;
|
}
|
||||||
}
|
|
||||||
</style>
|
.textareas .v-field__input {
|
||||||
|
font-size: 2.5em !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in new issue
Block a user