Authored by 郭成尧

checkbox-color

... ... @@ -2,7 +2,7 @@
<div class="product clearfix">
<div class="checkbox" v-if="product.is_limit_skn !== 'Y'">
<input type="checkbox" v-model="product.checked" :id="`checkbox-${product.goods_id}`">
<label :for="`checkbox-${product.goods_id}`"></label>
<label :for="`checkbox-${product.goods_id}`" class="iconfont checkbox" :class="{'icon-radio': !product.checked, 'icon-cb-radio': product.checked}"></label>
</div>
<img class="image" :src="product.goods_image | resize(100, 130)">
<div class="info">
... ... @@ -69,10 +69,15 @@
.checkbox {
float: left;
margin-top: 67px;
margin-top: 32px;
label:before {
border-radius: 100%;
input {
display: none;
}
.iconfont {
font-size: 32px;
color: #8ab277;
}
}
... ...