index.wxss 5.2 KB
@charset "UTF-8";
/**
 * 这里是uni-app内置的常用样式变量
 *
 * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
 *
 */
/**
 * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
 *
 * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
 */
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
page {
  background: white;
}
.topBox {
  position: fixed;
  top: 0;
  z-index: 999999;
}
.top {
  width: 100%;
  height: 176rpx;
}
.topText {
  margin-top: -80rpx;
  font-size: 40rpx;
  font-weight: 700;
  color: white;
}
.topText {
  margin-left: 32rpx;
  letter-spacing: 6rpx;
}
.bgphoto {
  position: absolute;
  top: 172rpx;
  z-index: -1;
}
.bgphoto ._img {
  width: 750rpx;
  height: 230rpx;
  margin-top: 5rpx;
}
.search {
  margin: 188rpx 24rpx 0 24rpx;
}
.search .searchBox {
  display: flex;
  align-items: center;
  width: 702rpx;
  height: 64rpx;
  border-radius: 38rpx;
  background: rgba(72, 11, 11, 0.16);
}
.search .searchBox ._img {
  width: 32rpx;
  height: 32rpx;
  margin-left: 24rpx;
  margin-top: 10rpx;
}
.search .searchBox .searchText {
  margin-left: 8rpx;
  color: rgba(255, 255, 255, 0.85);
  font-size: 26rpx;
}
.mainBox {
  width: 702rpx;
  margin: 16rpx auto 0;
}
.category {
  display: flex;
  margin: 32rpx 8rpx 40rpx;
}
.category .categoryImg {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: rgba(0, 0, 0, 0.9);
  font-size: 24rpx;
}
.category .categoryImg ._img {
  width: 96rpx;
  height: 96rpx;
}
.categoryImg2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;
  font-size: 24rpx;
  color: rgba(0, 0, 0, 0.9);
}
.categoryImg2 ._img {
  width: 96rpx;
  height: 96rpx;
}
.today {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16rpx;
}
.today .left {
  font-size: 36rpx;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.9);
}
.today .right {
  display: flex;
  font-size: 24rpx;
  color: rgba(0, 0, 0, 0.9);
}
.today .right image {
  width: 16rpx;
  height: 32rpx;
}
.scrollBox {
  margin-top: 16rpx;
  margin-bottom: 64rpx;
}
.scrollBox1 {
  width: 100%;
  white-space: nowrap;
}
.scrollBox1 .text1 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  white-space: normal !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 64rpx;
  width: 194rpx;
  font-size: 24rpx;
  font-weight: 700;
}
.scrollBox1 .text2 {
  font-size: 20rpx;
  color: rgba(0, 0, 0, 0.4);
}
.scrollBox2 {
  display: inline-block;
  margin-right: 16rpx;
}
.scrollBox2 image {
  width: 194rpx;
  height: 260rpx;
  border-radius: 12rpx;
}
.todProgram {
  display: flex;
  position: relative;
  margin-bottom: 40rpx;
}
.todProgram .left {
  margin-right: 16rpx;
}
.todProgram .left image {
  width: 196rpx;
  height: 270rpx;
  border-radius: 12rpx;
}
.todProgram .drama {
  position: absolute;
  top: 8rpx;
  left: 8rpx;
  padding: 0 4rpx;
  box-sizing: border-box;
  font-size: 20rpx;
  border-radius: 6rpx;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}
.todProgram .right {
  display: flex;
  flex-direction: column;
  height: 270rpx;
}
.todProgram .right .nameText {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  width: 490rpx;
  margin-bottom: 12rpx;
  font-size: 32rpx;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.9);
}
.todProgram .right .timeText {
  margin-bottom: 12rpx;
  font-size: 24rpx;
  color: rgba(0, 0, 0, 0.4);
}
.todProgram .right .addressText {
  font-size: 24rpx;
  margin-bottom: 94rpx;
  color: rgba(0, 0, 0, 0.4);
}
.todProgram .right .priceText {
  font-size: 22rpx;
  font-weight: 700;
  color: #f42758;
}
.todProgram .right .priceText .symbol {
  font-size: 32rpx;
}
.todProgram .right .priceText .gray {
  font-size: 22rpx;
  color: rgba(0, 0, 0, 0.4);
}
.topTitle {
  width: 100%;
  height: 176rpx;
}
.bg {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 176rpx;
}
.u-navbar__content__left {
  width: 100% !important;
}
.indicator {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.indicator__dot {
  height: 6px;
  width: 6px;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, 0.35);
  margin: 0 5px;
  transition: background-color 0.3s;
}
.indicator__dot--active {
  background-color: #ffffff;
}
.indicator-num {
  padding: 2px 0;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 100px;
  width: 35px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.indicator-num__text {
  color: #FFFFFF;
  font-size: 12px;
}