1007395918@qq.com пре 5 година
родитељ
комит
638acb7305

+ 5
- 3
src/onlineSelling/components/ScrollMessage/index.js Прегледај датотеку

45
 
45
 
46
   render() {
46
   render() {
47
     const [start, end] = this.computeDate()
47
     const [start, end] = this.computeDate()
48
-    const { salesNumber, preselectionNumber } = this.props.summary || {}
49
-    const notice = `当前 ${salesNumber} 套房源已有 ${preselectionNumber} 人成功预选`
48
+    const { salesNumber, preselectionNumber, heatNumber } = this.props.summary || {}
49
+    const personNum = heatNumber + preselectionNumber + 0
50
+  
51
+    const notice = `当前 ${salesNumber} 套房源已有 ${personNum} 人成功预选`
50
 
52
 
51
     return (
53
     return (
52
       <View className="scrollmessage">
54
       <View className="scrollmessage">
59
             <SwiperItem>
61
             <SwiperItem>
60
               <TimeTicker startTime={start} endTime={end} translate={this.formateTM} />
62
               <TimeTicker startTime={start} endTime={end} translate={this.formateTM} />
61
             </SwiperItem>
63
             </SwiperItem>
62
-            {preselectionNumber > 0 && <SwiperItem>
64
+            {personNum > 0 && <SwiperItem>
63
               <View>{notice}</View>
65
               <View>{notice}</View>
64
             </SwiperItem>}
66
             </SwiperItem>}
65
           </Swiper>
67
           </Swiper>

+ 1
- 0
src/onlineSelling/pages/detail/index.scss Прегледај датотеку

51
       border-radius: 36px;
51
       border-radius: 36px;
52
       position: absolute;
52
       position: absolute;
53
       right: 30px;
53
       right: 30px;
54
+      top: 48px;
54
     }
55
     }
55
     
56
     
56
     .price{
57
     .price{

+ 1
- 1
src/onlineSelling/pages/records/index.js Прегледај датотеку

21
   }
21
   }
22
   componentWillMount() {
22
   componentWillMount() {
23
     ready.queue(() => {
23
     ready.queue(() => {
24
-      console.log(this.props, "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh")
24
+  
25
       const { userInfo: { person: { personId } } } = this.props
25
       const { userInfo: { person: { personId } } } = this.props
26
       const params = {
26
       const params = {
27
         personId,
27
         personId,