IndexMerchant.wxss 4.63 KB
/* components/IndexMerchant/IndexMerchant.wxss */
@import '/sprite.wxss';

.flex {
  display: flex;
  align-items: center;
}

.index-merchant {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 101;
}

.index-merchant .bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .5);
}

.index-merchant .box {
  position: absolute;
  bottom: 8rpx;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 70rpx);
  background-image: linear-gradient(180deg, #FC6239 15%, #FC5B32 100%);
  border-radius: 32rpx;
  z-index: 2;
  transition: all .5s;
}

.index-merchant .center {
  bottom: auto;
  top: 50%;
  transform: translate(-50%, -50%);
}

.index-merchant .box .logo {
  position: absolute;
  top: -288rpx;
  right: 0;
  width: 656rpx;
  height: 512rpx;
  z-index: 2;
}

.index-merchant .box .content-box {
  overflow: hidden;
  position: relative;
}

.index-merchant .box .content-bg {
  width: 682rpx;
  height: 1102rpx;
  position: absolute;
  top: -44rpx;
  left: 20rpx;
}

.index-merchant .box .content-box .close {
  width: 50rpx;
  height: 50rpx;
  position: absolute;
  z-index: 5;
  right: 34rpx;
  top: 0;
}

.index-merchant .box .content {
  position: relative;
  z-index: 2;
  padding-top: 118rpx;
  box-sizing: border-box;
  height: 100%;
}

.index-merchant .box .content .title {
  font-weight: 500;
  font-size: 36rpx;
  color: #8D230F;
  text-align: center;
}
.index-merchant .contorl{
  width: 588rpx; 
  margin: 22rpx auto 0;
}
.index-merchant .search-box {
  flex: 1;
  height: 61rpx;
  background: #FFFFFF;
  border-radius: 36rpx;
  box-sizing: border-box;
  padding-left: 22rpx;
  font-size: 28rpx;
}

.input-placeholder {
  color: #C8C9CC;
}

.input {
  margin-left: 4rpx;
  width: calc(100% - 84rpx);
  font-size: 24rpx;
}

.btn {
  font-size: 28rpx;
  color: #666666;
  margin-left: 40rpx;
  flex-shrink: 0;
}

.input-box {
  width: 100%;
  height: 100%;
}

.clear-box {
  width: 58rpx;
  height: 100%;
  justify-content: center;
}

.dropdown-box {
  width: calc(100% - 80rpx);
  height: 82rpx;
  margin: 0 auto;
  font-size: 28rpx;
  color: #666666;
}

.dropdown-box .dropdown-item:first-child {
  margin-right: 24rpx;
}

.dropdown-box .label {
  margin-right: 12rpx;
}

.dropdown-box .value {
  height: 44rpx;
  background: #FDCCBF;
  border-radius: 4rpx;
  font-weight: 500;
  color: #8D230F;
  padding: 0 8rpx;
  box-sizing: border-box;
  min-width: 92rpx;
  max-width: 204rpx;
  font-size: 22rpx;
}

.dropdown-box .value .icon {
  width: 12rpx;
  height: 8rpx;
  margin-left: 8rpx;
}

.dropdown-box .all {
  width: 124rpx;
  height: 44rpx;
  border-radius: 22rpx;
  border: 2rpx solid #FC633C;
  font-weight: 500;
  font-size: 24rpx;
  color: #FC623A;
  justify-content: center;
  margin-left: auto;
}

.content .list-box {
  width: calc(100% - 40rpx);
  margin: 0 auto;
  padding-bottom: 20rpx;
}

.bottom {
  height: 72rpx;
  background-color: #FC5B32;
  border-radius: 0px 0px 16rpx 16rpx;
}

.content .list {
  height: 600rpx;
}

.content .list .item {
  position: relative;
  min-height: 182rpx;
  background: #FFFFFF;
  border-radius: 16rpx;
  margin: 0 20rpx 20rpx;
  box-sizing: border-box;
  padding: 16rpx 20rpx;
  font-size: 28rpx;
}

.content .list .item .current {
  position: absolute;
  right: 0;
  top: 0;
  width: 64rpx;
  height: 40rpx;
  background: #FC623A;
  border-radius: 0px 16rpx 0px 16rpx;
  justify-content: center;
}

.content .list .item .current .icon {
  width: 32rpx;
  height: 32rpx;
}

.content .list .item .name {
  font-weight: 500;
  color: #333333;
}

.content .list .item .address {
  font-size: 22rpx;
  color: #ADADAD;
}

.list .item .brand {
  position: absolute;
  left: 20rpx;
  bottom: 16rpx;
  font-size: 24rpx;
  color: #666666;
}

.list .item .brand .flex {
  margin-right: 4rpx;
}

.list .item .brand .icon {
  width: 34rpx;
  height: 34rpx;
  margin-right: 4rpx;
}

.list .item .phone {
  position: absolute;
  right: 18rpx;
  bottom: 16rpx;
  font-size: 24rpx;
  color: #666666;
}

.list .item .phone .icon {
  width: 34rpx;
  height: 34rpx;
}

.list .item .distance {
  position: absolute;
  right: 20rpx;
  bottom: 58rpx;
  padding: 0 8rpx;
  height: 32rpx;
  background: #EEEEEE;
  border-radius: 20rpx;
  color: #999999;
  font-size: 16rpx;

}

.list .item .distance .icon {
  width: 16rpx;
  height: 16rpx;
  margin-right: 4rpx;
}

.list-nothing {
  text-align: center;
  color: #8D230F;
}

.nothing {
  width: 550rpx;
  height: 466rpx;
  background: #FFFFFF;
  border-radius: 16rpx;
  margin: 0 auto;
  flex-direction: column;
  font-size: 24rpx;
  color: #666666;
  padding-top: 60rpx;
}

.nothing .icon {
  width: 282rpx;
  height: 272rpx;
  margin-bottom: 20rpx;
}