@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .content.data-v-57280228 { background-color: #fff; } .headerbgimg.data-v-57280228 { position: absolute; width: 200px; height: 180px; top: 0; right: -15%; } .size22.data-v-57280228 { margin-bottom: 15px; } .content-box.data-v-57280228 { width: 100%; position: relative; overflow: hidden; } .box.data-v-57280228 { width: calc(100% - 40rpx); background: #3CB383; display: flex; padding: 30rpx 20rpx; padding-bottom: 220rpx; align-items: center; overflow: hidden; } .box .header.data-v-57280228 { width: 120rpx; height: 120rpx; margin-right: 30rpx; border: 1px solid #fff; border-radius: 50%; background-color: #dfdfdf; } .box .header image.data-v-57280228 { width: 100%; height: 100%; } .box .info.data-v-57280228 { color: #fff; position: absolute; left: 170rpx; right: 30rpx; z-index: 999; } .box .info .name.data-v-57280228 { width: 100%; display: flex; font-size: 32rpx; } .box .info .name.data-v-57280228 :nth-child(1) { margin-right: 30rpx; max-width: 70%; font-weight: bold; } .box .info .name text.data-v-57280228 { margin-right: 30rpx; } .box .info .name image.data-v-57280228 { width: 50rpx; height: 40rpx; } .box .info .age.data-v-57280228 { margin-top: 30rpx; } .box .info .age view.data-v-57280228 { background: #F5D2A4; border-radius: 5px; width: 75px; text-align: center; float: left; padding: 5px 0; margin-right: 10px; } .box1 .header.data-v-57280228 { width: 100rpx; height: 100rpx; background: #fff; text-align: center; line-height: 100rpx; } .box1 .header image.data-v-57280228 { width: 80rpx; height: 80rpx; color: #fff; margin-top: 10rpx; } .box1 .info2.data-v-57280228 { color: #fff; font-size: 36rpx; font-weight: bold; } .jishiqi.data-v-57280228 { width: calc(100% - 60rpx); background: #fff; margin: auto 30rpx; box-shadow: 0px 1px 5px 2px #dfe2e1fc; margin-top: -180rpx; border-radius: 20rpx; position: relative; } .jishiqi .left.data-v-57280228 { width: 55%; float: left; height: auto; background: #ebf7f5; padding-bottom: 15px; box-shadow: 0px 1px 5px 2px #dfe2e1fc; border-radius: 20rpx 0 0 20rpx; } .jishiqi .left .time.data-v-57280228 { width: 90%; margin: 20rpx; display: flex; align-items: center; } .jishiqi .left .chart.data-v-57280228 { width: 320rpx; height: 320rpx; border-radius: 50%; background: #3CB383; border: 5px solid #9CDCBF; display: flex; justify-content: center; align-items: center; margin: auto; } .jishiqi .left .center.data-v-57280228 { text-align: center; width: 280rpx; height: 280rpx; display: flex; flex-wrap: wrap; flex-direction: column; align-items: center; justify-content: center; background: #fff; border-radius: 50%; } .jishiqi .left .center .number.data-v-57280228 { width: 100%; text-align: center; display: inline-block; font-size: 48rpx; font-weight: bold; } .jishiqi .left .center view.data-v-57280228 { width: 100%; height: 50rpx; line-height: 50rpx; text-align: center; } .jishiqi .left .center view text.data-v-57280228 { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 5px; } .jishiqi .right.data-v-57280228 { width: calc(45% - 60rpx); float: left; display: flex; flex-direction: column; justify-content: space-around; height: 140px; margin: 40rpx 30rpx 0; } .jishiqi .right view.data-v-57280228 { width: 100%; display: flex; justify-content: space-between; margin-top: 40rpx; } .jishiqi .right .detail.data-v-57280228 { text-align: center; justify-content: center; color: #fff; background: #F7931E; border-radius: 20rpx; padding: 6rpx 0; } .tools.data-v-57280228 { margin: 30rpx 30rpx 0; display: flex; flex-wrap: wrap; width: calc(100% - 60rpx); justify-content: space-between; } .tools .tools-item.data-v-57280228 { width: 42%; background: #fff; position: relative; padding: 20rpx; height: 120px; overflow: hidden; border-radius: 20rpx; margin-bottom: 30rpx; box-shadow: 0px 1px 5px 2px #dfe2e1fc; } .tools .tools-item .title.data-v-57280228 { display: flex; align-items: center; font-size: 28rpx; position: absolute; z-index: 99; width: 100%; top: 10px; } .tools .tools-item .title image.data-v-57280228 { width: 40rpx; height: 40rpx; margin-right: 5px; } .tools .tools-item .kcal.data-v-57280228 { text-align: center; position: absolute; top: 30%; left: 0; right: 0; } .tools .tools-item .kcal text.data-v-57280228 { font-size: 56rpx; font-weight: bold; margin-right: 20rpx; } .tools .tools-item .tools-btn.data-v-57280228 { border: 1px solid #3CB383; text-align: center; border-radius: 20rpx; width: 60%; margin-left: 20%; margin-top: 10rpx; color: #3CB383; position: absolute; bottom: 10px; z-index: 99; padding: 3px 0; } .tools .tools-item .add.data-v-57280228 { width: 50rpx; height: 50rpx; position: absolute; top: 20rpx; right: 20rpx; background: #3CB383; border-radius: 50%; text-align: center; color: #fff; font-size: 36rpx; line-height: 48rpx; font-weight: bold; z-index: 999; } .tools .tools-item .bgimg.data-v-57280228 { width: 180rpx; height: 180rpx; position: absolute; top: 20rpx; right: -50rpx; } .serachBox.data-v-57280228 { width: calc(100% - 60rpx); } .serachBox .title.data-v-57280228 { display: flex; align-items: center; font-size: 32rpx; font-weight: bold; } .serachBox .searchInput.data-v-57280228 { width: calc(100% - 60rpx); background-color: #f7f7f7; padding: 30rpx; margin-top: 20rpx; border-radius: 20rpx; } .serachBox .search-wrap.data-v-57280228 { height: 80rpx; display: flex; align-items: center; justify-content: space-between; border: 1px solid #3CB383; border-radius: 30rpx; padding: 0 20rpx; background: #fff; } .serachBox .search-wrap image.data-v-57280228 { width: 25px; height: 25px; } .addfood.data-v-57280228 { background-color: #fff; position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 10px 0 10px; border-radius: 10px 10px 0 0; } .addfood .iconfont.data-v-57280228 { position: absolute; right: 7px; top: -10px; background: #f7f7f7; border-radius: 50%; font-size: 30px; } .addfood .list.data-v-57280228 { padding-bottom: 0px; } .addfood .list .item.data-v-57280228 { height: 40px; line-height: 40px; border-bottom: none; } .addfood .list .name.data-v-57280228 { width: 100%; text-align: center; } .addfood .list :nth-child(2).item.data-v-57280228 { border-bottom: 1px solid #dfdfdf; border-top: 1px solid #dfdfdf; } .addfood2.data-v-57280228 { top: 20%; left: 20px; right: 20px; position: absolute; border-radius: 10px; background: #fff; max-height: 720rpx; min-height: 400rpx; } .addfood2 .title.data-v-57280228 { color: #3CB383; display: flex; justify-content: space-between; width: calc(100% - 60rpx); font-weight: bold; font-size: 16px; margin-top: 15px; margin-left: 30rpx; } .addfood2 .foodbox.data-v-57280228 { margin: 15px; } .addfood2 .foodbox .foodbox-list.data-v-57280228 { height: 45px; line-height: 45px; display: flex; justify-content: space-between; border-bottom: 1px solid #dfdfdf; } .addfood2 .foodbox .foodbox-list.data-v-57280228 :nth-child(1) { font-size: 15px; font-weight: bold; } .addfood2 .groupbtn.data-v-57280228 { position: absolute; bottom: 15px; display: flex; justify-content: space-between; margin: auto; left: 15px; right: 15px; } .addfood2 .groupbtn view.data-v-57280228 { width: 100px; padding: 5px 0; text-align: center; background: #dfdfdf; border-radius: 10px; } .addfood2 .groupbtn.data-v-57280228 :nth-child(1) { color: #fff; background-color: #3CB383; } .f_banner.data-v-57280228 { width: 100% !important; height: 450rpx; margin: 15px auto; } .f_banner.data-v-57280228 swiper { height: 450rpx; } .f_banner image.data-v-57280228 { width: 100%; height: 100%; background-size: 100%; position: relative; }