xcx преди 4 години
родител
ревизия
532325a5ea
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2
    2
      src/pages/ShouYe/index.jsx

+ 2
- 2
src/pages/ShouYe/index.jsx Целия файл

@@ -22,7 +22,7 @@ export default function Index (props) {
22 22
     { icon: 'icontongzhi', name: '物业通知', id: 2, router: '/pages/WuYe/index', setName: 'WuYeNavId', setValue: '1', isTab: true },
23 23
     { icon: 'iconbaoxiu', name: '物业报修', id: 3, router: '/pages/WuYe/index', setName: 'WuYeNavId', setValue: '3', isTab: true },
24 24
     { icon: 'iconrenzheng', name: '业主认证', id: 4, router: '/pages/WoDe/WoDeRenZheng/index', isTab: false },
25
-    { icon: 'iconguanjia', name: '生活管家', id: 5, router: '/pages/WuYe/ShengHuoGuanJia/index', isTab: false }
25
+    { icon: 'iconguanjia', name: '生活管家', id: 5, router: '/pages/WuYe/ShengHuoGuanJia/index', isTab: false, bold: true }
26 26
   ])
27 27
   const [NavList] = useState([
28 28
     { icon: 'iconhuodong1', name: '活动', id: 1, router: '/pages/ShouYe/HuoDong/index', isTab: false },
@@ -261,7 +261,7 @@ export default function Index (props) {
261 261
                         {
262 262
                           OwnerList.map((item, index) => (
263 263
                             <view className='flex-item' key={`Owners-${index}`} onClick={OwnerClick(item)}>
264
-                              <Text className={`iconfont ${item.icon}`}></Text>
264
+                              <Text className={`iconfont ${item.icon}`} style={{fontWeight: item.bold !== undefined && item.bold === true ? 'bold' : 'normal'}}></Text>
265 265
                               <view>
266 266
                                 <view><Text>{item.name}</Text></view>
267 267
                               </view>