diff --git a/assets/img/common/icon-select.png b/assets/img/common/icon-select.png new file mode 100644 index 0000000..2dd1305 Binary files /dev/null and b/assets/img/common/icon-select.png differ diff --git a/pages/index/index.vue b/pages/index/index.vue index 9eec998..ac2c830 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -17,11 +17,31 @@ @refresh="handleSeckillRefresh" /> +
+
+ + 为你精选 + +
+
+
+ +
+
+
@@ -95,6 +141,33 @@ export default { .home-wrap { @include layout-box; padding: 30px 0 30px 0; + .home-wrap-select { + margin-top: 30px; + &__header { + font-size: 24px; + color: #333333; + margin-bottom: 30px; + .wrap-select-header__img--rotate { + transform: rotate(180deg); + } + img { + width: 24px; + height: 22px; + } + strong { + margin: 0 10px; + } + } + &__content { + /deep/.goods-item { + margin-bottom: 10px; + width: 19%; + &:not(:nth-child(5n)) { + margin-right: calc(5% / 4); + } + } + } + } } } diff --git a/pages/seckill/index.vue b/pages/seckill/index.vue index 1190e06..e0965f0 100644 --- a/pages/seckill/index.vue +++ b/pages/seckill/index.vue @@ -42,31 +42,33 @@ -
-
- -
-

{{ item.productName }}

-
- ¥{{ item.activityPrice }} - ¥{{ item.originalPrice }} -
-