mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 15:26:44 -06:00
wip
This commit is contained in:
parent
5f8021dfff
commit
249fdc1b5d
1 changed files with 51 additions and 50 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<a :href="url" :target="target">
|
||||
<a class="mk-url" :href="url" :target="target">
|
||||
<span class="schema">{{ schema }}//</span>
|
||||
<span class="hostname">{{ hostname }}</span>
|
||||
<span class="port" v-if="port != ''">:{{ port }}</span>
|
||||
|
@ -10,8 +10,10 @@
|
|||
</a>
|
||||
</template>
|
||||
|
||||
<script lang="typescript">
|
||||
export default {
|
||||
<script lang="ts">
|
||||
import Vue from 'vue';
|
||||
|
||||
export default Vue.extend({
|
||||
props: ['url', 'target'],
|
||||
data() {
|
||||
return {
|
||||
|
@ -33,14 +35,13 @@
|
|||
this.query = url.search;
|
||||
this.hash = url.hash;
|
||||
}
|
||||
};
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
.mk-url
|
||||
word-break break-all
|
||||
|
||||
> a
|
||||
> [data-fa]
|
||||
padding-left 2px
|
||||
font-size .9em
|
||||
|
|
Loading…
Reference in a new issue