changeScene.wxss 2.99 KB
/* pages/sceneIndex/sceneIndex.wxss */
page {
  background-color: #F7F8FA;
  height: 100vh;
}
.user-box {
  padding: 16px;
  font-size: var(--fontSize28);
  color: #333333;
}

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

.user-avatar {
  width: var(--fontSize96);
  height: var(--fontSize96);
  overflow: hidden;
  border-radius: 100%;
  margin-right: var(--fontSize24);
}

.user-info .right{
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
}

.user-text .item {
  font-size: var(--fontSize36);
  font-weight: 600;
  color: #333333;
}

.user-text .merchant-name{
  font-size: var(--fontSize26);
  font-weight: 400;
  color: #6E6E7A;
}

.scene-box{
  padding: var(--fontSize32);
  overflow: hidden;
  box-sizing: border-box;
}

.scene-box .scene-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  height: var(--fontSize160);
  background: #FFFFFF;
  /* box-shadow: 0 var(--fontSize48) var(--fontSize20) calc(-1 * var(--fontSize40)) #D8D9E6; */
  border-radius: var(--fontSize24);
  padding: var(--fontSize32);
  margin: var(--fontSize24) 0;
  position: relative;
}

.scene-box .scene-item:first-child{
  margin-top: 0;
}

.scene-item .left{
  display: flex;
  align-items: center;
}

.scene-item .left .scene-icon{
  width: var(--fontSize96);
  height: var(--fontSize96);
  border-radius: var(--fontSize8);
  margin-right: var(--fontSize30);
}

.scene-item .left .item-text{
  padding: var(--fontSize16) 0;
}

.scene-item .left .item-text .name{
  color: #333333;
  font-size: var(--fontSize32);
  font-weight: 600;
}

.scene-item .left .item-text .desc{
  color: #9B9B9E;
  font-size: var(--fontSize24);
  font-weight: 400;
  margin-top: var(--fontSize10);
}

.scene-item .right image{
  width: var(--fontSize14);
  height: var(--fontSize24);
}

.scene-item .right .selected-class{
  position: absolute;
  top: 0;
  right: 0;
  width: var(--fontSize128);
  height: var(--fontSize48);
  background: rgba(53, 130, 238, .1);
  border-radius: 0 var(--fontSize24) 0 var(--fontSize24);
  color: #347BFF;
  font-size: var(--fontSize24);
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.change-btn{
  width: var(--fontSize156);
  height: var(--fontSize56);
  border: var(--fontSize2) solid #9B9B9E;
  border-radius: var(--fontSize32);
  line-height: var(--fontSize56);
  text-align: center;
  color: #6C6C70;
  font-size: var(--fontSize26);
  font-weight: 400;
}

.btn-box {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: var(--fontSize140);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
  background-color: #fff;
  font-size: var(--fontSize32);
  color: #fff;
  letter-spacing: var(--fontSize13);
}

.isFullSucreen-btn {
  padding-bottom: 34px !important;
}

.logout {
  width: calc(100% - var(--fontSize80));
  height: var(--fontSize80);
  line-height: var(--fontSize80);
  text-align: center;
  background-color: #347BFF;
  border-radius: var(--fontSize16);
}