@import "../_"; .index{ } .header{ position: fixed; background: #fff; top: 0; left: 0; right: 0; z-index: 999; padding-left: 32rpx; padding-right: 32rpx; padding-top:calc(var(--status-bar-height) + 16px); padding-bottom: 32rpx; border-bottom: 1px solid #f5f5f5; .search{ height: 80rpx; background: #f5f5f5; border-radius: 8rpx; font-size: 32rpx; color: #999; display: flex; align-items: center; padding-left: 30rpx; } .iconfont{ margin-right: 20rpx; margin-top: 4rpx; font-size: 40rpx; } span{ font-size: 32rpx; color: #999; } } .content{ margin-top:calc(var(--status-bar-height) + 150rpx); padding-left: 32rpx; padding-right: 32rpx; } .title_a{ font-size: 60rpx; font-weight: 600; color: #333; line-height: 72rpx; margin-bottom: 32rpx; } .banner{ width: 100%; border-radius: 30rpx; height: 100%; } .title_b{ margin-top: 20rpx; font-size: 60rpx; font-weight: 600; color: #333; line-height: 72rpx; } .tab{ margin-top: 30rpx; display: flex; align-items: center; justify-content:center; width: 326rpx; height: 84rpx; border-radius: 60rpx; box-shadow: 0rpx 0rpx 24rpx rgba(0 ,0, 0,10%); background: #fe9b95; image{ margin-right: 20rpx; height: 36rpx; width: 36rpx; } span{ font-size: 26rpx; color: #ffffff; font-weight: 600; } } .top_tab{ display: flex; align-items: center; justify-content: space-between; } .tab_2{ margin-top: 30rpx; display: flex; align-items: center; justify-content:center; width: 326rpx; height: 84rpx; border-radius: 60rpx; box-shadow: 0px 0px 24rpx rgba(0 ,0, 0,10%); background: #ffffff; image{ margin-right: 10rpx; height: 36rpx; width: 36rpx; } span{ font-size: 26rpx; color: #000000; font-weight: 600; } } .top_3{ margin-top: 30rpx; width: 206rpx; height: 84rpx; display: flex; align-items: center; justify-content:center; border-radius: 60rpx; box-shadow: 0px 0px 24rpx rgba(0 ,0, 0,10%); background: #ffffff; image{ margin-right: 10rpx; height: 36rpx; width: 36rpx; } span{ font-size: 26rpx; color: #000000; font-weight: 600; } } .title_c{ margin-top: 30rpx; font-size: 32rpx; font-weight: 600; color: #999; margin-bottom: 20rpx; } .threeMeals_top{ display: flex; align-items: flex-end; } .threeMeals_text{ font-size: 32rpx; color: #666; margin-right: 40rpx; position: relative; } .active{ font-size: 60rpx; font-weight: 600; color: #333; } .active:after { content: ""; position: absolute; background: #ff9d9b; width: 100%; height: 6px; border-radius: 3px; left: 0; bottom: 0px; z-index: -2; } .list_data{ width: 46%; margin-right: 16rpx; image{ width: 100%; height: 448rpx; border-radius: 14rpx; } p{ font-size: 36rpx; font-weight: 600; color: #333; display: block; height: 56rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 56rpx; padding: 24rpx 0rpx 4rpx; } .txt{ font-size: 16rpx; width: 36rpx; height: 24rpx; line-height: 24rpx; border-radius: 4rpx; color: #fff; padding: 0rpx 6rpx; font-weight: 600; background: #ff8d8d; } .txt_2{ background: #fff2f2; border-radius: 4rpx; margin: 16rpx 32rpx 0rpx 0rpx; padding: 8rpx 12rpx 8rpx 12rpx; box-sizing: border-box; display: inline-block; font-size: 22rpx; color: #ff8d8d; overflow: hidden; text-overflow: ellipsis; .ellipsis() } } .swiper-box{ margin-top: 40rpx; height: 660rpx; width: 100%; } /deep/.uni-scroll-view-content{ display: flex; justify-content: space-between; align-items: center; } .title_d{ font-size: 32rpx; font-weight: 600; color: #999; margin-bottom: 20rpx; } .title_d_top{ display: flex; align-items: flex-end; margin-bottom: 10px; } .title_d_top_text{ font-size: 16px; color: #666; margin-right: 20px; position: relative; } .active_2{ font-size: 30px; font-weight: 600; color: #333; } .active_2:after { content: ""; position: absolute; background: #ff9d9b; width: 100%; height: 6px; border-radius: 3px; left: 0; bottom: 0px; z-index: -2; } .title_d_content{ display: flex; align-items: center; justify-content: space-between; flex-wrap:wrap; } .title_d_content_list{ margin-bottom: 20px; height: 672rpx; width: 47%; .food_img{ width: 100%; height: 224px; border-radius: 7px; } p{ font-size: 18px; font-weight: 600; color: #333; display: block; height: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 28px; padding: 12px 0px 2px; } .yyy{ font-size: 8px; width: 18px; height: 12px; line-height: 12px; border-radius: 2px; color: #fff; padding: 0px 3px; font-weight: 600; background: #ff8d8d; } .dddd{ background: #fff2f2; border-radius: 2px; margin: 8px 16px 0px 0px; padding: 4px 6px 4px 6px; box-sizing: border-box; display: inline-block; font-size: 11px; color: #ff8d8d; overflow: hidden; text-overflow: ellipsis; } .user{ display: flex; align-items: center; justify-content: space-between; } .user_left{ display: flex; align-items: center; .user_img{ height: 18px; width: 18px; margin-right: 5px; border-radius: 9px; box-shadow: 0px 1px 3px rgb(0 0 0 / 10%); } .tit{ width: 90px; margin-left:5px; height: 18px; font-size: 9px; zoom: 0.9; color: #666; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } .user_right{ display: flex; align-items: center; .sssss{ margin-right: 5px; } .nubs{ color: #666; font-size: 9px; zoom: 0.9; } } }