kitchendDevice/unpackage/dist/dev/mp-weixin/pages/index/index.wxss

421 lines
8.8 KiB
Plaintext
Raw Normal View History

2023-09-08 15:17:21 +08:00
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
2025-11-08 16:50:26 +08:00
.content.data-v-57280228 {
background-color: #fff;
2023-09-08 15:17:21 +08:00
}
2025-11-08 16:50:26 +08:00
.headerbgimg.data-v-57280228 {
position: absolute;
width: 200px;
height: 180px;
top: 0;
right: -15%;
2023-09-08 15:17:21 +08:00
}
2025-11-08 16:50:26 +08:00
.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%;
2023-09-08 15:17:21 +08:00
height: 100%;
}
2025-11-08 16:50:26 +08:00
.box .info.data-v-57280228 {
color: #fff;
position: absolute;
left: 170rpx;
right: 30rpx;
z-index: 999;
}
.box .info .name.data-v-57280228 {
width: 100%;
2023-09-08 15:17:21 +08:00
display: flex;
2025-11-08 16:50:26 +08:00
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;
2023-09-08 15:17:21 +08:00
border-radius: 5px;
2025-11-08 16:50:26 +08:00
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;
2023-09-08 15:17:21 +08:00
}
2025-11-08 16:50:26 +08:00
.jishiqi .left .center.data-v-57280228 {
text-align: center;
width: 280rpx;
height: 280rpx;
2023-09-08 15:17:21 +08:00
display: flex;
flex-wrap: wrap;
2025-11-08 16:50:26 +08:00
flex-direction: column;
align-items: center;
2023-09-08 15:17:21 +08:00
justify-content: center;
2025-11-08 16:50:26 +08:00
background: #fff;
border-radius: 50%;
2023-09-08 15:17:21 +08:00
}
2025-11-08 16:50:26 +08:00
.jishiqi .left .center .number.data-v-57280228 {
width: 100%;
text-align: center;
display: inline-block;
font-size: 48rpx;
font-weight: bold;
2023-09-08 15:17:21 +08:00
}
2025-11-08 16:50:26 +08:00
.jishiqi .left .center view.data-v-57280228 {
width: 100%;
height: 50rpx;
line-height: 50rpx;
2023-09-08 15:17:21 +08:00
text-align: center;
}
2025-11-08 16:50:26 +08:00
.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 {
2023-09-08 15:17:21 +08:00
width: 100%;
2025-11-08 16:50:26 +08:00
display: flex;
justify-content: space-between;
margin-top: 40rpx;
}
.jishiqi .right .detail.data-v-57280228 {
2023-09-08 15:17:21 +08:00
text-align: center;
2025-11-08 16:50:26 +08:00
justify-content: center;
color: #fff;
background: #F7931E;
border-radius: 20rpx;
padding: 6rpx 0;
2023-09-08 15:17:21 +08:00
}
2025-11-08 16:50:26 +08:00
.tools.data-v-57280228 {
margin: 30rpx 30rpx 0;
2023-09-08 15:17:21 +08:00
display: flex;
2025-11-08 16:50:26 +08:00
flex-wrap: wrap;
width: calc(100% - 60rpx);
2025-03-25 10:17:30 +08:00
justify-content: space-between;
}
2025-11-08 16:50:26 +08:00
.tools .tools-item.data-v-57280228 {
width: 42%;
background: #fff;
position: relative;
padding: 20rpx;
height: 96px;
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;
2025-03-25 10:17:30 +08:00
width: 100%;
2025-11-08 16:50:26 +08:00
top: 10px;
2025-03-25 10:17:30 +08:00
}
2025-11-08 16:50:26 +08:00
.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: 30rpx;
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;
2025-03-25 10:17:30 +08:00
}
2025-11-08 16:50:26 +08:00
.addfood .list .item.data-v-57280228 {
height: 40px;
line-height: 40px;
border-bottom: none;
}
.addfood .list .name.data-v-57280228 {
2025-03-25 10:17:30 +08:00
width: 100%;
text-align: center;
2023-09-08 15:17:21 +08:00
}
2025-11-08 16:50:26 +08:00
.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;
2023-09-08 15:17:21 +08:00
font-size: 16px;
2025-11-08 16:50:26 +08:00
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;
2023-09-08 15:17:21 +08:00
font-weight: bold;
}
2025-11-08 16:50:26 +08:00
.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;
2023-09-08 15:17:21 +08:00
}
2025-11-08 16:50:26 +08:00
.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;
2023-09-08 15:17:21 +08:00
}
2025-11-08 16:50:26 +08:00
.f_banner.data-v-57280228 swiper {
height: 450rpx;
}
.f_banner image.data-v-57280228 {
width: 100%;
height: 100%;
background-size: 100%;
position: relative;
2023-09-08 15:17:21 +08:00
}