zoukankan      html  css  js  c++  java
  • 0506 订单 订单 320 375 414

        if (SCREEN_WIDTH == 320)

        {

            

                    if (tabMut.count<=3 &&  tabMut.count>=1) {

                        _collectionView.height = 50;

            

                    }else if (tabMut.count <=6 && tabMut.count>3) {

                        if (lengthd < 14 && tabMut.count>=4) {

                            _collectionView.height = 50;

                            

                        }else{

                            

                            _collectionView.height = 100;

                            

                        }

            

                    }else if(tabMut.count>6 &&tabMut.count<=8){

                        if (lengthd < 24) {

                            _collectionView.height = 100;

     

                        }else{

            

                            _collectionView.height = 150;

     

                        }

            

                    }else {

            

            

                    }

            

            

        }

        else if(SCREEN_WIDTH == 414)

        {//6p

            if (tabMut.count<=4 && tabMut.count>=1) {

                        _collectionView.height = 50;

                    }else  if (tabMut.count <=8 && tabMut.count>4) {

                        

                        if (lengthd < 14 && tabMut.count>=5) {

                            _collectionView.height = 50;

                            

                        }else{

                            _collectionView.height = 100;

                        }

     

                    }else if(tabMut.count>8 &&tabMut.count<=12){

                        

                        if (lengthd < 28) {

                            _collectionView.height = 100;

                            

                        }else{

                            _collectionView.height = 150;

                        }

                        

     

                    }else {

            

            

                    }

     

       }

        else

        {//

           MCLog(@"zheshi 6 375");

            if (tabMut.count<=4 &&  tabMut.count>=1) {

                    _collectionView.height = 46;

     

            }else  if (tabMut.count <=8 && tabMut.count>4) {

                if (lengthd < 17 && tabMut.count>=6) {

                    _collectionView.height = 46;

                    

                }else{

                    _collectionView.height = 92-9;

                }

     

            }else if(tabMut.count>8 &&tabMut.count<=12){

                if (lengthd < 32) {

                    _collectionView.height = 92;

                    

                }else{

                    _collectionView.height = 46*3;

                }

                

     

           }else {

               

        

           }

           

        }

  • 相关阅读:
    Springboot框架添加防止XSS攻击功能
    mybatis传入参数为0被误认为是空字符串的解决方法
    js 遇到 Permission denied to access property ***
    SpringBoot 实现App第三方微信登录
    RedisTemplate和StringRedisTemplate的使用导致数据不一致
    mybatis传入值为null时提示无效的列类型
    Oracle批量插入sql和Mysql大不一样
    SSM+Oracle自动生成uuid作为主键
    mysql5.7创建用户 分配权限
    R语言统计分析-方差分析
  • 原文地址:https://www.cnblogs.com/gzz2016/p/5465966.html
Copyright © 2011-2022 走看看