|
19 | 19 | '@isComponentRoot': true,
|
20 | 20 | '@componentProps': {}
|
21 | 21 | },
|
22 |
| - // style: { |
23 |
| - // height: '120px', |
24 |
| - // justifyContent: 'center', |
25 |
| - // alignItems: 'center', |
26 |
| - // backgroundColor: 'rgb(162, 217, 192)' |
27 |
| - // }, |
| 22 | + classList: ['banner'], |
28 | 23 | children: [{
|
29 | 24 | type: 'text',
|
30 |
| - // style: { |
31 |
| - // fontWeight: 'bold', |
32 |
| - // color: '#41B883', |
33 |
| - // fontSize: '60px' |
34 |
| - // }, |
| 25 | + classList: ['title'], |
35 | 26 | attr: { value: 'BANNER' }
|
36 | 27 | }]
|
37 | 28 | }, {
|
|
43 | 34 | '@isComponentRoot': true,
|
44 | 35 | '@componentProps': {}
|
45 | 36 | },
|
46 |
| - style: { height: '80px', justifyContent: 'center', backgroundColor: '#EEEEEE' }, |
| 37 | + classList: ['footer'], |
47 | 38 | children: [{
|
48 | 39 | type: 'text',
|
49 |
| - style: { color: '#AAAAAA', fontSize: '32px', textAlign: 'center' }, |
| 40 | + classList: ['copyright'], |
50 | 41 | attr: { value: 'All rights reserved.' }
|
51 | 42 | }]
|
52 | 43 | }]
|
|
59 | 50 | '@isComponentRoot': true,
|
60 | 51 | '@componentProps': {}
|
61 | 52 | },
|
62 |
| - // style: { |
63 |
| - // height: '120px', |
64 |
| - // justifyContent: 'center', |
65 |
| - // alignItems: 'center', |
66 |
| - // backgroundColor: 'rgb(162, 217, 192)' |
67 |
| - // }, |
| 53 | + classList: ['banner'], |
68 | 54 | children: [{
|
69 | 55 | type: 'text',
|
70 |
| - // style: { |
71 |
| - // fontWeight: 'bold', |
72 |
| - // color: '#41B883', |
73 |
| - // fontSize: '60px' |
74 |
| - // }, |
| 56 | + classList: ['title'], |
75 | 57 | attr: { value: 'BANNER' }
|
76 | 58 | }]
|
77 | 59 | }, {
|
|
85 | 67 | },
|
86 | 68 | children: [{
|
87 | 69 | type: 'image',
|
88 |
| - style: { width: '750px', height: '1000px' }, |
| 70 | + classList: ['image'], |
89 | 71 | attr: {
|
90 | 72 | src: { '@binding': 'imageUrl' }
|
91 | 73 | }
|
92 | 74 | }, {
|
93 | 75 | type: 'text',
|
94 |
| - style: { fontSize: '80px', textAlign: 'center', color: '#E95659' }, |
| 76 | + classList: ['title'], |
95 | 77 | attr: {
|
96 | 78 | value: { '@binding': 'title' }
|
97 | 79 | }
|
|
0 commit comments