浏览代码

信息修改

1002884655 3 年前
父节点
当前提交
69e0225841

+ 1
- 1
project.config.json 查看文件

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

+ 9
- 3
src/pages/index/buildingDetail/components/HouseTypeIntro/index.scss 查看文件

@@ -64,14 +64,20 @@
64 64
         }
65 65
         >.Title {
66 66
           font-size: 0;
67
-          white-space: nowrap;
67
+          overflow: hidden;
68 68
           margin-top: 20px;
69 69
           padding: 0 20px;
70 70
           >text {
71
-            display: inline-block;
72
-            vertical-align: middle;
71
+            max-width: 100%;
72
+            display: block;
73
+            word-break: break-all;
73 74
             font-size: 32px;
74 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 81
             &:first-child {
76 82
               color: #FA5431;
77 83
               margin-right: 10px;

+ 1
- 1
src/pages/index/components/LiveSale/index.jsx 查看文件

@@ -23,7 +23,7 @@ export default function LiveSale (props) {
23 23
   }, [city])
24 24
 
25 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 27
       setPageList(res.records || [])
28 28
       change(!!(res.records || []).length)
29 29
     })