Skip to content

Commit 5af2101

Browse files
committed
update main
1 parent b743625 commit 5af2101

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

app/components/example/main.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<Page>
2+
<Page class="page">
33
<ActionBarSecond :title="'示例'"></ActionBarSecond>
44
<ScrollView>
55
<!-- <GridLayout class="hello-world" colums="*" rows="*"> -->
@@ -61,13 +61,13 @@ import Target from './target/target';
6161
import Storage from './storage';
6262
import Fab from './fab/fab';
6363
import Todo from './todo/todo';
64-
import Drawer from './drawer';
64+
import Drawer from './drawer';
6565
import Icon from './icon';
6666
import Mask from './mask';
6767
import Modal from './modal';
68-
import Drawers from './multi-drawer/drawers';
69-
import LargeTitle from './large-title/large-title';
70-
// import Dialog from './dialog/dialog';
68+
import Drawers from './multi-drawer/drawers';
69+
//import LargeTitle from './large-title/large-title';//问题根源
70+
import Dialog from './dialog/dialog';
7171
import Pop from './pop';
7272
import Animate from './animate';
7373
import Refresh from './refresh';
@@ -163,9 +163,9 @@ export default {
163163
onDrawers() {
164164
this.navigateTo(this, Drawers);
165165
},
166-
onlargeTitle() {
167-
this.navigateTo(this, LargeTitle);
168-
},
166+
// onlargeTitle() {
167+
// this.navigateTo(this, LargeTitle);
168+
// },
169169
dialogNew() {
170170
this.navigateTo(this, DialogNew);
171171
},
@@ -179,7 +179,7 @@ export default {
179179
this.navigateTo(this, Refresh);
180180
},
181181
btnDisplay: function() {
182-
this.navigateTo(this, display);
182+
this.navigateTo(this, Display);
183183
}
184184
}
185185
};

app/components/example/platform-module.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export default {
2323
mounted() {},
2424
methods: {
2525
getinfo: function() {
26-
// console.log('######');
2726
// console.log(platformModule.device.model);
2827
console.log('######');
2928
console.log(platformModule.device.model);
@@ -41,7 +40,6 @@ export default {
4140
// vm.set("screenInformationscale", platformModule.screen.mainScreen.scale);
4241
// vm.set("screenInformationwidthDIPs", platformModule.screen.mainScreen.widthDIPs);
4342
// vm.set("screenInformationwidthPixels", platformModule.screen.mainScreen.widthPixels);
44-
// console.log('######');
4543
}
4644
}
4745
};

0 commit comments

Comments
 (0)