李志伟 3 år sedan
förälder
incheckning
ea6a6a4bc3
2 ändrade filer med 3 tillägg och 4 borttagningar
  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 Visa fil

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

+ 1
- 1
src/pages/index/tabs/Recommend.jsx Visa fil

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