TalkingData / iview-weapp

一套高质量的微信小程序 UI 组件库
https://weapp.iviewui.com
Other
6.57k stars 1.17k forks source link

栅格系统无法指定每个网格的高度 #394

Open Lanceff opened 4 years ago

Lanceff commented 4 years ago
<i-row i-class="header">
    <i-col span="8" i-class="header-image" style="height:20vh">
        <!-- <i-avatar src="{{userInfo.avatarUrl}}" size="large"></i-avatar> -->
        <image src="{{userInfo.avatarUrl}}" mode="widthFix"></image>
    </i-col>
    <i-col span="8" i-class="header-name" style="height:20vh">
        <view>{{userInfo.nickName}}</view>
        <i-tag style="margin-top:2%">VIP</i-tag>
    </i-col>
    <i-col span="8" i-class="header-setting" style="height:20vh">
        <i-icon type="setup" size="30" color="white" />
    </i-col>
</i-row>

效果是:三个网格高度不一致