細かい修正など

This commit is contained in:
syuilo 2020-12-28 13:58:57 +09:00
parent b67ed64116
commit 20c076b369
4 changed files with 7 additions and 4 deletions

View file

@ -1,9 +1,9 @@
<template> <template>
<span class="eiwwqkts" :class="{ cat }" :title="acct(user)" v-if="disableLink" v-user-preview="disablePreview ? undefined : user.id" @click="onClick"> <span class="eiwwqkts" :class="{ cat }" :title="acct(user)" v-if="disableLink" v-user-preview="disablePreview ? undefined : user.id" @click="onClick">
<img class="inner" :src="url"/> <img class="inner" :src="url" decoding="async"/>
</span> </span>
<MkA class="eiwwqkts" :class="{ cat }" :to="userPage(user)" :title="acct(user)" :target="target" v-else v-user-preview="disablePreview ? undefined : user.id"> <MkA class="eiwwqkts" :class="{ cat }" :to="userPage(user)" :title="acct(user)" :target="target" v-else v-user-preview="disablePreview ? undefined : user.id">
<img class="inner" :src="url"/> <img class="inner" :src="url" decoding="async"/>
</MkA> </MkA>
</template> </template>

View file

@ -39,7 +39,9 @@
<label v-if="meta.tosUrl" class="tou"> <label v-if="meta.tosUrl" class="tou">
<input type="checkbox" v-model="ToSAgreement"> <input type="checkbox" v-model="ToSAgreement">
<I18n :src="$ts.agreeTo"> <I18n :src="$ts.agreeTo">
<a :href="meta.tosUrl" class="_link" target="_blank">{{ $ts.tos }}</a> <template #0>
<a :href="meta.tosUrl" class="_link" target="_blank">{{ $ts.tos }}</a>
</template>
</I18n> </I18n>
</label> </label>
<captcha v-if="meta.enableHcaptcha" class="captcha" provider="hcaptcha" ref="hcaptcha" v-model:value="hCaptchaResponse" :sitekey="meta.hcaptchaSiteKey"/> <captcha v-if="meta.enableHcaptcha" class="captcha" provider="hcaptcha" ref="hcaptcha" v-model:value="hCaptchaResponse" :sitekey="meta.hcaptchaSiteKey"/>

View file

@ -28,6 +28,7 @@ if (localStorage.getItem('vuex') != null) {
} }
} }
localStorage.setItem('vuex-old', JSON.stringify(vuex));
localStorage.removeItem('vuex'); localStorage.removeItem('vuex');
localStorage.removeItem('i'); localStorage.removeItem('i');

View file

@ -22,7 +22,7 @@
<slot name="action"></slot> <slot name="action"></slot>
</div> </div>
<span class="header"><slot name="header"></slot></span> <span class="header"><slot name="header"></slot></span>
<button v-if="func" class="menu _button" ref="menu" @click.stop="func.handler"><Fa :icon="func.icon || faCog"/></button> <button v-if="func" class="menu _button" v-tooltip="func.title" @click.stop="func.handler"><Fa :icon="func.icon || faCog"/></button>
</header> </header>
<div ref="body" v-show="active"> <div ref="body" v-show="active">
<slot></slot> <slot></slot>