xy-customhead.wxss 5.09 KB
@charset "UTF-8";
/**
 * 这里是uni-app内置的常用样式变量
 *
 * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
 *
 */
/**
 * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
 *
 * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
 */
/* 颜色变量 */
/* 主要颜色 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.uni-head {
  width: 100%;
  font-size: 18px;
  line-height: 18px;
  text-align: center;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 999;
}
.uni-head.red {
  background: linear-gradient(to right, #ff557f, #e3390e);
}
.uni-head.yellow {
  background: linear-gradient(to right, #ffbe3a, #ff763a);
}
.uni-head.blue {
  background: linear-gradient(to right, #55d5fc, #3f8cfe);
}
.uni-head.green {
  background: #fff;
}
.mode {
  float: left;
  width: 100%;
  position: relative;
}
.mode .deNav {
  text-align: center;
  position: absolute;
  z-index: 3;
  font-size: 16px;
  padding: 0 3.3333%;
  box-sizing: border-box;
}
.mode .searchNav {
  position: relative;
  width: 100%;
  z-index: 999;
  font-size: 16px;
  box-sizing: border-box;
  text-align: left;
}
.mode .searchNav text {
  width: auto;
  padding-right: 3.3333%;
  height: 100%;
  float: left;
  display: inline-block;
}
.mode .searchNav input {
  width: 78%;
  height: 35px;
  background: #fff;
  border-radius: 35px;
  vertical-align: middle;
  display: inline-block;
  padding: 0 15px;
  font-size: 32rpx;
  box-sizing: border-box;
  color: #737373;
  display: block;
  float: left;
  margin-top: 10px;
  margin-left: 3.3333%;
  outline: none;
}
.searchip {
  width: 64%;
  height: 35px;
  line-height: 35px;
  background: #fff;
  border-radius: 35px;
  display: block;
  float: left;
  padding: 0 15px;
  margin-top: 10px;
  font-size: 32rpx;
  box-sizing: border-box;
}
.searchBox {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  transition: all 0.4s;
  display: flex;
  align-items: center;
}
.searchCon {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #FFFFFF;
  transition: all 0.4s;
}
.qxsearch {
  float: left;
  display: block;
  width: 22%;
  height: 55px;
  line-height: 55px;
  text-align: center;
  font-size: 16px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  font-weight: bold;
}
.qxsearch .rbtn {
  width: 24px;
  height: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -12px;
  margin-top: -10px;
  border-top: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
}
.qxsearch .rbtn::after {
  content: "";
  width: 24px;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -1px;
  background: #fff;
}
.fhico {
  width: 20rpx;
  height: 100%;
  float: left;
  margin-right: 10px;
  position: relative;
}
.fhico::after {
  content: "";
  width: 20rpx;
  height: 20rpx;
  position: absolute;
  top: 50%;
  margin-top: -12rpx;
  left: 3px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.mpfh {
  padding: 0 3.3333%;
}
.mpfh::after {
  left: 50%;
}
.searchHistoryTlt {
  width: 100%;
  padding: 0 3.3333%;
  box-sizing: border-box;
  height: 55px;
  line-height: 55px;
  font-size: 16px;
  color: #434343;
  float: left;
}
.searchHistoryTlt text {
  float: right;
  color: #00aaff;
  display: block;
}
.searchHistoryItem,
.searchHistoryItems {
  width: 100%;
  padding: 0 3.3333%;
  box-sizing: border-box;
  float: left;
}
.searchHistoryItem view {
  font-size: 16px;
  padding: 3px 10px;
  background: #f5f5f5;
  display: inline-block;
  border-radius: 50px;
  margin-right: 15px;
  margin-bottom: 15px;
  color: #7c7c7c;
}
.searchHistoryItems view {
  float: left;
  width: 100%;
  box-sizing: border-box;
  padding-right: 10px;
  padding-bottom: 5px;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  color: #666;
}
.searchHistoryItems view text {
  display: block;
  float: left;
  width: 20px;
  margin-right: 5px;
  padding-left: 5px;
  box-sizing: border-box;
}
.logo image {
  width: 80rpx;
  height: 80rpx;
  margin-left: 20rpx;
  margin-top: 45rpx;
  margin-top: 20rpx;
}
.online {
  display: flex;
  align-items: center;
  width: 50%;
  font-size: 30rpx;
}
.online-yuan {
  width: 20rpx;
  height: 20rpx;
  border-radius: 100rpx;
  background-color: #577EFF;
  display: inline-block;
  margin-right: 10rpx;
  margin-left: 10rpx;
}
.online-num {
  color: #577EFF;
  font-weight: bold;
}