张延森 5 years ago
parent
commit
cb80223fe5

+ 2
- 2
config/dev.js View File

@@ -9,8 +9,8 @@ module.exports = {
9 9
     // WSS_HOST: '"wss://dev.jinchengjiaye.com"',
10 10
     // HOST: '"https://lt.pawoma.cn"',
11 11
     // WSS_HOST: '"wss://lt.pawoma.cn"',
12
-    HOST: '"http://127.0.0.1:8080"',
13
-    WSS_HOST: '"ws://127.0.0.1:8080"',
12
+    HOST: '"http://192.168.0.172:8080"',
13
+    WSS_HOST: '"ws://192.168.0.172:8080"',
14 14
   },
15 15
   weapp: {},
16 16
   h5: {}

+ 1
- 1
src/pages/activity/detail/assemble.js View File

@@ -598,7 +598,7 @@ export default class Detail extends Component {
598 598
 
599 599
                 <View className="assistance-text"><Text className="acitivty-desc">活动说明</Text>-------------------------------------------------------------- </View>
600 600
                 <View style="padding:0 40rpx">
601
-                  <Image src={detail.descImg} style="width:100%"></Image>
601
+                  <Image src={detail.descImg} mode="widthFix" style="width:100%;margin-bottom:20px"></Image>
602 602
                 </View>
603 603
 
604 604
                 {

+ 1
- 1
src/pages/activity/detail/assistance.js View File

@@ -609,7 +609,7 @@ export default class Detail extends Component {
609 609
                 </View>
610 610
                 <View className="assistance-text"><Text className="acitivty-desc">活动说明</Text>-------------------------------------------------------------- </View>
611 611
                 <View style="padding:0 40rpx">
612
-                  <Image src={detail.activityInstructions} style="width:100%;margin-bottom:20px"></Image>
612
+                  <Image src={detail.activityInstructions} mode="widthFix" style="width:100%;margin-bottom:20px;"></Image>
613 613
                 </View>
614 614
 
615 615
               </ScrollView>

+ 1
- 1
src/pages/activity/detail/index.js View File

@@ -241,7 +241,7 @@ export default class Detail extends Component {
241 241
     // App.zhuge.track('查看置业顾问列表')
242 242
     console.log()
243 243
     Taro.navigateTo({
244
-      url: `/pages/card/list/index?buildingId=${this.$router.params.buildingId}`
244
+      url: `/pages/card/list/index?buildingId=${this.state.detail.buildingId}`
245 245
     })
246 246
   }
247 247
 

+ 1
- 0
src/pages/card/list/index.js View File

@@ -85,6 +85,7 @@ export default class Index extends Component {
85 85
   }
86 86
 
87 87
   loadList(pageNumber) {
88
+ 
88 89
     const { buildingId } = this.$router.params
89 90
     const payload = { pageSize: 10, pageNumber, buildingId: '' }
90 91
     if (buildingId) {