@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 10px; background-color: #fff; } .content_box.data-v-378efeb4 { width: 100%; } .box.data-v-378efeb4 { width: 100%; } .set.data-v-378efeb4 { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 16px; font-weight: bold; } .set .icon.data-v-378efeb4 { background: #d1f2ed; border-radius: 50%; font-size: 28px; color: #66cccc; text-align: center; padding: 5px; } .kcal2.data-v-378efeb4 { width: calc(100% - 20px); margin-bottom: 15px; background: #fff; border-radius: 10px; padding: 10px; position: relative; margin-top: 15px; background: #f3fffd; box-shadow: 0px 1px 5px 2px #dfe2e1fc; } .kcal2 .left.data-v-378efeb4 { width: 300rpx; height: 300rpx; position: relative; border-radius: 50%; background: #d1f2ed; border: 5px solid #66cccc; display: flex; justify-content: center; align-items: center; } .kcal2 .left .center.data-v-378efeb4 { position: absolute; text-align: center; width: 260rpx; height: 260rpx; display: flex; flex-wrap: wrap; flex-direction: column; align-items: center; justify-content: center; background: #fff; border-radius: 50%; } .kcal2 .left .center text.data-v-378efeb4 { display: inline-block; font-size: 22px; font-weight: bold; margin: 10px 0; } .kcal2 .right.data-v-378efeb4 { position: absolute; left: 50%; bottom: 0; top: 0px; right: 0; display: flex; flex-wrap: wrap; padding: 0 10px; border-radius: 0 10px 10px 0; justify-content: center; flex-direction: column; background: #d1f2ed; } .kcal2 .right .item.data-v-378efeb4 { display: flex; justify-content: space-between; height: 35px; line-height: 35px; } .kcal2 .right .border-bottom.data-v-378efeb4 { border-bottom: 1px solid #dfdfdf; } .tools.data-v-378efeb4 { width: 100%; background: #fff; border-radius: 10px; padding: 10px 0; display: flex; margin-bottom: 15px; justify-content: space-between; box-shadow: 0px 1px 5px 2px #dfe2e1fc; } .tools .type.data-v-378efeb4 { width: 20%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; } .tools .type image.data-v-378efeb4 { width: 45px; height: 45px; } .tools .type .text.data-v-378efeb4 { width: 100%; text-align: center; display: flex; justify-content: center; font-weight: bold; } .tools .type .text icon.data-v-378efeb4 { font-size: 14px; } .tabbar-box.data-v-378efeb4 { background: #f3fffd; border-radius: 10px; box-shadow: 0px 1px 5px 2px #dfe2e1fc; } .tabbar-box .tabbar.data-v-378efeb4 { height: 45px; width: 100%; display: flex; justify-content: space-between; } .tabbar-box .tabbar view.data-v-378efeb4 { width: 50%; line-height: 45px; text-align: center; } .tabbar-box .tabbar .active.data-v-378efeb4 { border-radius: 10px; color: #3CB383; background: #fff; } .list.data-v-378efeb4 { width: 100%; padding-bottom: 50px; } .list .listbox.data-v-378efeb4 { width: calc(100% - 40px); padding: 10px; border-radius: 10px; background-color: #fff; margin: 15px 10px; } .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: 40px; line-height: 40px; border-bottom: 1px solid #f7f7f7; display: flex; justify-content: space-between; align-items: center; } .list .right .item image.data-v-378efeb4 { width: 60rpx; height: 60rpx; border-radius: 12rpx; margin-right: 10rpx; } .list .right .item.data-v-378efeb4 :nth-child(2) { width: 40%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .list .right .item.data-v-378efeb4 :nth-child(3) { width: 20%; text-align: right; } .list .right .item.data-v-378efeb4 :nth-child(4) { width: 26%; margin-right: 6rpx; text-align: right; } .nolist.data-v-378efeb4 { font-size: 12px; color: #999; padding: 30px 10px; text-align: center; width: auto; } .nolist image.data-v-378efeb4 { width: 50px; height: 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; } .foodDetail.data-v-378efeb4 { background-color: #F7F7F7; padding: 20rpx; box-sizing: border-box; } .foodDetail .foodInfo.data-v-378efeb4 { display: flex; width: 100%; padding: 30rpx; border-radius: 20rpx; box-sizing: border-box; background-color: #fff; box-sizing: 0 0 20rpx #f1f1f1; } .foodDetail .foodInfo image.data-v-378efeb4 { width: 90rpx; height: 90rpx; border-radius: 15rpx; } .foodDetail .foodInfo .info.data-v-378efeb4 { display: flex; flex-direction: column; justify-content: center; margin-left: 30rpx; } .foodDetail .foodInfo .info .name.data-v-378efeb4 { font-size: 28rpx; font-weight: 700; margin-bottom: 10rpx; } .foodDetail .foodInfo .info .kcal.data-v-378efeb4 { width: 100% !important; font-size: 24rpx; color: #666; padding: 0 !important; margin: 0 !important; } .foodDetail .foodContent.data-v-378efeb4 { width: 100%; padding: 30rpx; margin-top: 16rpx; box-sizing: border-box; border-radius: 20rpx; box-sizing: border-box; background-color: #fff; box-sizing: 0 0 20rpx #f1f1f1; } .foodDetail .foodContent .title.data-v-378efeb4 { font-size: 28rpx; font-weight: 600; } .foodDetail .foodContent .progress.data-v-378efeb4 { display: flex; align-items: center; } .foodDetail .foodContent .progress .chart-wrap.data-v-378efeb4 { position: relative; width: 250rpx; height: 250rpx; margin-top: -30rpx; } .foodDetail .foodContent .progress .chart-wrap .uchart-kcal.data-v-378efeb4 { position: absolute; left: 60rpx; top: 120rpx; width: 130rpx; font-size: 40rpx; text-align: center; z-index: 9; } .foodDetail .foodContent .progress .info.data-v-378efeb4 { display: flex; flex-direction: column; justify-content: center; font-size: 24rpx; } .foodDetail .foodContent .progress .info .info-item.data-v-378efeb4 { display: flex; align-items: center; margin-top: 20rpx; } .foodDetail .foodContent .progress .info .info-item .color.data-v-378efeb4 { width: 6rpx; height: 20rpx; margin-right: 10rpx; border-radius: 3rpx; } .foodDetail .foodContent .tips.data-v-378efeb4 { display: flex; justify-content: space-between; border-bottom: 1px solid #f1f1f1; padding: 16rpx 0; font-size: 24rpx; margin-top: 10rpx; } .foodDetail .foodContent .foodDetailList.data-v-378efeb4 { margin-top: 10rpx; } .foodDetail .foodContent .foodDetailList .foodDetailItem.data-v-378efeb4 { display: flex; justify-content: space-between; padding: 20rpx 0; box-sizing: border-box; } .foodDetail .foodContent .foodDetailList .foodDetailItem .name.data-v-378efeb4 { font-size: 24rpx; color: #777; } .foodDetail .foodContent .foodDetailList .foodDetailItem .val.data-v-378efeb4 { font-size: 24rpx; font-weight: 700; color: #333; }