Browse Source

信息修改

1002884655 3 years ago
parent
commit
69e0225841

+ 1
- 1
project.config.json View File

27
 			"outputPath": ""
27
 			"outputPath": ""
28
 		},
28
 		},
29
 		"useIsolateContext": true,
29
 		"useIsolateContext": true,
30
-		"useCompilerModule": true,
30
+		"useCompilerModule": false,
31
 		"userConfirmedUseCompilerModuleSwitch": false
31
 		"userConfirmedUseCompilerModuleSwitch": false
32
 	},
32
 	},
33
 	"compileType": "miniprogram",
33
 	"compileType": "miniprogram",

+ 9
- 3
src/pages/index/buildingDetail/components/HouseTypeIntro/index.scss View File

64
         }
64
         }
65
         >.Title {
65
         >.Title {
66
           font-size: 0;
66
           font-size: 0;
67
-          white-space: nowrap;
67
+          overflow: hidden;
68
           margin-top: 20px;
68
           margin-top: 20px;
69
           padding: 0 20px;
69
           padding: 0 20px;
70
           >text {
70
           >text {
71
-            display: inline-block;
72
-            vertical-align: middle;
71
+            max-width: 100%;
72
+            display: block;
73
+            word-break: break-all;
73
             font-size: 32px;
74
             font-size: 32px;
74
             line-height: 44px;
75
             line-height: 44px;
76
+            text-overflow: ellipsis;
77
+            display: -webkit-box;
78
+            -webkit-box-orient: vertical;
79
+            -webkit-line-clamp: 2;
80
+            white-space: pre-line;
75
             &:first-child {
81
             &:first-child {
76
               color: #FA5431;
82
               color: #FA5431;
77
               margin-right: 10px;
83
               margin-right: 10px;

+ 1
- 1
src/pages/index/components/LiveSale/index.jsx View File

23
   }, [city])
23
   }, [city])
24
 
24
 
25
   const GetLiveList = () => {
25
   const GetLiveList = () => {
26
-    fetch({url: API_LIVE_LIST, method: 'get', payload: {cityId: city.curCity.id, pageNum: 1, pageSize: 20}}).then((res) => {
26
+    fetch({url: API_LIVE_LIST, method: 'get', payload: {cityId: city.curCity.id, pageNum: 1, pageSize: 20, isHome: 1}}).then((res) => {
27
       setPageList(res.records || [])
27
       setPageList(res.records || [])
28
       change(!!(res.records || []).length)
28
       change(!!(res.records || []).length)
29
     })
29
     })