We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
描述一下问题 Cell组件微信开发者工具和真机显示不一致
截图 微信开发者工具:
真机:
真机上title和label左边对不齐。
title
label
环境
The text was updated successfully, but these errors were encountered:
将
<view style="{{ titleWidth ? 'max-width:' + titleWidth + ';min-width:' + titleWidth : '' }}" class="van-cell__title title-class" > <block wx:if="{{ title }}"> {{ title }} <view wx:if="{{ label }}" class="van-cell__label label-class">{{ label }}</view> </block> <slot wx:else name="title" /> </view>
改成
<view style="{{ titleWidth ? 'max-width:' + titleWidth + ';min-width:' + titleWidth : '' }}" class="van-cell__title title-class" > <block wx:if="{{ title }}">{{ title }} <view wx:if="{{ label }}" class="van-cell__label label-class">{{ label }}</view> </block> <slot wx:else name="title" /> </view>
即可。
Sorry, something went wrong.
No branches or pull requests
描述一下问题
Cell组件微信开发者工具和真机显示不一致
截图
微信开发者工具:
真机:
真机上
title
和label
左边对不齐。环境
The text was updated successfully, but these errors were encountered: