Доделать алерт на обратную связь
This commit is contained in:
1 parent
339f4ceab2
commit
688249a328
8 files changed
+33
-12
No files matched your search
@@ -10,20 +10,21 @@
|
||||
icon="mdi-information"
|
||||
color="cyan-darken-3"
|
||||
size="12"
|
||||
class="cursor-help"
|
||||
v-bind="props"
|
||||
/>
|
||||
</template>
|
||||
<span class="text-caption">
|
||||
<span class="text-caption ">
|
||||
Информация о странице: <br/>
|
||||
{{router.currentRoute.value.meta.title}} <br/>
|
||||
с {{formatComa(appStore.countvisitor.visitdate)}}
|
||||
</span>
|
||||
</v-tooltip>
|
||||
<p>Посещений всего: {{ appStore.countvisitor.totalvisit }}</p>
|
||||
<p class="cursor-default">Посещений всего: {{ appStore.countvisitor.totalvisit }}</p>
|
||||
<v-divider />
|
||||
<p>Посещений сегодня: {{ appStore.countvisitor.visittoday }}</p>
|
||||
<p class="cursor-default">Посещений сегодня: {{ appStore.countvisitor.visittoday }}</p>
|
||||
<v-divider />
|
||||
<p>Из них уникальных: {{ appStore.countvisitor.uniqtoday }}</p>
|
||||
<p class="cursor-default">Из них уникальных: {{ appStore.countvisitor.uniqtoday }}</p>
|
||||
<v-divider />
|
||||
</v-list-item>
|
||||
<v-list-item v-else class="align-center">
|
||||
|
||||
@@ -53,7 +53,9 @@
|
||||
|
||||
|
||||
</v-card-actions>
|
||||
|
||||
</v-card>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -71,6 +73,8 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
setup(props, context) {
|
||||
const feedbackdata= ref({nowcomment: {comment: '' }, nowrating: []})
|
||||
|
||||
@@ -121,6 +125,7 @@ export default {
|
||||
console.log(feedbackdata.value.nowrating, 'feedbackdata.value.nowrating----------------------');
|
||||
axiosApiInstance.post(`api/feedback/feedbackdata/`, {nowrating : feedbackdata.value.nowrating, nowcomment: feedbackdata.value.nowcomment} ).then(data => {})
|
||||
menusCloses()
|
||||
|
||||
}
|
||||
|
||||
return {feedbackdata, average, menusCloses, myLabel, feedSend}
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
</v-card-title>
|
||||
<v-card-text
|
||||
@click="detailRound(x.position, x.position__name)"
|
||||
class="numstyle mt-2 py-0 font-weight-bold cursor-
|
||||
pointer bg-black_and_white"
|
||||
class="numstyle mt-2 py-0 font-weight-bold cursor-pointer bg-black_and_white"
|
||||
>
|
||||
|
||||
<vue3-autocounter
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
|
||||
<Card-like
|
||||
:LikeDialog="LikeDialog"
|
||||
@menusClose="LikeDialog = false" />
|
||||
@menusClose="closeinfo()" />
|
||||
</v-dialog>
|
||||
|
||||
<v-tooltip location="bottom">
|
||||
@@ -283,7 +283,19 @@
|
||||
<Online-users />
|
||||
|
||||
</v-navigation-drawer>
|
||||
|
||||
<v-alert
|
||||
color="#C51162"
|
||||
icon="mdi-material-design"
|
||||
theme="dark"
|
||||
border
|
||||
width = "500"
|
||||
position="fixed"
|
||||
class="bottom-alert"
|
||||
v-model="feedalert"
|
||||
closable
|
||||
>
|
||||
Phasellus blandit leo ut odio. Morbi mattis ullamcorper velit. Donec orci lectus, aliquam ut, faucibus non, euismod id, nulla. In ut quam vitae odio lacinia tincidunt.
|
||||
</v-alert>
|
||||
|
||||
</v-app>
|
||||
</template>
|
||||
@@ -324,7 +336,7 @@ export default {
|
||||
const accountStore = useAccountStore()
|
||||
const drawer = ref(true)
|
||||
const drawer_right = ref(true)
|
||||
|
||||
const feedalert = ref(false)
|
||||
const LikeDialog = ref(false)
|
||||
const rail = ref(false)
|
||||
const showTooltip = ref(false)
|
||||
@@ -455,7 +467,10 @@ export default {
|
||||
return new URL(`@/assets/FNS-logo-xs.png`, import.meta.url).href;
|
||||
})
|
||||
|
||||
|
||||
const closeinfo = () => {
|
||||
LikeDialog.value = false
|
||||
feedalert.value=true
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -474,10 +489,11 @@ export default {
|
||||
rail,
|
||||
showTooltip,
|
||||
menuTruncated,
|
||||
|
||||
feedalert,
|
||||
alert,
|
||||
burl,
|
||||
supperuser
|
||||
supperuser,
|
||||
closeinfo
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 267 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 264 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 302 KiB |
Reference in new issue
Block a user