提交 03f2cc31 编写于 作者: 雪洛's avatar 雪洛

feat: 增加radio、checkbox justify-content样式测试

上级 1ef4d64b
...@@ -161,6 +161,14 @@ ...@@ -161,6 +161,14 @@
<checkbox value="cb" color="#FFCC33" style="transform: scale(0.7)" class="checkbox">未选中</checkbox> <checkbox value="cb" color="#FFCC33" style="transform: scale(0.7)" class="checkbox">未选中</checkbox>
</checkbox-group> </checkbox-group>
</view> </view>
<view class="uni-title uni-common-mt">
<text class="uni-title-text"> 两端对齐样式测试 </text>
</view>
<view>
<checkbox-group class="uni-flex uni-row checkbox-group">
<checkbox class="justify-test">justify-content样式测试</checkbox>
</checkbox-group>
</view>
</view> </view>
<view class="uni-padding-wrap"> <view class="uni-padding-wrap">
...@@ -201,4 +209,9 @@ ...@@ -201,4 +209,9 @@
.uni-list-cell { .uni-list-cell {
justify-content: flex-start; justify-content: flex-start;
} }
.justify-test {
width: 100%;
justify-content: space-between;
}
</style> </style>
...@@ -154,6 +154,16 @@ ...@@ -154,6 +154,16 @@
</radio-group> </radio-group>
</view> </view>
<view class="uni-padding-wrap">
<view class="uni-title uni-common-mt">
<text class="uni-title-text"> 两端对齐样式测试 </text>
</view>
<radio-group class="uni-flex uni-row radio-group">
<radio class="justify-test">justify-content样式测试</radio>
</radio-group>
</view>
<view class="uni-padding-wrap"> <view class="uni-padding-wrap">
<view class="uni-title uni-common-mt"> <view class="uni-title uni-common-mt">
<text class="uni-title-text"> 推荐展示样式 </text> <text class="uni-title-text"> 推荐展示样式 </text>
...@@ -190,4 +200,9 @@ ...@@ -190,4 +200,9 @@
.uni-list-cell { .uni-list-cell {
justify-content: flex-start; justify-content: flex-start;
} }
.justify-test {
width: 100%;
justify-content: space-between;
}
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册