From 62fe7dcc26e3fd9bb084f191f6801a32d096603f Mon Sep 17 00:00:00 2001 From: whyneedname <542399163@qq.com> Date: Fri, 21 Oct 2022 17:05:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E7=AE=97=E9=A1=B5=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E3=80=81=E4=BC=98=E6=83=A0=E5=88=B8=E5=BC=B9=E6=A1=86=E5=92=8C?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E6=98=BE=E7=A4=BA;=E7=A0=8D=E4=BB=B7?= =?UTF-8?q?=E8=BD=AC=E5=8F=91=E6=89=93=E5=BC=80=E7=A9=BA=E7=99=BD=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/style.css | 63 +++++++++--------- assets/css/style.less | 68 +++++++++++--------- components/CouponListWindow.vue | 64 ++++++++++++++++-- pages/activity/DargainDetails/index.vue | 9 +-- pages/activity/DargainGoodsDetails/index.vue | 5 +- pages/order/OrderSubmission/index.vue | 39 ++++++++++- 6 files changed, 170 insertions(+), 78 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 60478b0..188c647 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -424,8 +424,8 @@ page { bottom: 0; left: 0; width: 100%; - background-color: #f5f5f5; - border-radius: 16rpx 16rpx 0 0; + background-color: #FFFFFF; + border-radius: 28rpx 28rpx 0 0; z-index: 111; transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); -webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); @@ -445,26 +445,25 @@ page { -o-transform: translate3d(0, 0, 0); } .coupon-list-window .title { - height: 124rpx; + height: 104rpx; width: 100%; text-align: center; - line-height: 124rpx; + line-height: 104rpx; font-size: 32rpx; font-weight: bold; position: relative; - color: #333; + color: #3A3A3C; } .coupon-list-window .title .iconfont { position: absolute; - right: 30rpx; + right: 32rpx; top: 50%; transform: translateY(-50%); font-size: 35rpx; - color: #8a8a8a; + color: #999999; font-weight: normal; } .coupon-list-window .coupon-list { - margin: 0 0 50rpx 0; height: 550rpx; overflow: auto; } @@ -558,7 +557,7 @@ page { height: 54rpx; background: #E3E3E3; border-radius: 8rpx; - padding: 0 14rpx; + padding: 0 32rpx; font-size: 20rpx; font-family: PingFang SC; font-weight: 500; @@ -782,16 +781,17 @@ page { font-size: 32rpx; font-weight: bold; text-align: center; - height: 123rpx; - line-height: 123rpx; + height: 104rpx; + line-height: 104rpx; position: relative; - color: #333; + color: #3A3A3C; } .address-window .title .iconfont { position: absolute; - right: 30rpx; - color: #8a8a8a; - font-size: 35rpx; + right: 32rpx; + color: #999999; + font-weight: normal; + font-size: 40rpx; } .address-window .list { max-height: 600rpx; @@ -799,16 +799,16 @@ page { overflow-x: hidden; } .address-window .list .item { - margin-left: 30rpx; - padding-right: 30rpx; + margin-left: 32rpx; + padding-right: 32rpx; border-bottom: 1px solid #eee; height: 129rpx; - font-size: 25rpx; - color: #333; + font-size: 26rpx; + color: #3A3A3C; } .address-window .list .item .iconfont { font-size: 37rpx; - color: #2c2c2c; + color: #3A3A3C; } .address-window .list .item .iconfont.icon-complete { font-size: 30rpx; @@ -818,7 +818,7 @@ page { width: 560rpx; } .address-window .list .item .addressTxt .name { - font-size: 28rpx; + font-size: 24rpx; font-weight: bold; color: #282828; margin-bottom: 4rpx; @@ -827,15 +827,15 @@ page { margin-left: 18rpx; } .address-window .addressBnt { - font-size: 30rpx; + font-size: 26rpx; font-weight: bold; color: #fff; - width: 690rpx; - height: 86rpx; - border-radius: 43rpx; + width: 686rpx; + height: 70rpx; + border-radius: 16rpx; text-align: center; - line-height: 86rpx; - margin: 85rpx auto; + line-height: 70rpx; + margin: 60rpx auto 70rpx; } .address-window .pictrue { width: 414rpx; @@ -1639,13 +1639,12 @@ page { padding: 12rpx 16rpx 12rpx 12rpx; } .order-submission .address .addressCon .name { - font-size: 30rpx; - color: #282828; - font-weight: bold; - margin-bottom: 10rpx; + font-size: 24rpx; + color: #3A3A3C; + line-height: 32rpx; } .order-submission .address .addressCon .name .phone { - margin-left: 50rpx; + margin-left: 20rpx; } .order-submission .address .addressCon .default { margin-right: 12rpx; diff --git a/assets/css/style.less b/assets/css/style.less index 7cf8b13..4630bcf 100644 --- a/assets/css/style.less +++ b/assets/css/style.less @@ -662,8 +662,8 @@ page { bottom: 0; left: 0; width: 100%; - background-color: #f5f5f5; - border-radius: 0.16 * 100rpx 0.16 * 100rpx 0 0; + background-color: #FFFFFF; + border-radius: 28rpx 28rpx 0 0; z-index: 111; transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); -webkit-transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9); @@ -685,28 +685,31 @@ page { } .coupon-list-window .title { - height: 1.24 * 100rpx; + height: 104rpx; + // height: 1.24 * 100rpx; width: 100%; text-align: center; - line-height: 1.24 * 100rpx; + line-height: 104rpx; + // line-height: 1.24 * 100rpx; font-size: 0.32 * 100rpx; font-weight: bold; position: relative; - color: #333; + color: #3A3A3C; } .coupon-list-window .title .iconfont { position: absolute; - right: 0.3 * 100rpx; + right: 32rpx; + // right: 0.3 * 100rpx; top: 50%; transform: translateY(-50%); font-size: 0.35 * 100rpx; - color: #8a8a8a; + color: #999999; font-weight: normal; } .coupon-list-window .coupon-list { - margin: 0 0 0.5 * 100rpx 0; + // margin: 0 0 0.5 * 100rpx 0; height: 5.5 * 100rpx; overflow: auto; } @@ -836,7 +839,7 @@ page { height: 54rpx; background: #E3E3E3; border-radius: 8rpx; - padding: 0 14rpx; + padding: 0 32rpx; font-size: 20rpx; font-family: PingFang SC; font-weight: 500; @@ -1129,17 +1132,18 @@ page { font-size: 0.32 * 100rpx; font-weight: bold; text-align: center; - height: 1.23 * 100rpx; - line-height: 1.23 * 100rpx; + height: 104rpx; + line-height: 104rpx; position: relative; - color: #333; + color: #3A3A3C; } .address-window .title .iconfont { position: absolute; - right: 0.3 * 100rpx; - color: #8a8a8a; - font-size: 0.35 * 100rpx; + right: 32rpx; + color: #999999; + font-weight: normal; + font-size: 40rpx; } .address-window .list { @@ -1149,17 +1153,17 @@ page { } .address-window .list .item { - margin-left: 0.3 * 100rpx; - padding-right: 0.3 * 100rpx; + margin-left: 32rpx; + padding-right: 32rpx; border-bottom: 1px solid #eee; height: 1.29 * 100rpx; - font-size: 0.25 * 100rpx; - color: #333; + font-size: 26rpx; + color: #3A3A3C; } .address-window .list .item .iconfont { font-size: 0.37 * 100rpx; - color: #2c2c2c; + color: #3A3A3C; } .address-window .list .item .iconfont.icon-complete { @@ -1172,7 +1176,7 @@ page { } .address-window .list .item .addressTxt .name { - font-size: 0.28 * 100rpx; + font-size: 24rpx; font-weight: bold; color: #282828; margin-bottom: 0.04 * 100rpx; @@ -1183,15 +1187,15 @@ page { } .address-window .addressBnt { - font-size: 0.3 * 100rpx; + font-size: 26rpx; font-weight: bold; color: #fff; - width: 6.9 * 100rpx; - height: 0.86 * 100rpx; - border-radius: 0.43 * 100rpx; + width: 686rpx; + height: 70rpx; + border-radius: 16rpx; text-align: center; - line-height: 0.86 * 100rpx; - margin: 0.85 * 100rpx auto; + line-height: 70rpx; + margin: 60rpx auto 70rpx; } .address-window .pictrue { @@ -3249,14 +3253,14 @@ page { } .order-submission .address .addressCon .name { - font-size: 0.3 * 100rpx; - color: #282828; - font-weight: bold; - margin-bottom: 0.1 * 100rpx; + font-size: 24rpx; + color: #3A3A3C; + line-height: 32rpx; + // margin-bottom: 0.1 * 100rpx; } .order-submission .address .addressCon .name .phone { - margin-left: 0.5 * 100rpx; + margin-left: 20rpx; } .order-submission .address .addressCon .default { diff --git a/components/CouponListWindow.vue b/components/CouponListWindow.vue index 19cbafc..fa116f8 100644 --- a/components/CouponListWindow.vue +++ b/components/CouponListWindow.vue @@ -13,7 +13,38 @@ :key="coupon.id" @click="click(coupon)" > -