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

225 lines
5.2 KiB
Plaintext
Raw Normal View History

2025-07-28 16:57:16 +08:00
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.content.data-v-4cedc0c6 {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow-y: auto;
box-sizing: border-box;
background: #fff;
-webkit-overflow-scrolling: touch;
}
.content .search.data-v-4cedc0c6 {
2025-11-08 16:50:26 +08:00
width: 100%;
position: relative;
padding-bottom: 35px;
2025-11-25 14:21:22 +08:00
padding-top: 20rpx;
2025-11-08 16:50:26 +08:00
background-color: #3CB383;
2025-07-28 16:57:16 +08:00
}
2025-11-08 16:50:26 +08:00
.content .search input.data-v-4cedc0c6 {
2025-11-25 14:21:22 +08:00
width: calc(100% - 80rpx);
2025-11-08 16:50:26 +08:00
background: #fff;
height: 39px;
line-height: 38px;
2025-11-25 14:21:22 +08:00
border-radius: 20rpx;
padding: 0 20rpx;
margin: 0 20rpx;
2025-11-08 16:50:26 +08:00
}
.content .search .input.data-v-4cedc0c6:hover {
2025-07-28 16:57:16 +08:00
box-shadow: 0 1rpx 20rpx #ccc;
}
2025-11-08 16:50:26 +08:00
.content .search image.data-v-4cedc0c6 {
2025-11-25 14:21:22 +08:00
width: 50rpx;
height: 50rpx;
2025-11-08 16:50:26 +08:00
position: absolute;
2025-11-25 14:21:22 +08:00
right: 40rpx;
2025-11-08 16:50:26 +08:00
top: 18px;
z-index: 99;
2025-07-28 16:57:16 +08:00
}
2025-11-08 16:50:26 +08:00
.content .content-box.data-v-4cedc0c6 {
background: #fff;
2025-11-25 14:21:22 +08:00
border-radius: 20rpx 20rpx 0 0;
2025-11-08 16:50:26 +08:00
position: relative;
z-index: 99;
2025-07-28 16:57:16 +08:00
width: 100%;
2025-11-08 16:50:26 +08:00
padding-top: -13px;
2025-11-25 14:21:22 +08:00
margin: -40rpx 0 70px;
2025-07-28 16:57:16 +08:00
}
2025-11-08 16:50:26 +08:00
.content .search-history.data-v-4cedc0c6 {
width: 100%;
height: auto;
overflow: hidden;
2025-07-28 16:57:16 +08:00
}
2025-11-08 16:50:26 +08:00
.content .search-history uni-icons.data-v-4cedc0c6 {
color: #333333;
2025-11-25 14:21:22 +08:00
font-size: 60rpx;
2025-11-08 16:50:26 +08:00
position: absolute;
top: 13px;
2025-11-25 14:21:22 +08:00
right: 30rpx;
2025-07-28 16:57:16 +08:00
}
2025-11-08 16:50:26 +08:00
.content .history-list.data-v-4cedc0c6 {
2025-11-25 14:21:22 +08:00
width: calc(100% - 40rpx);
margin: 20rpx 20rpx 0;
2025-11-08 16:50:26 +08:00
height: auto;
2025-07-28 16:57:16 +08:00
display: flex;
flex-wrap: wrap;
}
2025-11-08 16:50:26 +08:00
.content .history-list .history-list-item.data-v-4cedc0c6 {
border: 1px solid #dfdfdf;
2025-11-25 14:21:22 +08:00
padding: 3px 24rpx;
border-radius: 20rpx;
margin-bottom: 20rpx;
margin-right: 20rpx;
2025-07-28 16:57:16 +08:00
}
2025-11-08 16:50:26 +08:00
.content .title.data-v-4cedc0c6 {
width: 90%;
2025-07-28 16:57:16 +08:00
font-size: 30rpx;
2025-11-08 16:50:26 +08:00
font-weight: bold;
color: #000;
2025-11-25 14:21:22 +08:00
margin-top: 30rpx;
margin-left: 30rpx;
2025-11-08 16:50:26 +08:00
display: flex;
align-items: center;
2025-07-28 16:57:16 +08:00
}
.content .popular-container.data-v-4cedc0c6 {
width: 100%;
}
.content .popular-container .popular-food-item.data-v-4cedc0c6 {
display: flex;
flex-direction: column;
align-items: center;
2025-11-08 16:50:26 +08:00
margin: 20rpx;
padding: 20rpx;
2025-07-28 16:57:16 +08:00
box-sizing: border-box;
border-radius: 20rpx;
2025-11-08 16:50:26 +08:00
background: linear-gradient(#EDFFF4, #ffffff 80%);
2025-07-28 16:57:16 +08:00
}
.content .popular-container .popular-food-item .food-title.data-v-4cedc0c6 {
font-size: 34rpx;
font-weight: 700;
}
.content .popular-container .popular-food-item .popular-food-inner.data-v-4cedc0c6 {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
width: 100%;
2025-11-08 16:50:26 +08:00
margin-top: 20rpx;
2025-07-28 16:57:16 +08:00
}
.content .popular-container .popular-food-item .popular-food-inner .popular-food-subitem.data-v-4cedc0c6 {
display: flex;
align-items: center;
margin-bottom: 20rpx;
2025-11-08 16:50:26 +08:00
padding: 10rpx 20rpx;
2025-07-28 16:57:16 +08:00
background-color: #fff;
margin-right: 20rpx;
border-radius: 20rpx;
2025-11-08 16:50:26 +08:00
border: 1px solid #f7f7f7;
2025-07-28 16:57:16 +08:00
}
2025-11-08 16:50:26 +08:00
.content .search_list.data-v-4cedc0c6 {
display: flex;
2025-11-25 14:21:22 +08:00
padding: 20rpx;
2025-11-08 16:50:26 +08:00
flex-wrap: wrap;
margin-bottom: 90px;
2025-11-25 14:21:22 +08:00
margin-top: 30rpx;
2025-11-08 16:50:26 +08:00
justify-content: space-between;
}
.content .search_list .search_list_item.data-v-4cedc0c6 {
width: 30%;
2025-11-25 14:21:22 +08:00
margin-top: 30rpx;
2025-11-08 16:50:26 +08:00
text-align: center;
}
.content .search_list .search_list_item image.data-v-4cedc0c6 {
width: 220rpx;
height: 220rpx;
}
.content .auto-search-dialog.data-v-4cedc0c6 {
display: flex;
justify-content: center;
align-items: center;
2025-07-28 16:57:16 +08:00
position: fixed;
left: 0;
2025-11-08 16:50:26 +08:00
top: 0;
2025-07-28 16:57:16 +08:00
width: 100%;
2025-12-03 15:34:39 +08:00
bottom: 60px;
2025-11-08 16:50:26 +08:00
background-color: rgba(0, 0, 0, 0.5);
z-index: 999;
}
.content .auto-search-dialog .auto-search-inner.data-v-4cedc0c6 {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
position: relative;
2025-12-03 15:34:39 +08:00
width: 50%;
padding: 60rpx 0;
2025-07-28 16:57:16 +08:00
background-color: #fff;
2025-11-08 16:50:26 +08:00
border-radius: 20rpx;
box-shadow: 0 0 20rpx #ccc;
2025-07-28 16:57:16 +08:00
}
2025-11-08 16:50:26 +08:00
.content .footBtn.data-v-4cedc0c6 {
position: fixed;
width: 100%;
bottom: 0;
2025-11-25 14:21:22 +08:00
padding-top: 30rpx;
2025-11-08 16:50:26 +08:00
background: #fff;
display: flex;
2025-11-25 14:21:22 +08:00
z-index: 99;
2025-11-08 16:50:26 +08:00
justify-content: space-around;
}
.content .footBtn view.data-v-4cedc0c6 {
color: #fff;
2025-11-25 14:21:22 +08:00
width: 80%;
padding: 8px 40rpx;
2025-11-08 16:50:26 +08:00
background: #3CB383;
2025-11-25 14:21:22 +08:00
margin-bottom: 30rpx;
2025-11-08 16:50:26 +08:00
display: flex;
align-items: center;
2025-11-25 14:21:22 +08:00
justify-content: center;
border-radius: 20rpx;
2025-07-28 16:57:16 +08:00
}
2025-11-08 16:50:26 +08:00
.button-container.data-v-4cedc0c6 {
position: absolute;
2025-11-25 14:21:22 +08:00
top: 20rpx;
right: 30rpx;
font-size: 40rpx;
2025-11-08 16:50:26 +08:00
}
.button-container image.data-v-4cedc0c6 {
2025-11-25 14:21:22 +08:00
width: 50rpx;
height: 50rpx;
}
.icon-error.data-v-4cedc0c6 {
color: #888484;
position: absolute;
right: 120rpx;
top: 18px;
z-index: 999;
font-size: 24px;
2025-07-28 16:57:16 +08:00
}