1 line
1.4 KiB
Plaintext
1 line
1.4 KiB
Plaintext
|
<view class="container"><uni-card wx:if="{{a}}" u-s="{{['d']}}" u-i="463e7d82-0" bind:__l="__l" u-p="{{a}}"><view class="header"><text class="uni-h6">使用边框半径辅助样式对元素快速应用</text> <text class="uni-primary uni-px-3 uni-h6">border-radius</text> <text class="uni-h6">样式。</text></view><view class="uni-mt-5 header"><text class="uni-h6">规则为</text> <text class="uni-primary uni-pl-3 uni-h6">uni-radius-${direction}-${size}</text></view><view class="uni-mt-5 header"><text class="uni-h6">如果需要四边,则不需要指定</text> <text class="uni-primary uni-pl-3 uni-h6">direction</text></view><view class="uni-mt-5"><text class="uni-h6">各值的含义请参考文档</text></view></uni-card><uni-section wx:if="{{i}}" u-s="{{['d']}}" u-i="463e7d82-1" bind:__l="__l" u-p="{{i}}"><view class="margin"><view class="{{['box', 'uni-primary-bg', 'uni-ma-5', b]}}"><text class="uni-white">通过下面的选项控制圆角</text></view></view><view class="actions uni-mt-10"><text class="action-label">位置</text><uni-data-checkbox wx:if="{{e}}" bindchange="{{c}}" u-i="463e7d82-2,463e7d82-1" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></uni-data-checkbox></view><view class="actions uni-mt-3 uni-mb-10"><text class="action-label">大小</text><uni-data-checkbox wx:if="{{h}}" bindchange="{{f}}" u-i="463e7d82-3,463e7d82-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"></uni-data-checkbox></view></uni-section></view>
|