1002884655 před 3 roky
rodič
revize
34448cf168

+ 1
- 1
src/pages/index/buildingDetail/components/BasicInfo/index.jsx Zobrazit soubor

@@ -71,7 +71,7 @@ export default function BasicInfo (props) {
71 71
                       <text>项目参考价格:</text>
72 72
                       {
73 73
                         (item.startPrice || item.endPrice) &&
74
-                        <text className='active'>约{item.startPrice}-{item.endPrice}万/套</text>
74
+                        <text className='active'>约{item.startPrice}-{item.endPrice}元/㎡</text>
75 75
                       }
76 76
                       {
77 77
                         !(item.startPrice || item.endPrice) &&

+ 1
- 1
src/pages/index/components/LiveSale/index.scss Zobrazit soubor

@@ -15,7 +15,6 @@
15 15
         display: inline-block;
16 16
         vertical-align: middle;
17 17
         font-size: 28px;
18
-        font-weight: bold;
19 18
         line-height: 70px;
20 19
         padding: 0 23px;
21 20
         background: rgba(0, 0, 0, 0.056);
@@ -24,6 +23,7 @@
24 23
         color: #383838;
25 24
         &.active {
26 25
           color: #193c83;
26
+          font-weight: bold;
27 27
         }
28 28
       }
29 29
     }

+ 1
- 1
src/pages/index/specialPriceHouse/index.scss Zobrazit soubor

@@ -35,7 +35,7 @@
35 35
               width: 70%;
36 36
               position: absolute;
37 37
               left: 15%;
38
-              top: 18px;
38
+              top: 20px;
39 39
               height: 2px;
40 40
               background: #333;
41 41
               z-index: 1;

+ 12
- 0
src/pages/video/components/VideoListItem/index.jsx Zobrazit soubor

@@ -20,6 +20,18 @@ export default function VideoListItem (props) {
20 20
       <view className='Img'>
21 21
         <view>
22 22
           <Image mode='aspectFill' className='centerLabel' src={getImgURL(Data.images) || null} />
23
+          {
24
+            Data.type === 'live' && new Date(Data.startTime).getTime() <= Date.now() &&
25
+            <text className='active'>直播中</text>
26
+          }
27
+          {
28
+            Data.type === 'live' && new Date(Data.startTime).getTime() > Date.now() &&
29
+            <text>预告</text>
30
+          }
31
+          {
32
+            Data.type === 'video' &&
33
+            <Image mode='aspectFill' className='centerLabel Icon' src={require('@/assets/index-icon19.png')} />
34
+          }
23 35
         </view>
24 36
       </view>
25 37
       <view className='Title'>

+ 27
- 0
src/pages/video/components/VideoListItem/index.scss Zobrazit soubor

@@ -18,6 +18,33 @@
18 18
       > image {
19 19
         width: 100%;
20 20
         height: 100%;
21
+        position: relative;
22
+        z-index: 1;
23
+        &.Icon {
24
+          z-index: 2;
25
+          position: absolute;
26
+          width: 48px;
27
+          height: 48px;
28
+        }
29
+      }
30
+      >text {
31
+        display: inline-block;
32
+        position: absolute;
33
+        left: 0;
34
+        top: 0;
35
+        z-index: 2;
36
+        width: 60px;
37
+        line-height: 24px;
38
+        font-size: 16px;
39
+        font-weight: bold;
40
+        color: #fff;
41
+        background: #193C83;
42
+        border-radius: 0 0 8px 0;
43
+        text-align: center;
44
+        white-space: nowrap;
45
+        &.active {
46
+          background: linear-gradient(180deg, #02C1C1, #56EEEE);
47
+        }
21 48
       }
22 49
     }
23 50
   }