Вылет из системы
This commit is contained in:
1 parent
31b7ea59c3
commit
1540260add
7 files changed
+22
-84
No files matched your search
@@ -30,11 +30,16 @@
|
||||
</template>
|
||||
</v-textarea>
|
||||
</template>
|
||||
<v-date-picker
|
||||
v-model="selectedDate"
|
||||
show-adjacent-months
|
||||
@update:modelValue="dateStart"
|
||||
/>
|
||||
<v-locale-provider locale="ru">
|
||||
<v-date-picker
|
||||
v-model="selectedDate"
|
||||
show-adjacent-months
|
||||
hide-header
|
||||
@update:modelValue="dateStart"
|
||||
border
|
||||
/>
|
||||
|
||||
</v-locale-provider>
|
||||
</v-menu>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
width="600"
|
||||
class="mx-auto"
|
||||
>
|
||||
<v-card height="440">
|
||||
<v-card height="480">
|
||||
<v-card-title class="pl-6">
|
||||
Информация
|
||||
</v-card-title>
|
||||
@@ -18,8 +18,8 @@
|
||||
<v-col lg=4>
|
||||
<v-img
|
||||
cover
|
||||
min-height="180px"
|
||||
max-height="180px"
|
||||
min-height="222px"
|
||||
max-height="222px"
|
||||
:src="checkremote(`${spravURL}${userlinks.login}.jpg`)"
|
||||
/>
|
||||
</v-col>
|
||||
|
||||
@@ -74,15 +74,7 @@ class="px-3 ddd" >
|
||||
</v-btn>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
<v-dialog
|
||||
v-model="menuGetUserDialog"
|
||||
persistent width="800">
|
||||
|
||||
<Card-users
|
||||
:menuGetUserDialog="menuGetUserDialog"
|
||||
:loging="iduser"
|
||||
@menusClose="menuGetUserDialog = false" />
|
||||
</v-dialog>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -91,13 +83,13 @@ import { ref,watch, onMounted, computed } from 'vue'
|
||||
import {checkremote} from '@/utils/universal_functions'
|
||||
import { spravURL } from '@/utils/axios-api'
|
||||
import { axiosApiInstance } from '@/utils/axios-api'
|
||||
import CardUsers from '@/components/cardUsers.vue'
|
||||
|
||||
import VcardUser from '@/components/UI/fiousercard/vcardUser.vue'
|
||||
import listUser from '@/components/UI//fiousercard/listUser.vue'
|
||||
export default {
|
||||
|
||||
components: {
|
||||
CardUsers, VcardUser,listUser
|
||||
VcardUser,listUser
|
||||
},
|
||||
|
||||
props: {
|
||||
@@ -114,7 +106,7 @@ export default {
|
||||
},
|
||||
|
||||
setup(props, {emit}){
|
||||
const menuGetUserDialog = ref(false)
|
||||
|
||||
const t_dailyRound = ref({})
|
||||
// const result = ref({})
|
||||
const iduser = ref('')
|
||||
@@ -137,7 +129,7 @@ export default {
|
||||
|
||||
|
||||
const getcard = async (idus) => {
|
||||
menuGetUserDialog.value = true
|
||||
|
||||
iduser.value = idus
|
||||
}
|
||||
|
||||
@@ -167,7 +159,7 @@ export default {
|
||||
spravURL,
|
||||
t_dailyRound,
|
||||
result,
|
||||
menuGetUserDialog,
|
||||
|
||||
getcard,
|
||||
iduser
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
@click="detailRound(x.position, x.position__name)"
|
||||
class="numstyle mt-2 py-0 font-weight-bold pointer bg-black_and_white"
|
||||
>
|
||||
<!-- <my-helper :pretext="x"/> -->
|
||||
|
||||
<vue3-autocounter
|
||||
ref='counter'
|
||||
:startAmount='0'
|
||||
|
||||
@@ -6,66 +6,7 @@
|
||||
>
|
||||
<news-card :news="x"/>
|
||||
</div>
|
||||
<!-- <v-card
|
||||
:ref="i"
|
||||
style="width:421px"
|
||||
class="mx-auto px-3 pt-3 elevation-0"
|
||||
:class="i>0?'mt-1':''"
|
||||
v-for="(x, i) in newss.result" :key= i
|
||||
>
|
||||
|
||||
<v-card-title class="py-1">
|
||||
{{x.title}}
|
||||
</v-card-title>
|
||||
<v-img
|
||||
:src="`${burl}${x.link}`"
|
||||
height="175px"
|
||||
cover
|
||||
width="92%"
|
||||
class="mx-auto"
|
||||
/>
|
||||
|
||||
<v-list-item class="w-100">
|
||||
<div class="justify-self-start mt-1">
|
||||
<v-icon size="x-small" class="me-1" icon="mdi-account" ></v-icon>
|
||||
<span class="text-caption me-2">{{splitname(x.author)}}</span>
|
||||
</div>
|
||||
|
||||
<template v-slot:append>
|
||||
<div class="justify-self-end">
|
||||
<v-icon size="x-small" class="me-1" :icon="x.scores.filter(e=> e.user==accountStore.user.login && e.score == true).length>0?'mdi-thumb-up':'mdi-thumb-up-outline'" @click="toggleIncrementLike(x.id, true)"></v-icon>
|
||||
<span class="subheading me-2">{{x.scores.filter(e=> e.score==true).length}}</span>
|
||||
<span class="me-1">·</span>
|
||||
<v-icon size="x-small" class="me-1" :icon="x.scores.filter(e=> e.user==accountStore.user.login && e.score == false).length>0?'mdi-thumb-down':'mdi-thumb-down-outline'" @click="toggleIncrementLike(x.id, false)"/>
|
||||
<span class="subheading me-2">{{x.scores.filter(e=> e.score==false).length}}</span>
|
||||
<span class="me-1">·</span>
|
||||
<v-icon size="x-small" class="me-1" icon="mdi-message-text-outline"/>
|
||||
<span class="subheading">{{ x.comment.length }}</span>
|
||||
</div>
|
||||
</template>
|
||||
</v-list-item>
|
||||
<v-divider/>
|
||||
|
||||
<v-card-text class="pb-0">
|
||||
<div v-html=limitText(x.text)>
|
||||
</div>
|
||||
</v-card-text>
|
||||
|
||||
<div class="pt-1 pl-1 pb-2">
|
||||
<v-btn
|
||||
color="more_details_btn"
|
||||
variant="text"
|
||||
:to='`/news?id=${x.id}`'
|
||||
size="small"
|
||||
append-icon="mdi-step-forward-2"
|
||||
>
|
||||
Подробнее
|
||||
</v-btn>
|
||||
</div>
|
||||
<v-divider/>
|
||||
|
||||
<v-divider class="mt-1"/>
|
||||
</v-card> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ import Vue3Autocounter from 'vue3-autocounter'
|
||||
const app = createApp(App)
|
||||
|
||||
components.forEach((component) => {
|
||||
|
||||
app.component(component.name, component);
|
||||
})
|
||||
|
||||
|
||||
@@ -94,8 +94,7 @@
|
||||
|
||||
<v-row no-gutters class="gap">
|
||||
<v-col lg=3>
|
||||
<feedmodul
|
||||
:feedback="feedback"/>
|
||||
<feedmodul :feedback="feedback"/>
|
||||
</v-col>
|
||||
<v-col class="d-flex flex-column">
|
||||
<v-row no-gutters class="ma-0 pb-1">
|
||||
|
||||
Reference in new issue
Block a user