管灌系统农户端微信小程序(嘉峪关应用)
zuoxiao
2024-07-05 d796875e4dee22341c48469973d03e1015db61e8
pages/home/home.wxss
@@ -1,6 +1,6 @@
/* pages/home/home.wxss */
.base-wrapper {
  background-color: #f5f5f5;
  background-color: #ececec;
  width: 100%;
  height: 100vh;
  overflow: hidden;
@@ -76,6 +76,7 @@
.head-text-wrapper text {
  color: #fff;
  font-size: 32rpx;
}
.balance-label {
@@ -148,14 +149,14 @@
.list-item {
  background-color: #fff;
  margin-top: 2rpx;
  margin-bottom: 2rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 30rpx;
  padding-right: 30rpx;
  padding-top: 20rpx;
  padding-bottom: 20rpx;
  padding-top: 30rpx;
  padding-bottom: 30rpx;
  margin-left: 20rpx;
  margin-right: 20rpx;
}
@@ -213,10 +214,10 @@
  /* 去掉按钮边框 */
  border-radius: 5px;
  /* 按钮圆角 */
  padding-left: 20rpx;
  padding-right: 20rpx;
  padding-top: 10rpx;
  padding-bottom: 10rpx;
  padding-left: 25rpx;
  padding-right: 25rpx;
  padding-top: 15rpx;
  padding-bottom: 15rpx;
}
.refresh-view {
@@ -245,14 +246,19 @@
}
@keyframes blink {
  0%, 80%, 100% {
  0%,
  80%,
  100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}
.switch{
.switch {
  --td-switch-checked-color: #1890FF;
}
@@ -261,9 +267,12 @@
  display: flex;
  align-items: center;
}
.item-left text{
.item-left text {
  font-size: 40rpx;
  min-width: 150rpx;
}
.item-img {
  width: 40rpx;
  /* 根据需要调整图标大小 */
@@ -271,7 +280,54 @@
  /* 根据需要调整图标大小 */
  margin-left: 20rpx;
}
.t-dialog{
  --td-dialog-content-font-size:40rpx;
  --td-dialog-content-line-height:50rpx
.dialog {
  --td-dialog-content-font-size: 40rpx;
  --td-dialog-content-line-height: 50rpx
}
.noMore-View-home {
  display: flex;
  flex-direction: column;
  /* 确保子元素纵向排列 */
  justify-content: center;
  /* 垂直居中 */
  align-items: center;
  /* 水平居中 */
  height: 100%;
  /* 让容器高度占满父元素 */
}
.item-button {
  display: flex;
  height: 80rpx;
  padding: 0 60rpx;
  background-color: #1890FF;
  color: white;
  border: none;
  border-radius: 20rpx;
  font-size: 30rpx;
  align-items: center;
  justify-content: center;
}
.divider {
  width: 100%;
  margin-top: 2rpx;
  /* background-color: #e0e0e0; */
}
.error-dialog{
  --td-dialog-title-color:red;
  --td-dialog-title-font-size:40rpx;
}
.scen-code{
  width: 40rpx;
  height: 40rpx;
  position: absolute; /* 添加这行 */
  top: 15rpx; /* 根据需要调整距离顶部的距离 */
  right: 30rpx; /* 根据需要调整距离右侧的距离 */
}