From de8b55f99a687aa6fd505715ff74c72b4002ef9f Mon Sep 17 00:00:00 2001 From: "952108534@qq.com" <952108534@qq.com> Date: Fri, 21 Jan 2022 10:47:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rc-busness/assets/css/orderquantity.less | 366 ++++++++++++++++++ rc-busness/components/addressInput.vue | 2 +- rc-busness/pages/personal/useraddress.vue | 378 +------------------ rc-busness/pages/useraddress/addaddress.vue | 4 - rc-busness/pages/useraddress/editaddress.vue | 1 - 5 files changed, 378 insertions(+), 373 deletions(-) create mode 100644 rc-busness/assets/css/orderquantity.less diff --git a/rc-busness/assets/css/orderquantity.less b/rc-busness/assets/css/orderquantity.less new file mode 100644 index 00000000..0698f7a2 --- /dev/null +++ b/rc-busness/assets/css/orderquantity.less @@ -0,0 +1,366 @@ + + + + +@media screen and (max-width:768px){ + .active { + font-size: 14px; + color: #e2001a; + cursor: pointer; + } + .unactive { + font-size: 14px; + color: #444444; + cursor: pointer; + } + + + .usercontshow{ + padding: 0 1.5rem; + .online{ + margin: 0; + &.bold{ + height: 0.5rem; + } + } + .rc-usermaina{ + width: 100%; + height: 100%; + } + .rc-headera { + display: flex; + justify-content: space-between; + height: 64px; + align-items: center; + } + .rc-userheader{ + display: none; + } + + .rc-center { + width: 100%; + height: 245px; + margin-top: 8px; + .rc-usermain { + .pc-bottom{ + display: none; + } + + display: flex; + .rc-image { + border: 1px solid #D8D8D8; + margin-top: 17px; + ; + img { + width: 96px; + height: 96px; + display: block; + + } + } + + .rc-right { + + .rc-userbottomm{ + display: none; + } + display: flex; + flex-direction: column; + width: 100%; + margin-left: 16px; + justify-content: center; + em + { + font-style: normal; + display: block; + font-size: 16px; + margin-top: 18px; + font-weight: bold; + + color: #E1001A; + } + } + .rc-userright { + display: flex; + flex-direction: column; + color: #666666; + font-size: 14px; + span{ + display: block; + margin-top: 16px; + } + } + .rc-userbottom { + display: flex; + justify-content: space-between; + margin-top: 8px; + span{ + color: #666666; + font-size: 14px; + } + i{ + font-style: normal; + color: #E1001A; + font-size: 18px; + font-weight: bold; + } + } + } + + .rc-bottom { + display: flex; + align-items: center; + justify-content: center; + margin-top: 24px; + span { + display: block; + width: 130px; + display: flex; + align-items: center; + line-height: 40px; + text-align: center; + color: #e2001a; + height: 40px; + border: 2px solid #e2001a; + justify-content: center; + border-radius: 30px; + font-weight: bold; + } + span:last-child{ + margin-left: 15px; + } + } + } + + .rc-title { + height: 52px; + display: flex; + align-items: center; + border-bottom: 1px solid #d8d8d8; + justify-content: space-between; + span{ + font-size: 14px; + color: #999999; + margin-left: 8px; + } + em{ + font-style: normal; + font-size: 14px; + + color: #333333; + } + i{ + font-style: normal; + font-size: 14px; + + color: #333333; + } + .rc-usertitle strong{ + display: none; + } + } + + } + + + +} +@media screen and (min-width: 769px) +{ + .active { + font-size: 18px; + color: #e2001a; + cursor: pointer; + // margin-left: 40px; + } + .unactive { + font-size: 18px; + color: #444444; + cursor: pointer; + // margin-left: 80px; + } + .usercontshow{ + .rc-headera { + display: flex; + height: 64px; + align-items: center; + border: 1px solid #D7D7D7; + border-radius: 3px 3px 0px 0px; + font-size: 18px; + span:first-child{ + margin-left: 40px; + } + span{ + margin-left: 80px; + } + } + + .rc-userheader{ + width: 100%; + height: 64px; + background: #F6F6F6; + border: 1px solid #D7D7D7; + display: flex; + align-items: center; + justify-content: space-between; + font-size: 18px; + span:first-child{ + margin-left: 173px; + } + span:last-child{ + margin-right: 87px; + } + } + + .rc-center { + width: 100%; + height: 220px; + border: 1px solid #D7D7D7; + .rc-usermain { + display: flex; + justify-content: space-between; + align-items: center; + height: 164px; + .rc-usercenter{ + width: 25%; + em{ + font-size: 18px; + } + } + .rc-image { + border: 1px solid #D8D8D8; + margin-left: 40px; + + img { + width: 96px; + height: 96px; + display: block; + + } + } + + .rc-right { + .rc-userbottom{ + display: none; + } + display: flex; + + width: 100%; + margin-left: 16px; + + em + { + font-style: normal; + font-weight: bold; + font-size: 16px; + margin-top: 18px; + + color: #E1001A; + } + } + .rc-userright { + display: flex; + flex-direction: column; + color: #666666; + font-size: 16px; + span{ + display: block; + margin-top: 6px; + } + } + .rc-userbottomm { + display: flex; + justify-content: space-between; + align-items: center; + width: 58%; + font-size: 20px; + color: #E1001A; + font-weight: bold; + i{ + font-style: normal; + + + } + } + + .pc-bottom { + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + margin-right: 40px; + + span { + display: block; + width: 130px; + cursor: pointer; + display: flex; + align-items: center; + line-height: 40px; + font-weight: bold; + text-align: center; + color: #e2001a; + height: 40px; + border: 2px solid #e2001a; + justify-content: center; + border-radius: 30px; + } + span:last-child{ + margin-top: 15px; + } + } + } + + .rc-bottom { + display: none; + } + } + + .rc-title { + height: 55px; + display: flex; + align-items: center; + border-bottom: 1px solid #d8d8d8; + justify-content: space-between; + span{ + font-size: 16px; + color: #999999; + margin-left: 8px; + } + strong{ + font-style: normal; + font-size: 16px; + color: #444444; + } + em{ + font-style: normal; + font-size: 16px; + + color: #333333; + } + i{ + font-style: normal; + font-size: 16px; + margin-left: 40px; + + color: #333333; + } + .rc-usertitle{ + margin-right: 73px; + display: flex; + align-items: center; + em{ + display: block; + margin-left: 8px; + } + } + } + + + } + + + + + +} \ No newline at end of file diff --git a/rc-busness/components/addressInput.vue b/rc-busness/components/addressInput.vue index 6caaa531..d3dc23b1 100644 --- a/rc-busness/components/addressInput.vue +++ b/rc-busness/components/addressInput.vue @@ -303,7 +303,7 @@ export default { } }, mounted(){ - + console.log(this.defaultValues); }, components:{ diff --git a/rc-busness/pages/personal/useraddress.vue b/rc-busness/pages/personal/useraddress.vue index c9a878dc..3bbf2525 100644 --- a/rc-busness/pages/personal/useraddress.vue +++ b/rc-busness/pages/personal/useraddress.vue @@ -2,8 +2,8 @@
-
-
+
+
+
{{item.title}} @@ -22,7 +23,7 @@
-
+
订单编号:{{ item.orderNumber }} @@ -41,15 +42,13 @@
{{ item.usereat }}
- 规格:{{ userlist.num }} + 规格:{{ item.num }}
- 数量:{{ userlist.pcs}}件 - ¥{{ userlist.ecPrice }} + 数量:{{ item.pcs}}件 + ¥{{ item.ecPrice }}
- -
¥{{ item.userprice }} {{item.orderstype}} @@ -62,14 +61,13 @@ 查看订单
- +
-
@@ -300,360 +298,6 @@ async canceldanhao(orderNumber){ \ No newline at end of file diff --git a/rc-busness/pages/useraddress/addaddress.vue b/rc-busness/pages/useraddress/addaddress.vue index e93045f0..2e787f4f 100644 --- a/rc-busness/pages/useraddress/addaddress.vue +++ b/rc-busness/pages/useraddress/addaddress.vue @@ -89,12 +89,8 @@ export default { methods: { onGetMenu(values){ console.log(values,+'111111'); - let user=values[2].id; user=user.split('-'); - for(let i in user){ - console.log(user[i]); - } this.provinceId=user[0]; this.cityId=user[1]; this.districtId=user[2]; diff --git a/rc-busness/pages/useraddress/editaddress.vue b/rc-busness/pages/useraddress/editaddress.vue index ac09554b..67751d79 100644 --- a/rc-busness/pages/useraddress/editaddress.vue +++ b/rc-busness/pages/useraddress/editaddress.vue @@ -171,7 +171,6 @@ export default { let provinceId=this.$route.query.provinceId; let districtNameid=this.$route.query.districtId; let cityId=this.$route.query.cityId; - debugger; this.defaultValues=[ { id:provinceId,