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
116
117
118
| .character-counter {
| width: 100%;
| height: 100%;
| display: flex;
| flex-direction: column;
|
| .textarea-container {
| flex: 1;
| width: 100%;
| min-height: 100px;
|
| .dtm-textarea-item-control {
| height: 100%;
| margin-bottom: 8px;
| }
|
| // 隐藏组件自带的计数器,使用自定义计数器显示
| .dtm-textarea-item-count {
| left: 0px;
| height: 0px;
| }
|
| .dtm-form-item-help {
| margin-top: 0px;
| padding-top: 0px;
| height: 0px;
| }
| }
|
| .counter-footer {
| position: relative;
| height: 36px;
| display: flex;
| align-items: center;
| justify-content: space-between;
| padding: 0;
| background-color: #ffffff;
| z-index: 10; // 确保按钮区域在上层
|
| .word-count {
| display: flex;
| align-items: center;
| justify-content: flex-start;
| font-size: 12px;
| color: #86909c;
| width: 183px;
| height: 100%;
| padding-left: 16px;
|
| .count-wrapper {
| display: flex;
| align-items: center;
| }
|
| .current-count {
| color: #1a6fb8;
| font-weight: 500;
| }
|
| .total-count {
| margin-left: 2px;
| }
| }
|
| .action-buttons {
| display: flex;
| align-items: center;
| justify-content: flex-end;
| width: 192px;
| height: 100%;
| background: rgba(182,221,241,0.46);
| border-top-left-radius: 18px;
|
| .action-button {
| height: 100%;
| padding: 0 8px;
| font-size: 12px;
| color: #1A6FB8;
| background: transparent;
| border-color: #1A6FB8;
| border-radius: 4px;
| margin: 0px;
| display: flex;
| align-items: center;
| flex-direction: row;
| justify-content: flex-start;
| padding: 7px 12px;
| width: 100%;
| box-sizing: border-box;
|
| .action-icon {
| display: inline-block;
| vertical-align: middle;
| margin: 4 0px;
| margin-right: 4px;
|
| img {
| width: 11px;
| height: 11px;
| display: block;
| }
| }
|
| .action-text {
| display: inline-block;
| vertical-align: middle;
| font-size: 14px;
| line-height: 22px;
| }
| }
|
| .action-button-split {
| color: #b6ddf1;
| width: 1px;
| }
| }
| }
| }
|
|