Procházet zdrojové kódy

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

张延森 před 5 roky
rodič
revize
4d18a82cc2
2 změnil soubory, kde provedl 9 přidání a 8 odebrání
  1. 5
    5
      src/pages/project/index.js
  2. 4
    3
      src/pages/project/swiper/index.js

+ 5
- 5
src/pages/project/index.js Zobrazit soubor

@@ -645,21 +645,21 @@ export default class Index extends Component {
645 645
               </View>
646 646
               {/* 菜单栏 */}
647 647
               <Menus menusList={menusList}></Menus>
648
-              <View style={propagandaBanner.length > 0 ? "border-bottom:20rpx solid #f5f5f5" : ''}>
649
-                {/* <View style={(newsShow || propagandaBanner.length > 0) ? "border-bottom:20rpx solid #f5f5f5" : ''}> */}
648
+              {/* <View style={propagandaBanner.length > 0 ? "border-bottom:20rpx solid #f5f5f5" : ''}> */}
649
+              <View style={(newsShow || propagandaBanner.length > 0) ? "border-bottom:20rpx solid #f5f5f5" : ''}>
650 650
                 {/* 展示位轮播图 */}
651 651
                 {
652 652
                   this.state.visPropagandaBanner && propagandaBanner.length > 0 &&
653 653
                   <View
654 654
                     style={{
655
-                      position: 'relative', padding: '20px 15px'
655
+                      position: 'relative', padding: '20px 15px 0 15px'
656 656
                     }}>
657 657
                     <BannerTwo
658 658
                       style={{
659 659
                         borderRadius: '6px',
660 660
                         height: '172rpx'
661 661
                       }}
662
-                      forwardShow={true}
662
+                      // forwardShow={true}
663 663
                       indicatorDots={false}
664 664
                       list={propagandaBanner}
665 665
                       onClick={this.handlePropagandaClick}>
@@ -667,7 +667,7 @@ export default class Index extends Component {
667 667
                   </View>
668 668
                 }
669 669
                 {/* 资讯 */}
670
-                {/* <Newsbanner showNesBox={this.handleNewsbannerShow} cityId={curCity.id} onClick={this.handleNoticeClick} onClickMore={this.toNewsList} /> */}
670
+                <Newsbanner showNesBox={this.handleNewsbannerShow} cityId={curCity.id} onClick={this.handleNoticeClick} onClickMore={this.toNewsList} />
671 671
               </View >
672 672
               {/* 热门活动*/}
673 673
               {

+ 4
- 3
src/pages/project/swiper/index.js Zobrazit soubor

@@ -24,7 +24,8 @@ export default class SwiperBanner extends Component {
24 24
     this.props.onClick(item)
25 25
   }
26 26
   render() {
27
-    const { list, style, indicatorDots, current, activityStyle, type,forwardShow } = this.props
27
+    // const { list, style, indicatorDots, current, activityStyle, type,forwardShow } = this.props
28
+    const { list, style, indicatorDots, current, activityStyle, type } = this.props
28 29
 
29 30
     const styles = activityStyle ? activityStyle : style
30 31
     return (
@@ -45,13 +46,13 @@ export default class SwiperBanner extends Component {
45 46
               className='home-banner__swiper-item'
46 47
             >
47 48
               <View style={{ display: 'block',width:'100%' }}>
48
-                {
49
+                {/* {
49 50
                   forwardShow &&
50 51
                   <View>
51 52
                     <Image className='forward' src={forwardImg}></Image>
52 53
                     <Text className="text">详情</Text>
53 54
                   </View>
54
-                }
55
+                } */}
55 56
                 <Image
56 57
                   mode="aspectFill"
57 58
                   style={style}