浏览代码

静态页面

1002884655 3 年前
父节点
当前提交
fd85391678

二进制
src/assets/index-icon18.png 查看文件


二进制
src/assets/index-icon19.png 查看文件


二进制
src/assets/mine-icon29.png 查看文件


二进制
src/assets/mine-icon30.png 查看文件


二进制
src/assets/mine-icon31.png 查看文件


二进制
src/assets/mine-icon32.png 查看文件


二进制
src/assets/mine-icon33.png 查看文件


+ 2
- 0
src/components/ProjectItemCard/index.jsx 查看文件

@@ -17,6 +17,8 @@ export default (props) => {
17 17
     <view className='components ProjectItemCard'>
18 18
       <view className='Img' onClick={() => goto(Data)}>
19 19
         <Image mode='scaleToFill' src={getImgURL(Data?.buildingListImg?.length ? Data.buildingListImg[0].url : null)} className='centerLabel'></Image>
20
+        <Image mode='heightFix' className='Tips Vr' src={require('@/assets/index-icon18.png')} />
21
+        <Image mode='heightFix' className='Tips Video' src={require('@/assets/index-icon19.png')} />
20 22
       </view>
21 23
       <view className='Name flex-h' onClick={() => goto(Data)}>
22 24
         <view className='flex-item'>

+ 14
- 1
src/components/ProjectItemCard/style.scss 查看文件

@@ -9,9 +9,22 @@
9 9
     overflow: hidden;
10 10
     background: #eee;
11 11
     border-radius: 8px;
12
-    > image {
12
+    > image.centerLabel {
13 13
       width: 100%;
14 14
       height: 100%;
15
+      z-index: 1;
16
+    }
17
+    >.Tips {
18
+      width: 30px;
19
+      height: 30px;
20
+      display: block;
21
+      position: absolute;
22
+      z-index: 2;
23
+      bottom: 10px;
24
+      left: 18px;
25
+      &.Vr {
26
+        left: 58px;
27
+      }
15 28
     }
16 29
   }
17 30
   > .Name {

+ 4
- 2
src/components/ProjectListItem/index.jsx 查看文件

@@ -1,9 +1,9 @@
1
-import React, { useState, useEffect } from 'react'
2
-import './index.scss'
1
+
3 2
 import '@/assets/css/iconfont.css'
4 3
 import Taro from '@tarojs/taro'
5 4
 import { Image } from '@tarojs/components'
6 5
 import { getImgURL } from '@/utils/image'
6
+import './index.scss'
7 7
 
8 8
 export default function ProjectListItem (props) {
9 9
   const { Data = {} } = props
@@ -13,6 +13,8 @@ export default function ProjectListItem (props) {
13 13
       <view className='Img'>
14 14
         <view>
15 15
           <Image mode='aspectFill' className='centerLabel' src={getImgURL(Data.buildingListImg?.length ? Data.buildingListImg[0].url : null)} />
16
+          <Image mode='heightFix' className='Tips Vr' src={require('@/assets/index-icon18.png')} />
17
+          <Image mode='heightFix' className='Tips Video' src={require('@/assets/index-icon19.png')} />
16 18
         </view>
17 19
       </view>
18 20
       <view className='flex-item'>

+ 14
- 1
src/components/ProjectListItem/index.scss 查看文件

@@ -13,9 +13,22 @@
13 13
       position: relative;
14 14
       overflow: hidden;
15 15
       border-radius: 8px;
16
-      > image {
16
+      > image.centerLabel {
17 17
         width: 100%;
18 18
         height: 100%;
19
+        z-index: 1;
20
+      }
21
+      >.Tips {
22
+        width: 30px;
23
+        height: 30px;
24
+        display: block;
25
+        position: absolute;
26
+        z-index: 2;
27
+        bottom: 10px;
28
+        left: 10px;
29
+        &.Vr {
30
+          left: 50px;
31
+        }
19 32
       }
20 33
     }
21 34
   }

+ 6
- 5
src/pages/index/specialPriceHouse/index.jsx 查看文件

@@ -5,7 +5,6 @@ import { ScrollView, Image } from '@tarojs/components'
5 5
 import Disclaimer from '@/components/Disclaimer'
6 6
 import { getImgURL } from '@/utils/image'
7 7
 import { formateLeftTime } from '@/utils/tools'
8
-import { useSelector } from 'react-redux'
9 8
 import { fetch } from '@/utils/request'
10 9
 import { API_SPECIAL_ROOM_LIST } from '@/constants/api'
11 10
 import '@/assets/css/iconfont.css'
@@ -15,7 +14,7 @@ const defaultRuleImage = 'https://yz-websit.oss-cn-hangzhou.aliyuncs.com/xlk/ind
15 14
 
16 15
 export default withLayout((props) => {
17 16
   const { city } = props
18
-  
17
+
19 18
   const [PageList, setPageList] = useState([])
20 19
   const [IsPull, setPull] = useState(false)
21 20
   const [pageNumber, setPageNumber] = useState(1)
@@ -39,14 +38,14 @@ export default withLayout((props) => {
39 38
   }
40 39
 
41 40
   const PageLoadMore = () => { // 页面上拉加载更多
42
-    if(HasNextPage) {
41
+    if (HasNextPage) {
43 42
       setPageNumber(pageNumber + 1)
44 43
     }
45 44
   }
46 45
 
47 46
   useEffect(() => { // 下拉刷新触发
48 47
     if (IsPull) {
49
-      if(pageNumber === 1) {
48
+      if (pageNumber === 1) {
50 49
         GetPageList()
51 50
       } else {
52 51
         setPageNumber(1)
@@ -84,7 +83,7 @@ export default withLayout((props) => {
84 83
 
85 84
                 //
86 85
                 const specialRoomList = item.specialRoomList || []
87
-                
86
+
88 87
                 return (
89 88
                   <view key={item.buildingId}>
90 89
                     <view className='Title'>
@@ -98,6 +97,8 @@ export default withLayout((props) => {
98 97
                     <view className='InfoContent'>
99 98
                       <view className='Img' onClick={() => goto(item)}>
100 99
                         <Image mode='scaleToFill' src={mainImg} className='centerLabel'></Image>
100
+                        <Image mode='heightFix' className='Tips Vr' src={require('@/assets/index-icon18.png')} />
101
+                        <Image mode='heightFix' className='Tips Video' src={require('@/assets/index-icon19.png')} />
101 102
                       </view>
102 103
                       <view className='Name flex-h' onClick={() => goto(item)}>
103 104
                         <view className='flex-item'>

+ 14
- 1
src/pages/index/specialPriceHouse/index.scss 查看文件

@@ -77,9 +77,22 @@
77 77
               overflow: hidden;
78 78
               background: #eee;
79 79
               border-radius: 8px;
80
-              >image {
80
+              > image.centerLabel {
81 81
                 width: 100%;
82 82
                 height: 100%;
83
+                z-index: 1;
84
+              }
85
+              >.Tips {
86
+                width: 30px;
87
+                height: 30px;
88
+                display: block;
89
+                position: absolute;
90
+                z-index: 2;
91
+                bottom: 10px;
92
+                left: 18px;
93
+                &.Vr {
94
+                  left: 58px;
95
+                }
83 96
               }
84 97
             }
85 98
             >.Name {