李志伟 3 年之前
父節點
當前提交
ea6a6a4bc3
共有 2 個文件被更改,包括 3 次插入4 次删除
  1. 2
    3
      src/hotel/pages/components/Extend/style.less
  2. 1
    1
      src/pages/index/tabs/Recommend.jsx

+ 2
- 3
src/hotel/pages/components/Extend/style.less 查看文件

52
     // white-space: pre-wrap;
52
     // white-space: pre-wrap;
53
 
53
 
54
     color: #202020;
54
     color: #202020;
55
-    line-height: 64rpx;
56
-    margin-bottom: 60rpx;
55
+    line-height: 64px;
56
+    margin-bottom: 60px;
57
     overflow: hidden;
57
     overflow: hidden;
58
     text-align: justify;
58
     text-align: justify;
59
-    width: 23em;
60
     padding: 0 21px 0 11px;
59
     padding: 0 21px 0 11px;
61
     /* padding-right: -12px; */
60
     /* padding-right: -12px; */
62
     white-space: pre-wrap;
61
     white-space: pre-wrap;

+ 1
- 1
src/pages/index/tabs/Recommend.jsx 查看文件

63
     //查询分类标签表
63
     //查询分类标签表
64
     getIndexType({ pageSize: 20 }).then((res) => {
64
     getIndexType({ pageSize: 20 }).then((res) => {
65
       setTypeList(res.records || [])
65
       setTypeList(res.records || [])
66
-      details(1,res.records[1].typeId)
66
+      details(1,res.records[0].typeId)
67
 
67
 
68
     })
68
     })
69
   }, [])
69
   }, [])