index.wxss 1.34 KB
.container {
  padding-top: 96rpx;
}

.container .separator {
  height: 20rpx;
  width: 100%;
  background-color: #f2f2f2;
}

.search-bar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 96rpx;
  padding: 13rpx 30rpx 0 30rpx;
  box-sizing: border-box;
  background-color: #3a3a3a;
  z-index: 1;
}

.search-bar .tip {
  position: relative;
  height: 70rpx;
  border-radius: 10rpx;
  background-color: #fff;
}

.search-bar .tip .text {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: 20rpx;
  font-size: 28rpx;
  color: #b0b0b0;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.search-bar .tip .icon {
  position: absolute;
  bottom: 0;
  left: -40rpx;
  height: 30rpx;
  width: 30rpx;
}

.shop-info {
  position: relative;
  height: 234rpx;
  display: flex;
  width: 100%;
}

.shop-info .info-bg {
  width: 100%;
  height: 235rpx;
}

.shop-info .logo {
  position: absolute;
  left: 20rpx;
  bottom: 20rpx;
  width: 100rpx;
  height: 100rpx;
}

.shop-info .name {
  position: absolute;
  left: 140rpx;
  bottom: 20rpx;
  width: 300rpx;
  color: #fff;
  font-size: 28rpx;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.shop-info .fav {
  position: absolute;
  left: 450rpx;
  bottom: 20rpx;
  color: #fff;
  font-size: 22rpx;
}

.shop-info .info-detail {
  position: absolute;
  left: 20rpx;
  bottom: 0;
}