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-06-06 17:04:26 +08:00
|
|
|
<v-btn @click="$router.back()">
|
|
|
|
{{ $t('linkout.abort') }}
|
|
|
|
</v-btn>
|
|
|
|
<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">
|
2021-03-21 10:06:09 +08:00
|
|
|
import { Component } from 'nuxt-property-decorator';
|
|
|
|
import { HangarComponent } from '~/components/mixins';
|
2021-01-22 01:19:00 +08:00
|
|
|
|
2021-05-23 02:48:27 +08:00
|
|
|
@Component({})
|
2021-03-21 10:06:09 +08:00
|
|
|
export default class LinkoutPage extends HangarComponent {
|
2021-05-23 02:48:27 +08:00
|
|
|
head() {
|
|
|
|
return this.$seo.head('Linkout', null, this.$route, null);
|
|
|
|
}
|
|
|
|
|
2021-02-11 20:37:06 +08:00
|
|
|
get target() {
|
|
|
|
return this.$route.query.remoteUrl;
|
|
|
|
}
|
|
|
|
}
|
2021-01-22 01:19:00 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped></style>
|