123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652 |
- /**index.wxss**/
- page {
- background: #f7f7f7;
- height: auto;
- }
- /* 轮播图及搜索框 */
- swiper {
- width: 100%;
- height: 400rpx;
- overflow: hidden;
- margin-top: 80rpx;
- }
- swiper.pic-swiper {
- margin-top: 101rpx;
- padding: 10rpx 0;
- background: #fff;
- height: 400rpx;
- }
- swiper-item {
- font-size: 26rpx;
- font-weight: bold;
- }
- swiper.pic-swiper .img-box {
- font-size: 0;
- }
- .wx-swiper-dots {
- margin-bottom: 15rpx;
- }
- .banner-item {
- box-sizing: border-box;
- }
- .banner-item .img-box {
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- padding: 20rpx 10rpx;
- }
- .banner-item .img-box image {
- border-radius: 8rpx;
- box-shadow: 0 4px 10px 0 rgba(83, 83, 83, 0.288);
- }
- swiper.pic-swiper .banner {
- position: absolute;
- width: 690rpx;
- margin: 0 10rpx;
- height: 388rpx;
- border-radius: 8rpx;
- display: inline-block;
- box-shadow: 0 4px 10px 0 rgba(83, 83, 83, 0.288);
- }
- .top-navbar-box {
- display: flex;
- align-items: center;
- margin-left: 20rpx;
- }
- .top-navbar-box .shop-title {
- font-weight: bold;
- font-size: 36rpx;
- }
- .shop-info {
- margin-left: 12rpx;
- display: flex;
- font-weight: bold;
- font-size: 24rpx;
- }
- .search-box {
- display: flex;
- padding: 20rpx 20rpx 30rpx;
- }
- .top-search-input {
- margin-left: 20rpx;
- margin-top: -10rpx;
- display: flex;
- align-items: center;
- width: 500rpx;
- border: 2rpx solid #04358D;
- border-radius: 40rpx;
- height: 60rpx;
- }
- .top-search-swiper {
- height: 60rpx;
- line-height: 60rpx;
- margin-top: 0;
- font-size: 24rpx;
- color: #AAAAAA;
- margin-left: 28rpx;
- }
- .top-search-line {
- color: #DEDEDE;
- margin-right: 16rpx;
- }
- .top-search-text {
- width: 100rpx;
- font-weight: bold;
- font-size: 28rpx;
- color: #04358D;
- }
- .search-input {
- display: flex;
- align-items: center;
- width: 642rpx;
- border: 2rpx solid #04358D;
- border-radius: 40rpx;
- height: 60rpx;
- }
- .search-swiper {
- height: 60rpx;
- line-height: 60rpx;
- margin-top: 0;
- font-weight: normal;
- font-size: 24rpx;
- color: #AAAAAA;
- margin-left: 28rpx;
- }
- .search-line {
- color: #DEDEDE;
- margin-right: 16rpx;
- }
- .search-text {
- width: 100rpx;
- font-weight: bold;
- font-size: 28rpx;
- color: #04358D;
- }
- .top-share {
- position: relative;
- text-align: center;
- margin-left: 16rpx;
- }
- .share-btn {
- position: absolute;
- top: 0;
- left: 0;
- height: 90rpx;
- text-align: center;
- background-color: transparent;
- /*按钮透明*/
- border: none;
- }
- .share-btn::after {
- border: none;
- }
- .share-text {
- font-weight: normal;
- font-size: 22rpx;
- color: #222222;
- }
- .recommended-box {
- height: 80rpx;
- }
- .recommended-swiper {
- height: 80rpx;
- white-space: nowrap;
- }
- .recommended-text {
- margin-left: 20rpx;
- display: inline-block;
- padding: 6rpx 12rpx;
- background: #dddbdb;
- text-align: center;
- border-radius: 22rpx 22rpx 22rpx 22rpx;
- font-size: 24rpx;
- color: #222222;
- }
- .container .bg-sear {
- position: fixed;
- z-index: 999;
- width: 100%;
- line-height: 56rpx;
- background: #fff;
- padding: 20rpx 0;
- text-align: center;
- top: 0;
- }
- .bg-sear .section {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 60rpx;
- background: #fff;
- z-index: 1;
- border-radius: 50rpx;
- width: 92%;
- margin: auto;
- left: 4%;
- background: #eeeeee;
- }
- .bg-sear .section .placeholder {
- display: block;
- font-size: 28rpx;
- color: #999;
- }
- .bg-sear .section .search-img {
- width: 32rpx;
- height: 32rpx;
- margin-right: 10rpx;
- }
- /* 分类栏目 */
- .swiper-grid-box {
- padding: 16rpx;
- margin-top: -30rpx;
- }
- .swiper-grid {
- margin-top: -10rpx;
- border-radius: 16rpx;
- background-color: #fff;
- }
- .my-grid-item .van-grid-item__content {
- padding: 0rpx;
- margin-top: 20rpx;
- }
- .swiper-grid-image{
- width:100rpx;
- height:100rpx;
- border-radius: 50%;
- }
- .swiper-grid-text {
- font-weight: normal;
- font-size: 24rpx;
- color: #222222;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- width: 120rpx;
- text-align: center;
- line-height:2.4;
- letter-spacing: normal;
- }
- .bonus-box {
- display: flex;
- }
- .content-bonus {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 216rpx;
- height: 64rpx;
- background: #FFFFFF;
- border-radius: 16rpx 16rpx 16rpx 16rpx;
- margin-left: 20rpx;
- }
- .bonus-text {
- margin-left: 10rpx;
- font-size: 24rpx;
- }
- /*秒杀*/
- .seckill-box {
- margin: 20rpx;
- padding: 20rpx;
- background: linear-gradient(91deg, #FFEEEE 0%, #FFFFFF 18%, #FFFFFF 100%);
- display: flex;
- position: relative;
- overflow: hidden;
- }
- .seckill-time {
- width: 160rpx;
- text-align: center;
- }
- .seckill-title {
- font-weight: 800;
- font-size: 28rpx;
- }
- .more-icon {
- position: absolute;
- display: flex;
- align-items: center;
- height: 100%;
- top: 0;
- right: 0;
- width: 40rpx;
- background-color: #fff;
- }
- .times {
- margin-top: 8rpx;
- margin-bottom: 8rpx;
- font-size: 20rpx;
- color: #AAAAAA;
- }
- .seckill-content {
- display: flex;
- }
- .seckill-product-box {
- margin-left: 30rpx;
- }
- .seckill-Price {
- position: relative;
- font-weight: bold;
- font-size: 24rpx;
- color: #FF4A39;
- }
- .price-bg {
- position: absolute;
- }
- .price-num {
- position: absolute;
- left: 10rpx;
- }
- .custom-class {
- background-color: #FFFFFF;
- }
- .recommended-card {
- position: relative;
- margin: 20rpx;
- padding: 20rpx;
- background-color: #FFFFFF;
- display: flex;
- width: 670rpx;
- overflow: hidden;
- }
- .new-text {
- text-align: center;
- }
- .new-text-two {
- width: 120rpx;
- }
- .recommended-Price {
- text-align: center;
- height: 32rpx;
- background: #FFEEEC;
- border-radius: 16rpx;
- font-weight: bold;
- font-size: 24rpx;
- color: #FF4A39;
- }
- /* 每日上新 */
- .content {
- text-align: justify;
- }
- .reset-localization{
- text-align: center;
- font-size: 26rpx;
- color: #AAAAAA;
- }
- .swiper-card-box {
- margin-top: 10rpx;
- height: 470rpx;
- margin-left: 3%;
- width: 96%;
- }
- .wx-swiper-dots-horizontal .wx-swiper-dot {
- width: 24rpx;
- height: 8rpx;
- border-radius: 4rpx;
- }
- .swiper-card {
- margin-top: 10rpx;
- height: 462rpx;
- background: #FFFFFF;
- border-radius: 16rpx;
- }
- .swiper-card-img {
- height: 462rpx;
- width: 354rpx;
- border-radius: 16rpx;
- }
- .item {
- background-color: #fff;
- margin: 10rpx 4%;
- margin-bottom: 0rpx;
- display: inline-block;
- width: 96%;
- border-radius: 16rpx;
- overflow: hidden;
- }
- .item-ava {
- width: 40rpx;
- height: 40rpx;
- border-radius: 16rpx;
- }
- .heart {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-right: 8rpx;
- margin-top: 20rpx;
- }
- .name-price {
- display: flex;
- align-items: center;
- font-weight: 800;
- font-size: 36rpx;
- color: #FF4D3A;
- }
- .item-img {
- width: 100%
- }
- .item-title {
- font-weight: bold;
- font-size: 28rpx;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- font-family: 'PingFang SC-Medium';
- color: #1e1e1e;
- margin: 10rpx;
- height: 40rpx;
- line-height: 40rpx;
- /* background-color: turquoise; */
- }
- .item .name {
- padding: 0 15rpx;
- margin-top: 20rpx;
- padding-bottom: 10rpx;
- align-items: center;
- font-size: 22rpx;
- font-family: 'PingFang SC-Medium';
- }
- .name image {
- flex: 0 0 auto;
- }
- .item-title-box {
- display: flex;
- position: relative;
- z-index: 2;
- }
- .name-title {
- font-weight: normal;
- font-size: 22rpx;
- color: #AAAAAA;
- }
- .name text:last-child {
- color: #c4c4c4;
- text-decoration: underline;
- line-height: 10rpx;
- }
- .left,
- .right {
- display: inline-block;
- vertical-align: top;
- width: 49%;
- }
- .stepper-box {
- display: flex;
- align-items: center;
- }
- .stepper-minus {
- width: 40rpx;
- height: 40rpx;
- background-color: #F0F0F0;
- font-size: 40rpx;
- text-align: center;
- line-height: 40rpx;
- }
- .stepper-num {
- width: 80rpx;
- height: 40rpx;
- background-color: #F0F0F0;
- text-align: center;
- line-height: 40rpx;
- margin-left: 4rpx;
- }
- .stepper-add {
- margin-left: 4rpx;
- width: 40rpx;
- height: 40rpx;
- background-color: #F0F0F0;
- font-size: 40rpx;
- text-align: center;
- line-height: 40rpx;
- }
- .tips {
- height: 60rpx;
- line-height: 60rpx;
- text-align: center;
- font-size: 24rpx;
- color: #AAAAAA;
- }
- .loading-box{
- text-align: center;
- line-height: 80rpx;
- height: 80rpx;
- }
- .popup-box {
- padding: 20rpx;
- }
- .popup-detail {
- display: flex;
- align-items: center;
- }
- .shop-price {
- font-family: PingFang SC, PingFang SC;
- font-weight: 800;
- font-size: 48rpx;
- color: #FF4D3A;
- }
- .shop-detail {
- margin-top: 24rpx;
- display: flex;
- align-items: center;
- }
- .shop-isselect {
- font-weight: normal;
- font-size: 24rpx;
- color: #AAAAAA;
- }
- .shop-info {
- font-family: PingFang SC, PingFang SC;
- font-weight: 800;
- font-size: 28rpx;
- color: #222222;
- }
- .shop-address-info {
- width: 300rpx;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .popup-line {
- border: 2rpx solid #F0F0F0;
- }
- .shop-color {
- margin-top: 28rpx;
- }
- .color-text {
- font-family: PingFang SC, PingFang SC;
- font-weight: 800;
- font-size: 28rpx;
- }
- .color-btn-box {
- display: flex;
- align-items: centers;
- margin-top: 10rpx;
- }
- .color-btn {
- width: 136rpx;
- height: 64rpx;
- background: #04358D;
- border-radius: 32rpx;
- font-weight: normal;
- font-size: 28rpx;
- color: #FFFFFF;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 20rpx;
- }
- .popup-num-box {
- margin-top: 40rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .bottom-button-box {
- background: #FFFFFF;
- box-shadow: 0rpx -6rpx 12rpx 2rpx rgba(0, 0, 0, 0.09);
- border-radius: 32rpx 32rpx 0rpx 0rpx;
- display: flex;
- justify-content: center;
- }
- .bottom-button {
- width: 702rpx;
- height: 80rpx;
- background: #04358D;
- border-radius: 40rpx;
- margin-top: 30rpx;
- font-family: PingFang SC, PingFang SC;
- font-weight: bold;
- font-size: 28rpx;
- color: #FFFFFF;
- text-align: center;
- line-height: 80rpx;
- }
|