Hangar/frontend/pages/linkout.vue

26 lines
716 B
Vue
Raw Normal View History

2021-01-22 01:19:00 +08:00
<template>
2021-02-11 20:37:06 +08:00
<v-col cols="12" md="6" offset-md="3">
<v-card>
2021-02-12 11:33:01 +08:00
<v-card-title>{{ $t('linkout.title') }}</v-card-title>
2021-02-11 20:37:06 +08:00
<v-card-text v-text="$t('linkout.text', [target])" />
<v-card-actions>
2021-02-13 14:36:53 +08:00
<v-btn @click="$router.back()">{{ $t('linkout.abort') }}</v-btn>
2021-02-14 00:45:22 +08:00
<v-btn :href="target">{{ $t('linkout.continue') }}</v-btn>
2021-02-11 20:37:06 +08:00
</v-card-actions>
</v-card>
</v-col>
2021-01-22 01:19:00 +08:00
</template>
<script lang="ts">
import { Component, Vue } from 'nuxt-property-decorator';
@Component
2021-02-11 20:37:06 +08:00
export default class LinkoutPage extends Vue {
get target() {
return this.$route.query.remoteUrl;
}
}
2021-01-22 01:19:00 +08:00
</script>
<style lang="scss" scoped></style>