• 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 {

               

        

           }

           

        }

  • 相关阅读:
    ExtJs005继承
    ExtJs004define定义类
    ExtJS笔记
    解决vscode-pandoc插件生成pdf中文显示问题
    UDP学习笔记(.NET)
    WPF类库不能添加资源词典(xaml)的解决办法
    解决win10下获取操作系统版本为6.2.900(win8)的问题
    [转] Unit Test 访问Internal类型和方法
    VS2017使用小技巧(持续更新。。。)
    [转]Github遇到Permanently added the RSA host key for IP address '192.30.252.128' to the list of known host
  • 原文地址:https://www.cnblogs.com/gzz2016/p/5465966.html
Copyright © 2020-2023  润新知