diff --git a/pages/home/index.vue b/pages/home/index.vue index ae75069..1d57220 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -6,62 +6,48 @@ - + - + - - - - 图片 + + + + 精选直播 - - - 锁头 + + + 订单数据 - - - 沙漏 + + + 商城好物 - - - 沙漏 + + + 获得积分 - - - - 图片 - - - - 锁头 - - - - 沙漏 + + + + 微信读书 - + - - - + - - 商城 - - @@ -94,8 +80,13 @@ { url: '/static/banner/2.png' }, { url: '/static/banner/3.png' }, ] - - const openShop = () => { + + const current = ref(0) + const changeMenu = (val : any) => { + current.value = val.detail.current + } + + const openMall = () => { uni.navigateTo({ url: '/pages/mall/mall' }) @@ -139,14 +130,23 @@ // padding: 32rpx; .menu-list { + border-top-left-radius: 32rpx; + border-top-right-radius: 32rpx; + box-shadow: 0rpx -8rpx 20rpx 0rpx #628AC080; + padding-bottom: 20rpx; .swiper { - height: 170rpx; + height: 200rpx; .grid-text { + font-family: Work Sans; + font-weight: 400; + font-style: Regular; font-size: 28rpx; - margin-top: 4rpx; - color: $u-type-info; + leading-trim: NONE; + line-height: 32rpx; + letter-spacing: -2%; + text-align: center; } } diff --git a/static/home/1.png b/static/home/1.png new file mode 100644 index 0000000..557a774 Binary files /dev/null and b/static/home/1.png differ diff --git a/static/home/2.png b/static/home/2.png new file mode 100644 index 0000000..3255bc9 Binary files /dev/null and b/static/home/2.png differ diff --git a/static/home/3.png b/static/home/3.png new file mode 100644 index 0000000..1b80347 Binary files /dev/null and b/static/home/3.png differ diff --git a/static/home/4.png b/static/home/4.png new file mode 100644 index 0000000..b21dbf9 Binary files /dev/null and b/static/home/4.png differ diff --git a/static/home/5.png b/static/home/5.png new file mode 100644 index 0000000..704fa14 Binary files /dev/null and b/static/home/5.png differ