diff --git a/pages/mall/mall.vue b/pages/mall/mall.vue index c500a45..cb5b9a1 100644 --- a/pages/mall/mall.vue +++ b/pages/mall/mall.vue @@ -1,13 +1,291 @@ + .mall-container { + width: 100%; + background: linear-gradient(180deg, #FFAE00 0%, #FFF0D0 40.87%, #FFFFFF 58.17%); + height: 100vh; + + .search { + padding: 32rpx; + } + + // 菜单 + .menu-list { + display: flex; + margin: 0 30rpx; + overflow: hidden; + overflow-x: scroll; + + .menu-item { + white-space: nowrap; + margin-right: 30rpx; + // border: 1px solid #FFAE00; + + .img-box { + width: 100%; + display: flex; + justify-content: center; + + .img { + width: 66rpx; + height: 66rpx; + } + } + + .menu-text { + font-family: Work Sans; + font-weight: 700; + font-style: Bold; + font-size: 26rpx; + leading-trim: NONE; + line-height: 100%; + letter-spacing: -2%; + text-align: center; + color: #F7F7EF; + + margin-top: 10rpx; + } + + .menu-text-actice { + margin-top: 5rpx; + padding: 4rpx 10rpx 0; + color: #FA941F; + background-color: #fee9bb; + border-radius: 20rpx; + } + + .text-actice { + padding: 2rpx 0rpx; + border-bottom: 4rpx solid #FA941F; + } + + } + } + + // 商城列表 + .mall-list { + margin-top: 20rpx; + padding: 0 32rpx; + + .mall-item { + border-radius: 16rpx; + background-color: #ffffff; + position: relative; + margin-top: 20rpx; + box-shadow: 0px 4px 4px 0px #00000040; + padding-bottom: 10rpx; + + .mall-title { + font-size: 30rpx; + margin-top: 10rpx; + color: $u-main-color; + } + + .mall-price { + font-size: 30rpx; + color: $u-type-error; + margin-top: 10rpx; + } + + + + .mall-tag { + display: flex; + margin-top: 5px; + + .mall-tag-owner { + background-color: $u-type-error; + color: #FFFFFF; + display: flex; + align-items: center; + padding: 4rpx 14rpx; + border-radius: 50rpx; + font-size: 20rpx; + line-height: 1; + } + + .mall-tag-text { + border: 1px solid $u-type-primary; + color: $u-type-primary; + margin-left: 10px; + border-radius: 50rpx; + line-height: 1; + padding: 4rpx 14rpx; + display: flex; + align-items: center; + border-radius: 50rpx; + font-size: 20rpx; + } + } + + + + .mall-shop { + font-size: 22rpx; + color: $u-tips-color; + margin-top: 5px; + } + + } + } + } + \ No newline at end of file diff --git a/static/mall/1.png b/static/mall/1.png new file mode 100644 index 0000000..7cb9040 Binary files /dev/null and b/static/mall/1.png differ diff --git a/static/mall/2.png b/static/mall/2.png new file mode 100644 index 0000000..2c7eed6 Binary files /dev/null and b/static/mall/2.png differ diff --git a/static/mall/3.png b/static/mall/3.png new file mode 100644 index 0000000..9dede97 Binary files /dev/null and b/static/mall/3.png differ diff --git a/static/mall/4.png b/static/mall/4.png new file mode 100644 index 0000000..60e3533 Binary files /dev/null and b/static/mall/4.png differ diff --git a/static/mall/5.png b/static/mall/5.png new file mode 100644 index 0000000..4c5c3a4 Binary files /dev/null and b/static/mall/5.png differ diff --git a/static/mall/6.png b/static/mall/6.png new file mode 100644 index 0000000..e8223c7 Binary files /dev/null and b/static/mall/6.png differ