mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-14 06:57:35 +08:00
72 lines
1.4 KiB
Vue
72 lines
1.4 KiB
Vue
<template>
|
|
<f7-app :params="f7params">
|
|
<f7-view id="main-view" main url="/" :push-state="true"></f7-view>
|
|
</f7-app>
|
|
</template>
|
|
|
|
<script>
|
|
import routes from './router/mobile.js';
|
|
|
|
export default {
|
|
data() {
|
|
const self = this;
|
|
|
|
return {
|
|
f7params: {
|
|
name: 'lab',
|
|
id: 'net.mayswind.lab',
|
|
theme: 'ios',
|
|
autoDarkTheme: self.$settings.isEnableAutoDarkMode(),
|
|
routes: routes,
|
|
touch: {
|
|
tapHold: true
|
|
},
|
|
sheet: {
|
|
backdrop: true,
|
|
closeOnEscape: true
|
|
},
|
|
popup: {
|
|
swipeToClose: true,
|
|
closeOnEscape: true
|
|
},
|
|
view: {
|
|
animate : self.$settings.isEnableAnimate()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
body {
|
|
-ms-user-select: none;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
:root {
|
|
--f7-theme-color: #c67e48;
|
|
--f7-theme-color-rgb: 198, 126, 72;
|
|
--f7-theme-color-shade: #af6a36;
|
|
--f7-theme-color-tint: #d09467;
|
|
}
|
|
|
|
.work-break-all {
|
|
word-break: break-all;
|
|
}
|
|
|
|
.full-line {
|
|
width: 100%;
|
|
}
|
|
|
|
.icon-after-text {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.lab-list-item-error-info div.item-footer {
|
|
color: var(--f7-input-error-text-color)
|
|
}
|
|
</style>
|