lisenzhou 2 gadus atpakaļ
vecāks
revīzija
1399e39317

+ 2
- 2
src/pages/mine/components/MyCustomerListItem/index.jsx Parādīt failu

@@ -3,6 +3,7 @@ import { Image } from '@tarojs/components'
3 3
 import Taro from '@tarojs/taro'
4 4
 import { BIZ_STATUS, ROLE_CODE } from '@/constants/user'
5 5
 import { useSelector } from "react-redux";
6
+import { formatDate } from '@/utils/chatDate'
6 7
 import './index.scss'
7 8
 
8 9
 const addDays = (dt, days) => {
@@ -18,7 +19,6 @@ export default function MyCustomerListItem(props) {
18 19
   const person = useSelector((state) => state.user.userInfo.person);
19 20
   const { expirationDate, customerStatus, createDate } = data
20 21
   const expStr = expirationDate && customerStatus === '1' ? `${addDays(createDate, expirationDate)} 回收` : ''
21
-
22 22
   const gotoDetail = () => {
23 23
 
24 24
     if(person.personType===ROLE_CODE.BROKER){
@@ -63,7 +63,7 @@ export default function MyCustomerListItem(props) {
63 63
         </view>
64 64
         <view className='Time flex-h'>
65 65
           <text className='flex-item'>楼盘名称:{data.buildingName}</text>
66
-
66
+          <text>{formatDate(data.createDate,'yyyy-MM-dd')}</text>
67 67
         </view>
68 68
       </view>
69 69
     </view>

+ 6
- 2
src/pages/mine/components/MyCustomerListItem/index.scss Parādīt failu

@@ -38,13 +38,17 @@
38 38
       &.Time {
39 39
         margin-top: 16px;
40 40
         >text {
41
-          font-size: 28px;
42
-          color: #666;
41
+          font-size: 20px;
42
+          color: #999;
43 43
           white-space: nowrap;
44 44
           line-height: 1;
45 45
           &.active {
46 46
             color: #193C83;
47 47
           }
48
+          &:first-child {
49
+            font-size: 32px;
50
+            color: #666;
51
+          }
48 52
         }
49 53
       }
50 54
     }