ソースを参照

Merge branch 'dev' of http://git.ycjcjy.com/zhiyuxing/miniapp-v3 into dev

xujing 5 年 前
コミット
259031d32d

+ 1
- 1
src/onlineSelling/pages/addHouse/index.js ファイルの表示

@@ -75,7 +75,7 @@ export default class extends Component {
75 75
     const { house } = this.props
76 76
 
77 77
     // 从预选记录中过滤出来, 状态正常且未锁定的房源
78
-    const houseList = (house.mySelectHouses || []).map(x => x.housingInfo).filter(x => x.status == 1 && x.houseLockingStatus != 'locked')
78
+    const houseList = (house.mySelectHouses || []).map(x => x.housingInfo).filter(x => x.status == 1)
79 79
 
80 80
     return houseList.length && (
81 81
       <Block>

+ 2
- 2
src/onlineSelling/pages/detail/index.js ファイルの表示

@@ -140,9 +140,9 @@ export default class Index extends Component {
140 140
   toRaiseMoney() {
141 141
     const detail = this.state.houseDetail || {}
142 142
 
143
-    if (detail.status != 1 || detail.houseLockingStatus == 'locked') {
143
+    if (detail.status != 1) {
144 144
       Taro.showToast({
145
-        url: '当前房源被锁定或未发布, 不能认筹',
145
+        url: '当前房源未发布, 不能认筹',
146 146
         icon: 'none',
147 147
       })
148 148
 

+ 5
- 5
src/onlineSelling/pages/houseCart/index.js ファイルの表示

@@ -132,11 +132,11 @@ export default class extends Component {
132 132
   // 添加到选择列表
133 133
   // 注意, 不是确认选择
134 134
   add2Cart = (room) => {
135
-    const locked = room.houseLockingStatus == 'locked'
136
-    if (locked) {
137
-      Taro.showToast({ title: '该房源已经被锁定', icon: 'none' })
138
-      return;
139
-    }
135
+    // const locked = room.houseLockingStatus == 'locked'
136
+    // if (locked) {
137
+    //   Taro.showToast({ title: '该房源已经被锁定', icon: 'none' })
138
+    //   return;
139
+    // }
140 140
 
141 141
     const { chooseList, multiSelect } = this.state
142 142
     const checked = (chooseList || []).filter(x => x.houseId == room.houseId)[0]

+ 1
- 0
src/onlineSelling/pages/raiseMoney/index.js ファイルの表示

@@ -642,6 +642,7 @@ export default class raiseMoney extends Component {
642 642
     })
643 643
 
644 644
   }
645
+  
645 646
   toRaiseProfile(id) {
646 647
     const { userInfo: { miniApp: { tpls } } } = this.props
647 648
     const tplId = (tpls.filter(x => x.tplType == noticeType.TPL_HOUSE && x.isSubscribe == true)[0] || {}).tplId