devices.wxss 2.38 KB
/* smartcar/pages/devices/devices.wxss */

.layout {
  padding: 20rpx 40rpx 120rpx;
}

.title {
  font-size: 24rpx;
  color: #505a67;
}

.list {
  background: #fff;
  border-radius: 8rpx;
  margin-top: 20rpx;
  height: 280rpx;
  width: 100%;
  position: relative;
}
.list::after{
  content: '';
  width: 95%;
  position: absolute;
  left: 2.5%;
  bottom: 0;
  box-shadow: 0 2rpx 10rpx 2rpx rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.top {
  position: relative;
  height: 200rpx;
  width: calc(100% - 40rpx);
  box-sizing: border-box;
  padding: 32rpx 0 34rpx 0;
  border-bottom: 2rpx solid #e9e9e9;
  margin-left: 40rpx;
}

.top image {
  width: 128rpx;
  height: 128rpx;
}

.devices-box {
  margin-left: 28rpx;
  font-size: 28rpx;
  color: #999;
}

.devices-name {
  font-weight: bold;
  color: #505a67;
  margin-bottom: 10rpx;
}

.devices-name text {
  display: inline-block;
  background: #cbcbcb;
  border-radius: 4rpx;
  font-size: 20rpx;
  color: #fff;
  padding-top: 2rpx;
  width: 96rpx;
  text-align: center;
  margin-left: 12rpx;
  transform: translateY(-2rpx);
}

.state .devices-name text {
  background-image: linear-gradient(135deg, #75d7fe 0%, #1174f9 100%);
}

.radio {
  position: absolute;
  width: 40rpx;
  height: 40rpx;
  top: 50%;
  right: 60rpx;
  transform: translateY(-50%);
}

.radio image {
  width: 100%;
  height: 100%;
}

.bottom {
  height: 80rpx;
  width: 100%;
  line-height: 80rpx;
  position: relative;
  z-index: 99;
  background: #fff;
  display: flex;
}

.bottom view {
  position: relative;
  flex:1;
  text-align: center;
  font-size: 28rpx;
  color: #333;
}
.bottom .blue{
  color: #1A92F5;
}
.line::after{
  content: '';
  height: 24rpx;
  width: 2rpx;
  background: #E9E9E9;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.fixed {
  position: fixed;
  height: 100rpx;
  left: 0;
  bottom: 0;
  text-align: center;
  width: 100%;
  line-height: 100rpx;
  font-size: 28rpx;
  color: #1A92F5;
  background-color: #fff;
  z-index: 999;
}
.btn{
  background-image: linear-gradient(129deg, #13AFFF 0%, #2F88FF 100%);
  border-radius: 8rpx;
  width: 89.3%;
  height: 94rpx;
  line-height: 94rpx;
  position: fixed;
  left: 50%;
  bottom: 40rpx;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  font-size: 28rpx;
}