Commit de228cab by 李伟康

修改选择商品样式

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