refactor
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| <template> | ||||
| <MkStickyContainer> | ||||
| 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | ||||
| 	<MkSpacer :content-max="700"> | ||||
| 	<MkSpacer :contentMax="700"> | ||||
| 		<div class="_gaps"> | ||||
| 			<MkInput v-model="title"> | ||||
| 				<template #label>{{ i18n.ts._play.title }}</template> | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| <template> | ||||
| <MkStickyContainer> | ||||
| 	<template #header><MkPageHeader v-model:tab="tab" :actions="headerActions" :tabs="headerTabs"/></template> | ||||
| 	<MkSpacer :content-max="700"> | ||||
| 	<MkSpacer :contentMax="700"> | ||||
| 		<div v-if="tab === 'featured'" class=""> | ||||
| 			<MkPagination v-slot="{items}" :pagination="featuredFlashsPagination"> | ||||
| 				<div class="_gaps_s"> | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| <template> | ||||
| <MkStickyContainer> | ||||
| 	<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template> | ||||
| 	<MkSpacer :content-max="700"> | ||||
| 	<MkSpacer :contentMax="700"> | ||||
| 		<Transition :name="defaultStore.state.animation ? 'fade' : ''" mode="out-in"> | ||||
| 			<div v-if="flash" :key="flash.id"> | ||||
| 				<Transition :name="defaultStore.state.animation ? 'zoom' : ''" mode="out-in"> | ||||
| @@ -10,8 +10,8 @@ | ||||
| 							<MkAsUi v-if="root" :component="root" :components="components"/> | ||||
| 						</div> | ||||
| 						<div class="actions _panel"> | ||||
| 							<MkButton v-if="flash.isLiked" v-tooltip="i18n.ts.unlike" as-like class="button" rounded primary @click="unlike()"><i class="ti ti-heart"></i><span v-if="flash.likedCount > 0" style="margin-left: 6px;">{{ flash.likedCount }}</span></MkButton> | ||||
| 							<MkButton v-else v-tooltip="i18n.ts.like" as-like class="button" rounded @click="like()"><i class="ti ti-heart"></i><span v-if="flash.likedCount > 0" style="margin-left: 6px;">{{ flash.likedCount }}</span></MkButton> | ||||
| 							<MkButton v-if="flash.isLiked" v-tooltip="i18n.ts.unlike" asLike class="button" rounded primary @click="unlike()"><i class="ti ti-heart"></i><span v-if="flash.likedCount > 0" style="margin-left: 6px;">{{ flash.likedCount }}</span></MkButton> | ||||
| 							<MkButton v-else v-tooltip="i18n.ts.like" asLike class="button" rounded @click="like()"><i class="ti ti-heart"></i><span v-if="flash.likedCount > 0" style="margin-left: 6px;">{{ flash.likedCount }}</span></MkButton> | ||||
| 							<MkButton v-tooltip="i18n.ts.shareWithNote" class="button" rounded @click="shareWithNote"><i class="ti ti-repeat ti-fw"></i></MkButton> | ||||
| 							<MkButton v-tooltip="i18n.ts.share" class="button" rounded @click="share"><i class="ti ti-share ti-fw"></i></MkButton> | ||||
| 						</div> | ||||
| @@ -27,7 +27,7 @@ | ||||
| 						</div> | ||||
| 					</div> | ||||
| 				</Transition> | ||||
| 				<MkFolder :default-open="false" :max-height="280" class="_margin"> | ||||
| 				<MkFolder :defaultOpen="false" :max-height="280" class="_margin"> | ||||
| 					<template #icon><i class="ti ti-code"></i></template> | ||||
| 					<template #label>{{ i18n.ts._play.viewSource }}</template> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo