xujing hace 5 años
padre
commit
f31405e36d

BIN
src/assets/goto.png Ver fichero


BIN
src/assets/location.png Ver fichero


+ 2
- 2
src/pages/project/detail/Around/index.js Ver fichero

@@ -71,13 +71,13 @@ export default function Around(props) {
71 71
       </View>
72 72
       <ScrollView
73 73
         enableBackToTop
74
-        style=" padding-top: 830rpx; background: transparent;"
74
+        style=" padding-top: 818rpx; background: transparent;"
75 75
         scrollY>
76 76
         <View className="around-box" style="border-radius: 40rpx 40rpx 0 0;">
77 77
           <View className="building-con">
78 78
             <View>
79 79
               <View className="building-name">{detail.buildingName}</View>
80
-              <View className="building-address">{detail.address}</View>
80
+              <View className="building-address"><Image className="location" src={require('@assets/location.png')}></Image>{detail.address}</View>
81 81
             </View>
82 82
             <View className="building-go" onClick={goto}>前往</View>
83 83
           </View>

+ 8
- 0
src/pages/project/detail/Around/style.scss Ver fichero

@@ -130,9 +130,17 @@
130 130
     font-size: 36px;
131 131
     color: #333;
132 132
   }
133
+  .location{
134
+    width: 26px;
135
+    height: 30px;
136
+    margin-right: 10px;
137
+  }
133 138
   .building-address{
134 139
     font-size: 28px;
135 140
     color: #666;
141
+    display: flex;
142
+    align-items: center;
143
+    margin-top: 8px;
136 144
   }
137 145
   .building-go{
138 146
     width:130px;

+ 10
- 10
src/pages/project/detail/index.js Ver fichero

@@ -436,19 +436,19 @@ export default class Index extends Component {
436 436
   }
437 437
 
438 438
   toRecomonedPage() {
439
-    const {
440
-      userInfo: { person: { personType } }
441
-    } = this.props
442
-    if (personType === ROLE_CODE['DRIFT']) {
443
-      // 游客或者客户 区别是否有电话|| personType === ROLE_CODE['CUSTOMER']
444
-      Taro.navigateTo({
445
-        url: `/pages/agent/become/index`
446
-      })
447
-    } else {
439
+    // const {
440
+    //   userInfo: { person: { personType } }
441
+    // } = this.props
442
+    // if (personType === ROLE_CODE['DRIFT']) {
443
+    //   // 游客或者客户 区别是否有电话|| personType === ROLE_CODE['CUSTOMER']
444
+    //   Taro.navigateTo({
445
+    //     url: `/pages/agent/become/index`
446
+    //   })
447
+    // } else {
448 448
       Taro.navigateTo({
449 449
         url: `/pages/agent/recommend/index?type=projectDeatil`
450 450
       })
451
-    }
451
+    // }
452 452
   }
453 453
 
454 454
   toHome() {