张延森 5 yıl önce
ebeveyn
işleme
92178ed068
2 değiştirilmiş dosya ile 6 ekleme ve 6 silme
  1. 4
    4
      config/dev.js
  2. 2
    2
      src/onlineSelling/pages/detail/index.js

+ 4
- 4
config/dev.js Dosyayı Görüntüle

@@ -5,14 +5,14 @@ module.exports = {
5 5
   defineConstants: {
6 6
     // HOST: '"http://47.101.36.130:8085"',//测试
7 7
     // WSS_HOST: '"wss://47.101.36.130:8085"',
8
-    HOST: '"https://dev.pawoma.cn"',//测试
9
-    WSS_HOST: '"wss://dev.pawoma.cn"',
8
+    // HOST: '"https://dev.pawoma.cn"',//测试
9
+    // WSS_HOST: '"wss://dev.pawoma.cn"',
10 10
     // HOST: '"https://dev.jinchengjiaye.com"',//测试
11 11
     // WSS_HOST: '"wss://dev.jinchengjiaye.com"',
12 12
     // HOST: '"https://lt.pawoma.cn"',
13 13
     // WSS_HOST: '"wss://lt.pawoma.cn"',
14
-    // HOST: '"http://127.0.0.1:8080"',
15
-    // WSS_HOST: '"ws://127.0.0.1:8080"',
14
+    HOST: '"http://127.0.0.1:8080"',
15
+    WSS_HOST: '"ws://127.0.0.1:8080"',
16 16
     OSS_PATH: 'https://njcj.oss-cn-shanghai.aliyuncs.com/',
17 17
     OSS_FAST_PATH: 'https://njcj.oss-accelerate.aliyuncs.com/',
18 18
     Version: 'V3.5.12'

+ 2
- 2
src/onlineSelling/pages/detail/index.js Dosyayı Görüntüle

@@ -216,7 +216,7 @@ export default class Index extends Component {
216 216
               <Statement style="margin: 104rpx 0 30rpx 0" />
217 217
               <View style="padding: 0 30rpx;">
218 218
                 {
219
-                  houseDetail.raiseBtn && <View>
219
+                  houseDetail.preselectionBtn && <View>
220 220
                     {!houseDetail.isPreselect ?
221 221
                       <View className="choose-btn" onClick={() => this.open()}>
222 222
                         预选此房源
@@ -227,7 +227,7 @@ export default class Index extends Component {
227 227
                   </View>
228 228
                 }
229 229
 
230
-                {houseDetail.preselectionBtn && <View className="raise-btn" onClick={() => this.toRaiseMoney()}>
230
+                {houseDetail.raiseBtn && <View className="raise-btn" onClick={() => this.toRaiseMoney()}>
231 231
                   认筹此房源
232 232
               </View>}
233 233
               </View>