mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-24 07:06:07 +09:00
mobile button to mkbutton
This commit is contained in:
parent
36f880a07e
commit
6b4809b7c0
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "calckey",
|
||||
"version": "13.0.7.11",
|
||||
"version": "13.0.7.12",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -19,31 +19,31 @@
|
||||
<button v-if="!isDesktop && !isMobile" class="widgetButton _button" @click="widgetsShowing = true"><i class="ph-stack-bold ph-lg"></i></button>
|
||||
|
||||
<div v-if="isMobile" class="buttons">
|
||||
<button class="button nav _button" @click="drawerMenuShowing = true">
|
||||
<MkButton class="button nav _button" @click="drawerMenuShowing = true">
|
||||
<div class="button-wrapper">
|
||||
<i class="ph-list-bold ph-lg"></i><span v-if="menuIndicated" class="indicator"><i class="ph-circle-fill"></i></span>
|
||||
</div>
|
||||
</button>
|
||||
<button class="button home _button" @click="mainRouter.currentRoute.value.name === 'index' ? top() : mainRouter.push('/'); updateButtonState();">
|
||||
</MkButton>
|
||||
<MkButton class="button home _button" @click="mainRouter.currentRoute.value.name === 'index' ? top() : mainRouter.push('/'); updateButtonState();">
|
||||
<div class="button-wrapper" :class="buttonAnimIndex === 0 ? 'on' : ''">
|
||||
<i class="ph-house-bold ph-lg"></i>
|
||||
</div>
|
||||
</button>
|
||||
<button class="button notifications _button" @click="mainRouter.push('/my/notifications'); updateButtonState();">
|
||||
</MkButton>
|
||||
<MkButton class="button notifications _button" @click="mainRouter.push('/my/notifications'); updateButtonState();">
|
||||
<div class="button-wrapper" :class="buttonAnimIndex === 1 ? 'on' : ''">
|
||||
<i class="ph-bell-bold ph-lg"></i><span v-if="$i?.hasUnreadNotification" class="indicator"><i class="ph-circle-fill"></i></span>
|
||||
</div>
|
||||
</button>
|
||||
<button class="button messaging _button" @click="mainRouter.push('/my/messaging'); updateButtonState();">
|
||||
</MkButton>
|
||||
<MkButton class="button messaging _button" @click="mainRouter.push('/my/messaging'); updateButtonState();">
|
||||
<div class="button-wrapper" :class="buttonAnimIndex === 2 ? 'on' : ''">
|
||||
<i class="ph-chats-teardrop-bold ph-lg"></i><span v-if="$i?.hasUnreadMessagingMessage" class="indicator"><i class="ph-circle-fill"></i></span>
|
||||
</div>
|
||||
</button>
|
||||
<button class="button widget _button" @click="widgetsShowing = true">
|
||||
</MkButton>
|
||||
<MkButton class="button widget _button" @click="widgetsShowing = true">
|
||||
<div class="button-wrapper">
|
||||
<i class="ph-stack-bold ph-lg"></i>
|
||||
</div>
|
||||
</button>
|
||||
</MkButton>
|
||||
</div>
|
||||
|
||||
<button v-if="isMobile && mainRouter.currentRoute.value.name === 'index'" ref="postButton" class="postButton button post _button" @click="os.post()"><i class="ph-pencil-bold ph-lg"></i></button>
|
||||
|
Loading…
Reference in New Issue
Block a user