@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .content.data-v-378efeb4 { padding: 0 15px; } .content_box.data-v-378efeb4 { width: 100%; } .box.data-v-378efeb4 { width: 100%; } .calendar.data-v-378efeb4 { text-align: center; background: #fff; position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: 40px; line-height: 40px; box-shadow: 0px 1px 5px 2px #dfe2e1fc; } .kcal.data-v-378efeb4 { width: calc(100% - 20px); margin-bottom: 15px; background: #fff; border-radius: 5px; padding: 10px; position: relative; margin-top: 60px; } .kcal .set.data-v-378efeb4 { position: absolute; right: 15px; width: 50px; height: 50px; display: flex; align-items: flex-start; justify-content: flex-end; font-weight: bold; z-index: 18; } .kcal .set icon.data-v-378efeb4 { font-size: 22px; } .kcal .top.data-v-378efeb4 { margin-left: 5px; position: relative; } .kcal .top .left.data-v-378efeb4 { width: 300rpx; height: 300rpx; position: relative; } .kcal .top .left .center.data-v-378efeb4 { position: absolute; top: 0; text-align: center; width: 300rpx; height: 300rpx; display: flex; flex-wrap: wrap; flex-direction: column; align-items: center; justify-content: center; } .kcal .top .left .center text.data-v-378efeb4 { display: inline-block; font-size: 22px; font-weight: bold; } .kcal .top .left .center .unit.data-v-378efeb4 { position: absolute; font-size: 22px; font-weight: bold; bottom: 20rpx; text-align: center; } .kcal .top .right.data-v-378efeb4 { position: absolute; left: 65%; height: 300rpx; top: 0; display: flex; flex-wrap: wrap; justify-content: center; flex-direction: column; } .kcal .top .right .num.data-v-378efeb4 { font-size: 24px; font-weight: bold; width: 100%; display: inline-block; margin-top: 5px; } .kcal .top .right .unit.data-v-378efeb4 { position: absolute; font-size: 22px; font-weight: bold; bottom: 20rpx; text-align: center; } .kcal .weight.data-v-378efeb4 { width: 100%; display: flex; margin-top: 25px; margin-bottom: 5px; justify-content: space-between; } .kcal .weight .item.data-v-378efeb4 { width: 30%; } .kcal .weight .item .bold.data-v-378efeb4 { width: 100%; background: #eaeaea; border-radius: 6px; margin-top: 5px; text-align: right; font-weight: 500; font-size: 12px; height: 15px; line-height: 15px; position: relative; } .kcal .weight .item .bold text.data-v-378efeb4 { position: absolute; z-index: 6; right: 8px; } .kcal .weight .item .val.data-v-378efeb4 { position: absolute; left: 0; background: #f9ce27; height: 15px; border-radius: 10px; z-index: 2; } .tabbar.data-v-378efeb4 { width: 100%; background: #fff; border-radius: 10px; padding: 10px 0; display: flex; margin-bottom: 15px; justify-content: space-between; } .tabbar .type.data-v-378efeb4 { width: 20%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; } .tabbar .type .t-icon.data-v-378efeb4 { width: 35px; height: 35px; font-size: 28px; } .tabbar .type .text.data-v-378efeb4 { width: 100%; text-align: center; margin-top: 5px; display: flex; justify-content: center; } .tabbar .type .text icon.data-v-378efeb4 { font-size: 14px; } .list.data-v-378efeb4 { width: 100%; padding-bottom: 50px; } .list .listbox.data-v-378efeb4 { width: calc(100% - 20px); padding: 10px; border-radius: 10px; background-color: #fff; margin-top: 15px; } .list .left.data-v-378efeb4 { width: 100%; margin-bottom: 10px; display: flex; align-items: center; } .list .left .title.data-v-378efeb4 { font-size: 16px; font-weight: bold; } .list .left text.data-v-378efeb4 { font-weight: bold; margin-right: 5px; margin-left: 15px; } .list .right.data-v-378efeb4 { width: 100%; } .list .right .item.data-v-378efeb4 { height: 35px; line-height: 35px; border-bottom: 1px solid #f7f7f7; display: flex; justify-content: space-between; } .list .right .item.data-v-378efeb4 :nth-child(1) { width: 45%; } .list .right .item.data-v-378efeb4 :nth-child(2) { width: 25%; text-align: left; } .list .right .item.data-v-378efeb4 :nth-child(3) { width: 30%; text-align: right; } .nolist.data-v-378efeb4 { font-size: 12px; color: #999; padding: 30px 10px; text-align: center; width: auto; } .nolist icon.data-v-378efeb4 { font-size: 50px; color: #999; display: flex; justify-content: center; margin-bottom: 10px; } .list2.data-v-378efeb4 { margin-top: 45%; } .list2 .btn.data-v-378efeb4 { color: #fff; height: 32px; line-height: 32px; } .addfood.data-v-378efeb4 { 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-378efeb4 { position: absolute; right: 7px; top: -10px; background: #f7f7f7; border-radius: 50%; font-size: 30px; } .addfood .list.data-v-378efeb4 { padding-bottom: 0px; } .addfood .list .item.data-v-378efeb4 { height: 40px; line-height: 40px; border-bottom: none; } .addfood .list .name.data-v-378efeb4 { width: 100%; text-align: center; } .addfood .list :nth-child(2).item.data-v-378efeb4 { border-bottom: 1px solid #dfdfdf; border-top: 1px solid #dfdfdf; }