提交 8ebd4a1d 编写于 作者: 张磊

修改图片选择示例

上级 261629f4
...@@ -29,8 +29,7 @@ ...@@ -29,8 +29,7 @@
数量限制 数量限制
</view> </view>
<view class="uni-list-cell-right"> <view class="uni-list-cell-right">
<input class="click-t" :value="countIndex+1" type="number" :maxlength="1" @confirm="chooseImageCount" <input class="click-t" :value="countIndex+1" type="number" :maxlength="1" @confirm="chooseImageCount" confirm-type="done" />
confirm-type="done" />
</view> </view>
</view> </view>
<view class="uni-list-cell cell-pd"> <view class="uni-list-cell cell-pd">
...@@ -41,7 +40,7 @@ ...@@ -41,7 +40,7 @@
<switch :checked="isCrop" @change="switchCrop"></switch> <switch :checked="isCrop" @change="switchCrop"></switch>
</view> </view>
</view> </view>
<view ref="cropOptionNode" class="crop-option" :style="{'height':isCrop?'200px':'0px'}"> <view ref="cropOptionNode" class="crop-option" :style="{'height':isCrop?'200px':'0px','margin-bottom':isCrop?'11px':'0px'}">
<view class="uni-list-cell cell-pd"> <view class="uni-list-cell cell-pd">
<view class="uni-list-cell-left item_width"> <view class="uni-list-cell-left item_width">
图片质量(%) 图片质量(%)
...@@ -285,11 +284,11 @@ ...@@ -285,11 +284,11 @@
} }
.crop-option { .crop-option {
border-top-color: lightgray; margin-left: 11px;
border-width: 1px; margin-right: 11px;
border-style: solid; border-radius: 11px;
padding: 10px; background-color: #eee;
transition: height; transition-property: height, margin-bottom;
transition-duration: 300ms; transition-duration: 200ms;
} }
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册