You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
huazhiyu/unpackage/dist/dev/mp-weixin/pages/search/search.wxss

180 lines
4.2 KiB

1 year ago
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 主要颜色 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.page.data-v-4cedc0c6 {
position: absolute;
width: 100%;
height: 100%;
background: #FFFFFF;
overflow-x: hidden;
overflow-y: auto;
}
/* 搜索 */
.search-head.data-v-4cedc0c6 {
position: fixed;
left: 0;
top: 0;
display: flex;
align-items: center;
width: 100%;
height: 100rpx;
z-index: 10;
height: calc(240rpx + 25px);
padding-top: calc(80rpx + 25px);
background-color: #ffffff;
border-bottom: 2rpx solid #f6f6f6;
}
.search-head .back.data-v-4cedc0c6 {
display: flex;
justify-content: center;
align-items: center;
width: 10%;
height: 100%;
}
.search-head .back text.data-v-4cedc0c6 {
width: 20rpx;
height: 20rpx;
border-left: 2rpx solid #555555;
border-bottom: 2rpx solid #555555;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.search-head .search.data-v-4cedc0c6 {
display: flex;
align-items: center;
width: 76%;
height: 60rpx;
background-color: #f6f6f6;
border-radius: 60rpx;
padding: 0 4%;
}
.search-head .search text.data-v-4cedc0c6 {
font-size: 34rpx;
color: #c0c0c0;
}
.search-head .search input.data-v-4cedc0c6 {
width: 90%;
height: 100%;
font-size: 26rpx;
color: #212121;
margin-left: 10rpx;
}
.search-head .btn.data-v-4cedc0c6 {
display: flex;
align-items: center;
justify-content: center;
width: 10%;
height: 100%;
}
.search-head .btn text.data-v-4cedc0c6 {
font-size: 28rpx;
color: #555555;
}
/* 搜索记录 */
.search-record.data-v-4cedc0c6 {
padding: 0 4%;
margin-top: 100rpx;
margin-top: calc(240rpx + 25px);
background-color: #FFFFFF;
border-bottom: 2rpx solid #f6f6f6;
}
.search-record .search-title.data-v-4cedc0c6 {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 80rpx;
}
.search-record .search-title .title.data-v-4cedc0c6 {
font-size: 28rpx;
color: #212121;
}
.search-record .search-title .iconfont.data-v-4cedc0c6 {
font-size: 38rpx;
}
.search-record .record-list.data-v-4cedc0c6 {
display: flex;
flex-wrap: wrap;
width: 100%;
}
.search-record .record-list .list.data-v-4cedc0c6 {
padding: 10rpx 20rpx;
margin-right: 20rpx;
margin-bottom: 20rpx;
background-color: #f6f6f6;
border-radius: 60rpx;
}
.search-record .record-list .list text.data-v-4cedc0c6 {
color: #555555;
font-size: 24rpx;
}
.search-found.data-v-4cedc0c6 {
padding: 0 4%;
background-color: #FFFFFF;
}
.search-found .search-title.data-v-4cedc0c6 {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 80rpx;
}
.search-found .search-title .title.data-v-4cedc0c6 {
font-size: 28rpx;
color: #212121;
}
.search-found .search-title .iconfont.data-v-4cedc0c6 {
font-size: 38rpx;
}
.search-found .found-list.data-v-4cedc0c6 {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.search-found .found-list .list.data-v-4cedc0c6 {
display: flex;
align-items: center;
width: 48%;
height: 80rpx;
}
.search-found .found-list .list text.data-v-4cedc0c6 {
color: #555555;
font-size: 26rpx;
}
.search-found .found-list .list .searchItem .num.data-v-4cedc0c6 {
background: #236030;
color: #f5f5f5;
display: inline-block;
border-radius: 2px;
height: 14px;
width: 14px;
margin-right: 4px;
line-height: 14px;
text-align: center;
}