浏览代码

静态页面

1002884655 3 年前
父节点
当前提交
95c0622a66

+ 3
- 3
src/pages/index/buildingList/index.jsx 查看文件

@@ -203,19 +203,19 @@ export default withLayout((props) => {
203 203
           {/* 户型 */}
204 204
           {
205 205
             CurrentFilter === 3 &&
206
-            <FilterForHouseType change={FiltersChange} defaultValue={FilterData.houseType}></FilterForHouseType>
206
+            <FilterForHouseType change={FiltersChange} defaultValue={FilterData.houseType} Cancel={() => { setCurrentFilter(null) }}></FilterForHouseType>
207 207
           }
208 208
 
209 209
           {/* 更多 */}
210 210
           {
211 211
             CurrentFilter === 4 &&
212
-            <FilterForMore change={FiltersChange} AreaDefault={FilterData.area} StatusDefault={FilterData.marketStatus} BuildingTypeDefault={FilterData.buildingType} BuildingTypeList={BuildingTypeList}></FilterForMore>
212
+            <FilterForMore Cancel={() => { setCurrentFilter(null) }} change={FiltersChange} AreaDefault={FilterData.area} StatusDefault={FilterData.marketStatus} BuildingTypeDefault={FilterData.buildingType} BuildingTypeList={BuildingTypeList}></FilterForMore>
213 213
           }
214 214
 
215 215
           {/* 排序 */}
216 216
           {
217 217
             CurrentFilter === 5 &&
218
-            <FilterForHouseSort change={FilterChange} defaultValue={FilterData.orderBy}></FilterForHouseSort>
218
+            <FilterForHouseSort Cancel={() => { setCurrentFilter(null) }} change={FilterChange} defaultValue={FilterData.orderBy}></FilterForHouseSort>
219 219
           }
220 220
 
221 221
         </view>

+ 10
- 5
src/pages/index/newsDetail/index.jsx 查看文件

@@ -49,6 +49,14 @@ export default withLayout((props) => {
49 49
     });
50 50
   };
51 51
 
52
+  const shareTimeline = () => {
53
+    Taro.showToast({
54
+      title: '请点击右上角分享到朋友圈',
55
+      icon: 'none',
56
+      duration: 3000,
57
+    })
58
+  }
59
+
52 60
   useEffect(() => {
53 61
     if (id) {
54 62
       getData(id);
@@ -92,11 +100,8 @@ export default withLayout((props) => {
92 100
         </view>
93 101
         <view className='Bottom'>
94 102
           <view>
95
-            <Image
96
-              mode='heightFix'
97
-              src={require('@/assets/buildingDetail-icon3.png')}
98
-            ></Image>
99
-            <text>生成海报</text>
103
+            <text onClick={shareTimeline} className='iconfont icon-pengyouquan1'></text>
104
+            <text onClick={shareTimeline}>分享朋友圈</text>
100 105
           </view>
101 106
           <view>
102 107
             <text className='iconfont icon-shoucang' style={isSave ? { color: 'red' } : undefined} onClick={handleFavor}></text>

+ 2
- 2
src/pages/mine/components/MyCourseListItem/index.jsx 查看文件

@@ -11,7 +11,7 @@ export default function MyCourseListItem (props) {
11 11
       <view className='Img'>
12 12
         <view>
13 13
           {
14
-            Data.img &&
14
+            Data.curriculumImg &&
15 15
             <Image mode='aspectFill' className='centerLabel' src={getImgURL(Data.curriculumImg || null)} />
16 16
           }
17 17
         </view>
@@ -29,7 +29,7 @@ export default function MyCourseListItem (props) {
29 29
             <view></view>
30 30
             <view></view> */}
31 31
           </view>
32
-          <text>...{Data.lookNum}人查看</text>
32
+          <text>{Data.lookNum}人查看</text>
33 33
         </view>
34 34
       </view>
35 35
     </view>