Commit 021af6d3 authored by renjie's avatar renjie

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

parent b61e9e81
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</view> </view>
<view class="img-box"> <view class="img-box">
<view class="item" v-for="(item, index) in imgArr" :key="item.templateId" @click="imageChange(item)"> <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> <checkbox class="checkbox blue round" :checked="item.value" :value="item.templateId" shape="circle"></checkbox>
</view> </view>
</view> </view>
...@@ -173,6 +173,7 @@ export default { ...@@ -173,6 +173,7 @@ export default {
.img { .img {
width: 100%; width: 100%;
heigit: 100%; heigit: 100%;
border-radius: 16rpx;
} }
.checkbox { .checkbox {
position: absolute; 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