diff --git a/pages/activity/newGoods.vue b/pages/activity/newGoods.vue index 563d88d..8b6e0f2 100644 --- a/pages/activity/newGoods.vue +++ b/pages/activity/newGoods.vue @@ -14,25 +14,26 @@ + + + {{item.goods_name}} - + + + + ¥{{item.goods_price_min?Number(item.goods_price_min):''}}起 + + + 立即购买 + - - - - - - - ¥{{item.goods_price_min?Number(item.goods_price_min):''}}起 - - - 立即购买 - + @@ -294,16 +295,16 @@ justify-content: space-between; width: 100%; position: relative; - + align-items: flex-start; .infoLeft { + flex: 1; + margin-top: 20rpx; .gName { margin-bottom: 15rpx; overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - -webkit-line-clamp: 1; + -webkit-line-clamp: 2; max-width: 300rpx; - height: 56rpx; + height: 112rpx; font-size: 40rpx; font-weight: 600; color: #3F3F3F; @@ -311,62 +312,54 @@ margin-top: 32rpx; } - .gd { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - -webkit-line-clamp: 2; - max-width: 350rpx; - height: 88rpx; - font-size: 32rpx; - font-family: PingFang SC, PingFang SC; - font-weight: 400; - color: #9F9F9F; - line-height: 44rpx; - } - - .gp { - height: 44rpx; - font-size: 32rpx; - font-family: PingFang SC, PingFang SC; - font-weight: 400; - color: #DE041C; - line-height: 38rpx; - } + // .gd { + // overflow: hidden; + // -webkit-line-clamp: 2; + // height: 88rpx; + // font-size: 32rpx; + // font-weight: 400; + // color: #9F9F9F; + // line-height: 44rpx; + // } + + // .gp { + // height: 44rpx; + // font-size: 32rpx; + // font-family: PingFang SC, PingFang SC; + // font-weight: 400; + // color: #DE041C; + // line-height: 38rpx; + // } } .infoRight { - width: 290rpx; - height: 290rpx; + width: 220rpx; + height: 220rpx; border-radius: 0rpx 0rpx 0rpx 0rpx; - opacity: 1; - margin-left: 14rpx; - + margin-right: 14rpx; + display: flex; + justify-content: flex-start; + align-items: center; + margin-top: 40rpx; .infoImg { - width: 290rpx; - height: 290rpx; + width: 200rpx; + height: 200rpx; } - - position: absolute; - top: -68rpx; - right: 20rpx; } } .price { display: flex; - justify-content: flex-end; + justify-content: space-between; margin-top: 50rpx; margin-right: 30rpx; .lowPrice { height: 50rpx; font-size: 36rpx; - font-family: PingFang SC, PingFang SC; font-weight: 600; color: #DE041C; line-height: 50rpx; - margin-right: 20rpx; } .buyNow { diff --git a/pages/index/index.vue b/pages/index/index.vue index baba150..ec0d808 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1153,7 +1153,7 @@ position: absolute; z-index: 9; text-align: center; - font-size: 28rpx; + font-size: 29rpx; font-family: PingFang SC, PingFang SC; font-weight: 400; color: #FFFFFF; @@ -1185,7 +1185,7 @@ align-items: center; justify-content: center; background-color: #F3202A; - font-size: 24rpx; + font-size: 25rpx; color: #fff; top: -10rpx; right: -10rpx; @@ -1207,7 +1207,7 @@ margin-right: 30rpx; position: relative; display: inline-block; - font-size: 28rpx; + font-size: 29rpx; font-weight: 400; padding: 0 20rpx; color: #282828; @@ -1274,7 +1274,7 @@ align-items: center; justify-content: center; margin-top: 30rpx; - font-size: 22rpx; + font-size: 23rpx; font-weight: 400; color: #7D7D7D; } @@ -1299,7 +1299,7 @@ } text { - font-size: 24rpx; + font-size: 28rpx; font-weight: 400; color: #5A5A5A; margin-top: 10rpx; @@ -1350,7 +1350,7 @@ text:nth-child(2) { font-family: PingFang SC, PingFang SC; font-weight: 400; - font-size: 24rpx; + font-size: 25rpx; color: #FFFFFF; text-align: left; font-style: normal; @@ -1382,7 +1382,7 @@ } text { - font-size: 24rpx; + font-size: 25rpx; font-family: PingFang SC, PingFang SC; font-weight: 400; color: #FFFFFF; @@ -1450,7 +1450,7 @@ background: linear-gradient(180deg, #FF1C75 0%, #FF470D 100%); border-radius: 28px 28px 28px 28px; opacity: 1; - font-size: 24rpx; + font-size: 25rpx; font-family: PingFang SC, PingFang SC; font-weight: 400; color: #FFFFFF; @@ -1506,7 +1506,7 @@ position: absolute; // width:100%; text-align: center; - font-size: 24rpx; + font-size: 25rpx; font-family: PingFang SC, PingFang SC; font-weight: 500; color: #8C4D00; @@ -1559,19 +1559,19 @@ height: 34rpx; line-height: 34rpx; width: 90%; - font-size: 20rpx; + font-size: 24rpx; font-weight: 400; color: #FFFFFF; text-align: center; text { - font-size: 16rpx; + font-size: 24rpx; } } } .name { - font-size: 20rpx; + font-size: 21rpx; font-weight: 400; line-height: 50rpx; color: #505050; @@ -1579,7 +1579,7 @@ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - margin-top: 10rpx; + margin-top: 10rpx;font-size: 24rpx; } } @@ -1597,7 +1597,7 @@ position: relative; .more { - font-size: 20rpx; + font-size: 21rpx; font-weight: 400; color: #8C4D00; position: absolute; @@ -1632,7 +1632,7 @@ width: 40rpx; height: 40rpx; background-color: #FF4D4D; - font-size: 24rpx; + font-size: 25rpx; color: #FFFFFF; border-radius: 6rpx; } @@ -1785,7 +1785,7 @@ height: 34rpx; line-height: 34rpx; width: 90%; - font-size: 20rpx; + font-size: 24rpx; font-weight: 400; color: #FFFFFF; text-align: center;