move "Switch to Mobile Version" to "Use on Mobile Device" dialog

This commit is contained in:
MaysWind
2023-07-01 23:16:53 +08:00
parent 153e0035ba
commit 4688b9a9c9
+1 -8
View File
@@ -78,12 +78,6 @@
<span class="nav-item-title">{{ $t('Use on Mobile Device') }}</span> <span class="nav-item-title">{{ $t('Use on Mobile Device') }}</span>
</a> </a>
</li> </li>
<li class="nav-link">
<a :href="mobileVersionPath">
<v-icon class="nav-item-icon" :icon="icons.switchToMobile"/>
<span class="nav-item-title">{{ $t('Switch to Mobile Version') }}</span>
</a>
</li>
<li class="nav-link"> <li class="nav-link">
<router-link to="/about"> <router-link to="/about">
<v-icon class="nav-item-icon" :icon="icons.about"/> <v-icon class="nav-item-icon" :icon="icons.about"/>
@@ -177,6 +171,7 @@
<v-img alt="qrcode" class="text-center img-url-qrcode" src="/qrcode/mobile_url.png" /> <v-img alt="qrcode" class="text-center img-url-qrcode" src="/qrcode/mobile_url.png" />
</v-card-text> </v-card-text>
<v-card-actions> <v-card-actions>
<v-btn :href="mobileVersionPath">{{$t('Switch to Mobile Version') }}</v-btn>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn @click="showMobileQrCode = false">{{ $t('Close') }}</v-btn> <v-btn @click="showMobileQrCode = false">{{ $t('Close') }}</v-btn>
</v-card-actions> </v-card-actions>
@@ -214,7 +209,6 @@ import {
mdiSwapHorizontal, mdiSwapHorizontal,
mdiCogOutline, mdiCogOutline,
mdiCellphone, mdiCellphone,
mdiMonitorCellphone,
mdiInformationOutline, mdiInformationOutline,
mdiThemeLightDark, mdiThemeLightDark,
mdiWeatherSunny, mdiWeatherSunny,
@@ -243,7 +237,6 @@ export default {
exchangeRates: mdiSwapHorizontal, exchangeRates: mdiSwapHorizontal,
settings: mdiCogOutline, settings: mdiCogOutline,
mobile: mdiCellphone, mobile: mdiCellphone,
switchToMobile: mdiMonitorCellphone,
about: mdiInformationOutline, about: mdiInformationOutline,
themeAuto: mdiThemeLightDark, themeAuto: mdiThemeLightDark,
themeLight: mdiWeatherSunny, themeLight: mdiWeatherSunny,