[mobile] debug app launch
This commit is contained in:
parent
efbd7dd79f
commit
4f5286150b
|
@ -117,10 +117,14 @@ body.theme-type-dark {
|
|||
100% { opacity:0.1; }
|
||||
}
|
||||
|
||||
.navbar.navbar-with-logo {
|
||||
.md .navbar.navbar-with-logo {
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
.ios .navbar.navbar-with-logo {
|
||||
height: 26px;
|
||||
}
|
||||
|
||||
:root .theme-type-dark {
|
||||
--f7-navbar-bg-color: #232323;
|
||||
--f7-subnavbar-bg-color: #232323;
|
||||
|
|
|
@ -22,4 +22,4 @@ if ( !obj ) {
|
|||
localStorage && localStorage.setItem("mobile-ui-theme", JSON.stringify(obj));
|
||||
}
|
||||
|
||||
document.body.classList.add(`theme-type-${obj.type}`, `${window.editor}-editor`);
|
||||
document.body.classList.add(`theme-type-${obj.type}`, `${window.asceditor}-editor`);
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<body>
|
||||
<% if ( htmlWebpackPlugin.options.skeleton.htmlscript ) { %>
|
||||
<script>
|
||||
window.editor = 'word';
|
||||
window.asceditor = 'word';
|
||||
<%= htmlWebpackPlugin.options.skeleton.htmlscript %>
|
||||
</script>
|
||||
<% } %>
|
||||
|
|
|
@ -33,6 +33,12 @@ class MainPage extends Component {
|
|||
};
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
if ( $$('.skl-container').length ) {
|
||||
$$('.skl-container').remove();
|
||||
}
|
||||
}
|
||||
|
||||
handleClickToOpenOptions = (opts, showOpts) => {
|
||||
f7.popover.close('.document-menu.modal-in', false);
|
||||
|
||||
|
@ -141,9 +147,6 @@ class MainPage extends Component {
|
|||
}
|
||||
|
||||
const showPlaceholder = !appOptions.isDocReady && (!config.customization || !(config.customization.loaderName || config.customization.loaderLogo));
|
||||
if ($$('.skl-container').length) {
|
||||
$$('.skl-container').remove();
|
||||
}
|
||||
|
||||
return (
|
||||
<Page name="home" className={`editor${showLogo ? ' page-with-logo' : ''}`}>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<body>
|
||||
<% if ( htmlWebpackPlugin.options.skeleton.htmlscript ) { %>
|
||||
<script>
|
||||
window.editor = 'slide';
|
||||
window.asceditor = 'slide';
|
||||
<%= htmlWebpackPlugin.options.skeleton.htmlscript %>
|
||||
</script>
|
||||
<% } %>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<body>
|
||||
<% if ( htmlWebpackPlugin.options.skeleton.htmlscript ) { %>
|
||||
<script>
|
||||
window.editor = 'cell';
|
||||
window.asceditor = 'cell';
|
||||
<%= htmlWebpackPlugin.options.skeleton.htmlscript %>
|
||||
</script>
|
||||
<% } %>
|
||||
|
|
Loading…
Reference in a new issue