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
| /**
| * 统一多端基础样式
| * 比较理想的是 View 标签统一为 display: flex; flex-direction: column
| * 但是 H5 上内置组件样式可能会错乱,因此暂时不这样处理,有用到 flex 的地方都显式声明主轴方向即可
| */
|
| /* weapp */
| page {
| height: 100%;
| }
|
| view,
| text,
| scroll-view {
| box-sizing: border-box;
| }
|
| button {
| &:after {
| display: none;
| }
| }
|
| /* h5 */
| /*postcss-pxtransform rn eject enable*/
| div {
| box-sizing: border-box;
| }
|
| button {
| outline: none;
| }
|
| .taro-text {
| box-sizing: border-box;
| }
|
| .taro-tabbar__panel,
| .taro_router {
| flex: 1;
| display: flex;
| flex-direction: column;
| }
|
| .taro_page {
| flex: 1;
| }
|
| /*postcss-pxtransform rn eject disable*/
|
|
| /* common styles */
| .link-text {
| color: #00AFF0;
| }
|
| /* 全局点击反馈样式 */
| .common-hover-class {
| background-color: rgba(0, 0, 0, 0.05) !important;
| opacity: 0.9;
| }
|
|