XuChengxiang před 4 roky
rodič
revize
383f024d3b

+ 3
- 3
src/components/WuYeJiaoFei/index.jsx Zobrazit soubor

@@ -139,11 +139,11 @@ export default function WuYeJiaoFei () {
139 139
               <CheckboxGroup onChange={handleGroupChange}>
140 140
                 {
141 141
                   PageList.map((item, index) => (
142
-                    <Checkbox key={`WuYeJiaoFeiItem-${index}`} value={item.id} disabled={item.billStatus !== '0'}>
142
+                    <Checkbox className='CheckBoxItem' key={`WuYeJiaoFeiItem-${index}`} value={item.id} disabled={item.billStatus !== '0'}>
143 143
                       {/* <WuYeJiaoFeiItem Data={item}></WuYeJiaoFeiItem> */}
144 144
                       <view className='flex-h'>
145
-                        <view>{item.billName}</view>
146
-                        <view className='flex-item'>{`${item.payPrice} 元`}</view>
145
+                        <view className='flex-item'>{item.billName}</view>
146
+                        <view className='Price'>{`${item.payPrice} 元`}</view>
147 147
                       </view>
148 148
                     </Checkbox>
149 149
                   ))

+ 13
- 0
src/components/WuYeJiaoFei/index.less Zobrazit soubor

@@ -42,6 +42,19 @@
42 42
           &:first-child {
43 43
             margin-top: 30px;
44 44
           }
45
+          .flex-item {
46
+            color: #333;
47
+            font-size: 28px;
48
+            white-space: nowrap;
49
+            overflow: hidden;
50
+            text-overflow: ellipsis;
51
+            margin: 0 20px;
52
+          }
53
+          .Price {
54
+            color: #F35844;
55
+            font-size: 28px;
56
+            font-weight: bold;
57
+          }
45 58
         }
46 59
     
47 60
         >view {