Skip to content

Commit a19481d

Browse files
committed
fix:large-title page background
1 parent bcf2827 commit a19481d

File tree

3 files changed

+22
-67
lines changed

3 files changed

+22
-67
lines changed

app/components/example/large-title/large-title.vue

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<template>
22
<Page class="page">
33
<ActionBar class="action-bar" :flat="isFlat">
4+
<NavigationButton text="Go Back" android.systemIcon="ic_menu_back" @tap="$navigateBack" />
45
<Label :text="title" class="hidden" ref="topTitle" fontSize="17" verticalAlignment="center" />
56
<ActionItem
67
@tap="someMethod"
@@ -62,30 +63,30 @@ export default {
6263
</script>
6364

6465
<style scoped lang="scss">
65-
.page {
66-
background-color: #f7f7f7;
67-
}
66+
// .page {
67+
// background-color: #f7f7f7;
68+
// }
6869
6970
.container {
7071
margin-top: 0;
7172
}
7273
73-
.content {
74-
background-color: #fff;
75-
padding: 20;
76-
font-size: 20;
77-
}
74+
// .content {
75+
// background-color: #fff;
76+
// padding: 20;
77+
// font-size: 20;
78+
// }
7879
79-
.action-bar {
80-
background-color: #f7f7f7;
81-
border-width: 0;
82-
margin-bottom: 0;
83-
}
80+
// .action-bar {
81+
// background-color: #f7f7f7;
82+
// border-width: 0;
83+
// margin-bottom: 0;
84+
// }
8485
85-
.action-bar label {
86-
font-weight: bold;
87-
opacity: 0;
88-
}
86+
// .action-bar label {
87+
// font-weight: bold;
88+
// opacity: 0;
89+
// }
8990
9091
.header {
9192
margin-top: 0;

app/components/example/main.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ import Icon from './icon';
6666
import Mask from './mask';
6767
import Modal from './modal';
6868
import Drawers from './multi-drawer/drawers';
69-
//import LargeTitle from './large-title/large-title';//this is bug
69+
import LargeTitle from './large-title/large-title';//this is bug
7070
import Dialog from './dialog/dialog';
7171
import Pop from './pop';
7272
import Animate from './animate';
@@ -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
},

app/components/example/public/action-bar-first-new.vue

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)