Commit de228cab by 李伟康

修改选择商品样式

1 parent 5dbef74e
......@@ -244,9 +244,15 @@ export default {
}
</script>
<style lang="scss">
.single-pro .pro-group {
margin-left: 50px;
// margin-left: 50px;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px 14px;
padding-bottom: 20px;
.el-checkbox {
margin-right: 0 !important;
}
.el-checkbox__input {
opacity: 0 !important;
position: absolute;
......@@ -255,20 +261,20 @@ export default {
padding-left: 0 !important;
}
}
.single-pro-box{
.single-pro-box {
min-height: 20vh;
max-height:60vh;
transition: all .25s;
max-height: 60vh;
transition: all 0.25s;
}
.single-pro .pro-box {
width: 202px;
// width: 202px;
width: 246px;
border: 1px solid #e5e5e5;
border-radius: 6px;
/* margin: 0 10px 10px 0; */
margin: 0 40px 20px 0;
// margin: 0 40px 20px 0;
}
.single-pro .pro-box:nth-child(4n) {
margin: 0 20px 20px 0;
// margin: 0 20px 20px 0;
}
.single-pro .pro-box.active {
box-shadow: 0px 6px 20px 0px rgba(122, 122, 122, 0.2);
......@@ -284,6 +290,8 @@ export default {
width: 32px;
height: 32px;
line-height: 1;
font-size: 20px;
font-weight: 700;
}
.icon-number {
background-color: #5850ff;
......@@ -301,9 +309,10 @@ export default {
font-size: 12px;
}
.single-pro .pro-box .goods-img {
width: 202px;
height: 202px;
border-radius: 6px 6px 0 0;
width: 184px;
height: 184px;
display: block;
margin: 20px auto 0;
}
.single-pro .el-radio__input {
position: absolute;
......@@ -314,9 +323,9 @@ export default {
padding: 0;
}
.single-pro .txt-box {
padding: 10px 10px 0;
padding: 16px 20px 0;
color: #666666;
width: 202px;
width: 246px;
box-sizing: border-box;
}
.single-pro .ellipsis {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!