Commit 021af6d3 authored by renjie's avatar renjie

修改选择模板页面图片样式

parent b61e9e81
......@@ -14,7 +14,7 @@
</view>
<view class="img-box">
<view class="item" v-for="(item, index) in imgArr" :key="item.templateId" @click="imageChange(item)">
<image class="img" :src="item.templateUrl" mode="aspectFill"></image>
<image class="img" :src="item.templateUrl" mode="widthFix"></image>
<checkbox class="checkbox blue round" :checked="item.value" :value="item.templateId" shape="circle"></checkbox>
</view>
</view>
......@@ -173,6 +173,7 @@ export default {
.img {
width: 100%;
heigit: 100%;
border-radius: 16rpx;
}
.checkbox {
position: absolute;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment