样式

作者: 深度_1175 | 来源:发表于2018-10-31 09:18 被阅读0次
      {
    
            $space = $space + 2;
    
            $res = $this->query->from('weixiu_store_seller')->where(['seller_pid'=> $seller_pid])->getall();
    
            if(!empty($res))
            {
                foreach ($res as $key => $value) {
                    
                    $res[$key]['seller_name'] = str_repeat(' ', $space) . '--|' . $value['seller_name'];
    
                    $result[] = $res[$key]; 
    
                    $this->getinfinity($value['seller_id'],$result,$space);
    
                }
            }
               
            return $result;
    
        }
    

    windowHeight : res.windowHeight * (750 / res.windowWidth)

    尺寸

    /width: 宽/

    /height: 高/

    /min-width: 最小宽度/

    /max-width: 最大宽度/

    /min-height: 最小高度/

    /max-height: 最大高度/

    背景
    /background-color: 背景颜色/

    /background-image: 背景图片/

    /background-repeat: 背景图片的重叠方式/

    边框
    /border-radius:50% 圆形/

    /border-radius:20% 方形圆角/

    /border-width: 10px;/

    /border-color: red;/

    /border-style:inset;/

    边距

    margin:距离上一个标签的距离

    padding:标签距离内部包裹的内容的距离

    文本

    /color: red;/

    /*font-size: 20px; */

    /font-weight:700; 加粗/

    其他(列表,内容,表格)


    样式选择器

    类选择器,ID选择器,元素选择器,通配符选择器(现有的编译器并不支持),

    作者:xiaochun365
    来源:CSDN
    原文:https://blog.csdn.net/xiaochun365/article/details/70182701
    版权声明:本文为博主原创文章,转载请附上博文链接!

    a.order_seller_id
    连接外键不一定需要最左边的表做on(连接条件)
    接口好:可以放心忽略,不用关心实现细节

    微信小程序picker 对象数组

    <picker class="picker" bindchange="bindChange" value="{{Index}}"  range="{{Data}}" range-key="name">
        <view >
          当前选择:{{Data[Index].name}}
        </view>
    </picker>
    
    ![image.png](https://img.haomeiwen.com/i13350657/3eb05d339308942f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
    
    
    
        public function orderby($field, $direction = 'ASC') {
    
            if (is_array($field)) {
    
                foreach ($field as $column => $order) {
    
                    $this->orderby($column, $order);
    
                }
    
                return $this;
    
            }
    
            $direction = strtoupper($direction);
    
            $direction = in_array($direction, array('ASC', 'DESC')) ? $direction : 'ASC';
    
        
    
            return $this->addStatement('ORDERBY', $field . ' ' . $direction);
    
        }
    
    

    /^\d*.?\d+$/

    相关文章

      网友评论

          本文标题:样式

          本文链接:https://www.haomeiwen.com/subject/vnyotqtx.html