forked from MTTTM/uniapp-elemnt-table
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.vue
115 lines (95 loc) · 1.62 KB
/
App.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<script>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style lang="less">
/*每个页面公共css */
@import "./static/flex.less";
</style>
<style lang="scss">
.example .title{
font-size:12px;
line-height: 45px;
}
.no-bad-table-wrap {
.rowClassName {
.td {
background: red;
.td_wrap {
background: red;
color: #fff;
}
}
}
//自定义某一行样式
.demo-table-info-row .td {
background-color: #2db7f5;
color: #fff;
.td_wrap {
background-color: #2db7f5;
color: #fff;
}
}
.demo-table-error-row .td {
background-color: #ff6600;
color: #fff;
.td_wrap {
background-color: #ff6600;
color: #fff;
}
}
.td.demo-table-info-column {
background-color: #2db7f5;
color: #fff;
.td_wrap {
background-color: #2db7f5;
color: #fff;
}
}
.table_box {
.demo-table-info-cell-name {
background-color: #2db7f5;
color: #fff;
.td_wrap {
background-color: #2db7f5;
color: #fff;
}
}
.demo-table-info-cell-age {
background-color: #ff6600;
color: #fff;
.td_wrap {
background-color: #ff6600;
color: #fff;
}
}
.demo-table-info-cell-address {
background-color: #187;
color: #fff;
.td_wrap {
background-color: #187;
color: #fff;
}
}
}
.btn-delete {
background: red !important;
color: #fff !important;
}
.example {
.title {
line-height: 40px;
font-weight: bold;
}
}
}
</style>