diff --git a/api/promotion/seckill.js b/api/promotion/seckill.js new file mode 100644 index 00000000..6d96f257 --- /dev/null +++ b/api/promotion/seckill.js @@ -0,0 +1,8 @@ +import request from "@/utils/request.js"; + +// 获得秒杀活动明细 +export function getSeckillActivity(id) { + return request.get("app-api/promotion/seckill-activity/get-detail", { + id + }); +} diff --git a/pages/activity/goods_seckill_details/index.vue b/pages/activity/goods_seckill_details/index.vue index fcaaba7d..1ee7f3fb 100644 --- a/pages/activity/goods_seckill_details/index.vue +++ b/pages/activity/goods_seckill_details/index.vue @@ -1,6 +1,6 @@ @@ -1044,7 +1134,7 @@ top: 0; width: 100%; height: 100%; - + image { width: 100%; height: 100%; @@ -1303,7 +1393,7 @@ z-index: -5; opacity: 0; } - + .poster-pop { width: 450rpx; height: 714rpx; @@ -1314,13 +1404,13 @@ top: 50%; margin-top: -357rpx; } - + .poster-pop image { width: 100%; height: 100%; display: block; } - + .poster-pop .close { width: 46rpx; height: 75rpx; @@ -1329,7 +1419,7 @@ top: -73rpx; display: block; } - + .poster-pop .save-poster { background-color: #df2d0a; font-size: :22rpx; @@ -1339,14 +1429,14 @@ line-height: 76rpx; width: 100%; } - + .poster-pop .keep { color: #fff; text-align: center; font-size: 25rpx; margin-top: 10rpx; } - + .mask { position: fixed; top: 0; @@ -1361,7 +1451,7 @@ top: 20rpx !important; /* #endif */ } - + .home-nav { color: #fff; position: fixed; @@ -1377,13 +1467,13 @@ color: #333; } } - + .home-nav .line { width: 1rpx; height: 24rpx; background: rgba(255, 255, 255, 0.25); } - + .home-nav .icon-xiangzuo { width: auto; font-size: 28rpx; diff --git a/pages/goods_details/index.vue b/pages/goods_details/index.vue index 4ce2248e..72a2c9c2 100644 --- a/pages/goods_details/index.vue +++ b/pages/goods_details/index.vue @@ -21,8 +21,7 @@ - - + @@ -277,9 +276,6 @@