From b7445302ae4b1374c199435d163bf72bf3dbb009 Mon Sep 17 00:00:00 2001
From: YDD <3223657165@qq.com>
Date: Wed, 8 Sep 2021 18:04:04 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=88=A0=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
css/logshoppingcar/shopcar.css | 12 +-
css/logshoppingcar/shopcar2.css | 111 +++++++++++
css/logshoppingcar/shopcar2.min.css | 1 +
css/logshoppingcar/shopcar2.scss | 115 ++++++++++++
htmls/logshoppingcar/shopcar copy.html | 174 +++++++++++++++++
htmls/logshoppingcar/shopcar.html | 247 +++++++++++++------------
6 files changed, 539 insertions(+), 121 deletions(-)
create mode 100644 css/logshoppingcar/shopcar2.css
create mode 100644 css/logshoppingcar/shopcar2.min.css
create mode 100644 css/logshoppingcar/shopcar2.scss
create mode 100644 htmls/logshoppingcar/shopcar copy.html
diff --git a/css/logshoppingcar/shopcar.css b/css/logshoppingcar/shopcar.css
index 77b28a3..55a1b55 100644
--- a/css/logshoppingcar/shopcar.css
+++ b/css/logshoppingcar/shopcar.css
@@ -2,17 +2,12 @@
margin: 0;
padding: 0;
}
-
li {
list-style: none;
}
-
a {
text-decoration: none;
}
-
-
-
section {
height: 1200px;
background-color: #f5f5f5;
@@ -98,9 +93,16 @@ section .whole .whole-1 .opt #checklist .among th:nth-child(3), section .whole .
width: 120px;
}
+section .whole .whole-1 .opt #checklist .among th:nth-child(4) input {
+ width: 90px;
+}
section .whole .whole-1 .opt #checklist .among th:nth-child(5) {
width: 120px;
}
+section .whole .whole-1 .opt #checklist .among th:nth-child(5) input{
+ text-align: center;
+}
+
section .whole .whole-1 .opt #checklist .among th:nth-child(5) input:nth-child(1), section .whole .whole-1 .opt #checklist .among th:nth-child(5) input:nth-child(3) {
width: 15px;
diff --git a/css/logshoppingcar/shopcar2.css b/css/logshoppingcar/shopcar2.css
new file mode 100644
index 0000000..457714a
--- /dev/null
+++ b/css/logshoppingcar/shopcar2.css
@@ -0,0 +1,111 @@
+* {
+ margin: 0;
+ padding: 0;
+}
+
+li {
+ list-style: none;
+}
+
+a {
+ text-decoration: none;
+}
+
+section {
+ background-color: #f5f5f5;
+}
+
+section .content {
+ padding: 15px 50px;
+ margin: auto;
+}
+
+section .content .all {
+ display: inline-block;
+}
+
+section .content .all h2 {
+ font-weight: 600;
+ color: #cb1919;
+ float: left;
+ padding-bottom: 10px;
+}
+
+section .content .cartList {
+ border-top: 2px solid #cb1919;
+}
+
+section .content .cartList .whoil {
+ width: 100%;
+ background-color: #f3f3f3;
+ border: 1px solid #e0e0e0;
+ margin-bottom: 20px;
+ display: inline-flex;
+}
+
+section .content .cartList .whoil li {
+ padding: 20px 46px;
+}
+
+section .content .cartList .whoil li:nth-child(1) {
+ padding: 20px 10px;
+}
+
+section .content .cartList .whoil li:nth-child(1) img {
+ margin-left: 10px;
+}
+
+section .content .cartList .whoil li:nth-child(3) {
+ width: 800px;
+}
+
+section .content .cartList .whoil li:nth-child(4), section .content .cartList .whoil li:nth-child(5), section .content .cartList .whoil li:nth-child(6), section .content .cartList .whoil li:nth-child(7) {
+ float: right;
+}
+
+section .content .cartList ul {
+ width: 100%;
+ background-color: #f3f3f3;
+ border: 1px solid #e0e0e0;
+ display: inline-flex;
+}
+
+section .content .cartList ul li:nth-child(1) {
+ padding: 20px 5px;
+}
+
+section .content .cartList ul li:nth-child(1) img {
+ margin-left: 20px;
+ margin-top: -10px;
+}
+
+section .content .cartList ul li:nth-child(2) {
+ padding: 25px 15px;
+ width: 400px;
+}
+
+section .content .cartList ul li:nth-child(3) {
+ width: 300px;
+}
+
+section .content .cartList ul li:nth-child(5) {
+ padding: 20px 5px;
+}
+
+section .content .cartList ul li:nth-child(5) input {
+ border: 0;
+ outline: none;
+ background-color: transparent;
+}
+
+section .content .cartList ul li:nth-child(4), section .content .cartList ul li:nth-child(5), section .content .cartList ul li:nth-child(6), section .content .cartList ul li:nth-child(7) {
+ margin: auto;
+ float: right;
+}
+
+section .content .cartList ol {
+ display: inline-flex;
+ width: 100%;
+ background-color: #f3f3f3;
+ border: 1px solid #e0e0e0;
+}
diff --git a/css/logshoppingcar/shopcar2.min.css b/css/logshoppingcar/shopcar2.min.css
new file mode 100644
index 0000000..f9e6e21
--- /dev/null
+++ b/css/logshoppingcar/shopcar2.min.css
@@ -0,0 +1 @@
+*{margin:0;padding:0}li{list-style:none}a{text-decoration:none}section{background-color:#f5f5f5}section .content{padding:15px 50px;margin:auto}section .content .all{display:inline-block}section .content .all h2{font-weight:600;color:#cb1919;float:left;padding-bottom:10px}section .content .cartList{border-top:2px solid #cb1919}section .content .cartList .whoil{width:100%;background-color:#f3f3f3;border:1px solid #e0e0e0;margin-bottom:20px;display:inline-flex}section .content .cartList .whoil li{padding:20px 46px}section .content .cartList .whoil li:nth-child(1){padding:20px 10px}section .content .cartList .whoil li:nth-child(1) img{margin-left:10px}section .content .cartList .whoil li:nth-child(3){width:800px}section .content .cartList .whoil li:nth-child(4),section .content .cartList .whoil li:nth-child(5),section .content .cartList .whoil li:nth-child(6),section .content .cartList .whoil li:nth-child(7){float:right}section .content .cartList ul{width:100%;background-color:#f3f3f3;border:1px solid #e0e0e0;display:inline-flex}section .content .cartList ul li:nth-child(1){padding:20px 5px}section .content .cartList ul li:nth-child(1) img{margin-left:20px;margin-top:-10px}section .content .cartList ul li:nth-child(2){padding:25px 15px;width:400px}section .content .cartList ul li:nth-child(3){width:300px}section .content .cartList ul li:nth-child(5){padding:20px 5px}section .content .cartList ul li:nth-child(5) input{border:0;outline:none;background-color:transparent}section .content .cartList ul li:nth-child(4),section .content .cartList ul li:nth-child(5),section .content .cartList ul li:nth-child(6),section .content .cartList ul li:nth-child(7){margin:auto;float:right}section .content .cartList ol{display:inline-flex;width:100%;background-color:#f3f3f3;border:1px solid #e0e0e0}
diff --git a/css/logshoppingcar/shopcar2.scss b/css/logshoppingcar/shopcar2.scss
new file mode 100644
index 0000000..1ee1691
--- /dev/null
+++ b/css/logshoppingcar/shopcar2.scss
@@ -0,0 +1,115 @@
+* {
+ margin: 0;
+ padding: 0;
+}
+li {
+ list-style: none;
+}
+a {
+ text-decoration: none;
+}
+
+section {
+ background-color: #f5f5f5;
+ .content {
+ padding: 15px 50px;
+ margin: auto;
+ .all {
+ display: inline-block;
+ h2 {
+ font-weight: 600;
+ color: #cb1919;
+ float: left;
+ padding-bottom: 10px;
+ }
+ }
+ .cartList {
+ border-top: 2px solid #cb1919;
+ .whoil {
+ width: 100%;
+ background-color: #f3f3f3;
+ border: 1px solid #e0e0e0;
+ margin-bottom: 20px;
+ display: inline-flex;
+ li {
+ padding: 20px 46px;
+ &:nth-child(1) {
+ padding: 20px 10px;
+ img {
+ margin-left: 10px;
+ }
+ }
+ &:nth-child(3) {
+ width: 800px;
+ }
+ &:nth-child(4),
+ &:nth-child(5),
+ &:nth-child(6),
+ &:nth-child(7) {
+ float: right;
+ }
+ }
+ }
+ // .checklist {
+ // // padding: 20px 5px;
+ // &:nth-child(1) {
+ // padding: 20px 5px;
+ // }
+ // // &:nth-child(3) {
+ // // width: 800px;
+ // // }
+ // // &:nth-child(4),
+ // // &:nth-child(5),
+ // // &:nth-child(6),
+ // // &:nth-child(7) {
+ // // width: 120px;
+ // // padding: 20px 46px;
+ // // }
+ // }
+ ul {
+ width: 100%;
+ background-color: #f3f3f3;
+ border: 1px solid #e0e0e0;
+ display: inline-flex;
+ li {
+ &:nth-child(1) {
+ padding: 20px 5px;
+ img {
+ margin-left: 20px;
+ margin-top: -10px;
+ }
+ }
+ &:nth-child(2) {
+ padding: 25px 15px;
+ width: 400px;
+ }
+ &:nth-child(3) {
+ width: 300px;
+ }
+ &:nth-child(5) {
+ padding: 20px 5px;
+ input {
+ border: 0; // 去除未选中状态边框
+ outline: none; // 去除选中状态边框
+ background-color: rgba(0, 0, 0, 0); // 透明背景
+ }
+ }
+ &:nth-child(4),
+ &:nth-child(5),
+ &:nth-child(6),
+ &:nth-child(7) {
+ margin: auto;
+ float: right;
+ }
+ }
+ }
+ ol {
+ display: inline-flex;
+ width: 100%;
+ background-color: #f3f3f3;
+ border: 1px solid #e0e0e0;
+
+ }
+ }
+ }
+}
diff --git a/htmls/logshoppingcar/shopcar copy.html b/htmls/logshoppingcar/shopcar copy.html
new file mode 100644
index 0000000..c3abf80
--- /dev/null
+++ b/htmls/logshoppingcar/shopcar copy.html
@@ -0,0 +1,174 @@
+
+
+
+
+
+ 购物车
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 商品总计:
+ 结 算
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/htmls/logshoppingcar/shopcar.html b/htmls/logshoppingcar/shopcar.html
index 639bacf..b143669 100644
--- a/htmls/logshoppingcar/shopcar.html
+++ b/htmls/logshoppingcar/shopcar.html
@@ -18,11 +18,12 @@
全部商品(20)
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -121,41 +81,96 @@