| | |
| | | .container { |
| | | padding: 5rpx 20rpx; |
| | | padding: 0; |
| | | background-color: #fff; |
| | | width: 100%; |
| | | height: 100vh; |
| | |
| | | z-index: 0; |
| | | display: flex; |
| | | flex-direction: column; |
| | | padding-bottom: 20rpx; /* 增加底部填充 */ |
| | | padding: 20rpx; |
| | | background-color: #f5f5f5; |
| | | box-sizing: border-box; |
| | | /* 隐藏滚动条 */ |
| | | -webkit-overflow-scrolling: touch; |
| | | scrollbar-width: none; |
| | | -ms-overflow-style: none; |
| | | } |
| | | |
| | | .list-container::-webkit-scrollbar { |
| | | display: none; |
| | | width: 0; |
| | | height: 0; |
| | | color: transparent; |
| | | background: transparent; |
| | | } |
| | | |
| | | /* 为微信小程序添加特定样式 */ |
| | | .list-container { |
| | | -webkit-overflow-scrolling: touch; |
| | | scrollbar-width: none; |
| | | -ms-overflow-style: none; |
| | | overflow: -moz-scrollbars-none; |
| | | } |
| | | |
| | | .item { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | padding: 15px 20rpx; |
| | | border-bottom: 1px solid #eee; |
| | | padding: 30rpx; |
| | | margin: 0 20rpx 20rpx 10rpx; |
| | | background-color: #ffffff; |
| | | border-radius: 12rpx; |
| | | box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.08); |
| | | transition: all 0.3s ease; |
| | | box-sizing: border-box; |
| | | width: calc(100% - 20rpx); |
| | | } |
| | | |
| | | .item:active { |
| | | transform: scale(0.98); |
| | | box-shadow: 0 1rpx 5rpx rgba(0, 0, 0, 0.1); |
| | | } |
| | | |
| | | .item-left { |
| | | display: flex; |
| | | align-items: center; |
| | | flex: 1; |
| | | padding-right: 20rpx; |
| | | } |
| | | |
| | | .item-left text{ |
| | | font-size: 40rpx; |
| | | min-width: 150rpx; |
| | | .item-img-left { |
| | | width: 48rpx; |
| | | height: 48rpx; |
| | | margin-right: 20rpx; |
| | | } |
| | | |
| | | .water-intake-name { |
| | | font-size: 36rpx !important; |
| | | color: #333; |
| | | font-weight: 500; |
| | | } |
| | | |
| | | .item-img { |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | margin-left: 20rpx; |
| | | width: 32rpx; |
| | | height: 32rpx; |
| | | margin-left: 16rpx; |
| | | } |
| | | |
| | | .item-button { |
| | | display: flex; |
| | | height: 80rpx; |
| | | padding: 0 60rpx; |
| | | background-color: #1890FF; |
| | | height: 64rpx; |
| | | min-width: 120rpx; |
| | | padding: 0 32rpx; |
| | | background: linear-gradient(135deg, #1890FF, #096DD9); |
| | | color: white; |
| | | border: none; |
| | | border-radius: 20rpx; |
| | | font-size: 30rpx; |
| | | border-radius: 32rpx; |
| | | font-size: 28rpx; |
| | | font-weight: 500; |
| | | align-items: center; |
| | | justify-content: center; |
| | | box-shadow: 0 4rpx 12rpx rgba(24, 144, 255, 0.2); |
| | | transition: all 0.3s ease; |
| | | margin-left: auto; |
| | | } |
| | | |
| | | .item-button:active { |
| | | background-color: #7c7c7c; /* Change to a darker color when pressed */ |
| | | transform: scale(0.95); |
| | | box-shadow: 0 2rpx 6rpx rgba(24, 144, 255, 0.2); |
| | | } |
| | | |
| | | .indicator { |
| | | width: 100%; |
| | | height: 3px; |
| | |
| | | padding-bottom: 10rpx; /* 增加底部填充 */ |
| | | } |
| | | |
| | | |
| | | .error-dialog{ |
| | | --td-dialog-title-color:red; |
| | | --td-dialog-title-font-size:45rpx; |
| | |
| | | .result-item { |
| | | padding: 20rpx; |
| | | border-bottom: 1px solid #eaeaea; |
| | | } |
| | | |
| | | .item-img-left { |
| | | width: 40rpx; |
| | | /* 根据需要调整图标大小 */ |
| | | height: 40rpx; |
| | | /* 根据需要调整图标大小 */ |
| | | |
| | | } |
| | | |
| | | .item-img { |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | margin-left: 20rpx; |
| | | } |
| | | .water-intake-name { |
| | | font-size: 50rpx !important; |
| | | margin-left: 15rpx; |
| | | } |
| | | |
| | | .item-balance-img { |
| | |
| | | color: #FF6A6A; |
| | | font-size: 50rpx; |
| | | margin-left: 5rpx; |
| | | } |
| | | |
| | | .item-button { |
| | | margin-left: auto; |
| | | /* 将按钮固定在右边 */ |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | /* 使按钮内部水平和垂直居中 */ |
| | | background-color: #32CD32; |
| | | color: white; |
| | | padding-left: 40rpx; |
| | | padding-right: 40rpx; |
| | | padding-bottom: 10rpx; |
| | | padding-top: 10rpx; |
| | | border-radius: 30rpx; |
| | | font-size: 35rpx; |
| | | border: none; |
| | | } |
| | | |
| | | .item-button-gray { |
| | |
| | | display: flex; |
| | | align-items: flex-end; |
| | | /* 底部对齐 */ |
| | | } |
| | | |
| | | .list-container { |
| | | display: flex; |
| | | flex-grow: 1; /* 占满剩余高度 */ |
| | | padding-bottom: 30rpx; |
| | | height: 100%; |
| | | flex-direction: column; /* 确保内部元素按列排列 */ |
| | | } |
| | | |
| | | .dialog { |
| | |
| | | font-size: 30rpx; |
| | | } |
| | | |
| | | .item { |
| | | background-color: #1890FF; |
| | | margin-top: 20rpx; |
| | | margin-left: 20rpx; |
| | | margin-right: 20rpx; |
| | | padding: 30rpx; |
| | | border-radius: 30rpx; |
| | | } |
| | | |
| | | .item-gray { |
| | | background-color: #D3D3D3; |
| | | margin-top: 20rpx; |