| | |
| | | /* pages/home/home.wxss */ |
| | | .base-wrapper { |
| | | background-color: #ececec; |
| | | width: 100%; |
| | | height: 100vh; |
| | | overflow: hidden; |
| | | /* 防止底部区域滚动 */ |
| | | display: flex; |
| | | flex-direction: column; |
| | | background-color: #ececec; |
| | | width: 100%; |
| | | height: 100vh; |
| | | overflow: hidden; |
| | | /* 防止底部区域滚动 */ |
| | | display: flex; |
| | | flex-direction: column; |
| | | } |
| | | |
| | | .head-wrapper { |
| | | background-color: #1890FF; |
| | | height: 25vh; |
| | | width: 100%; |
| | | padding-left: 40rpx; |
| | | display: grid; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | border-bottom-left-radius: 5rpx; |
| | | border-bottom-right-radius: 5rpx; |
| | | z-index: 1; |
| | | border-top: 1px solid #0484fc; |
| | | background-color: #1890FF; |
| | | height: 25vh; |
| | | width: 100%; |
| | | padding-left: 40rpx; |
| | | display: grid; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | border-bottom-left-radius: 5rpx; |
| | | border-bottom-right-radius: 5rpx; |
| | | z-index: 1; |
| | | border-top: 1px solid #0484fc; |
| | | |
| | | } |
| | | |
| | | .head-top { |
| | | display: flex; |
| | | align-items: center; |
| | | /* 在纵向方向上居中对齐 */ |
| | | display: flex; |
| | | align-items: center; |
| | | /* 在纵向方向上居中对齐 */ |
| | | } |
| | | |
| | | |
| | | .head-text-wrapper { |
| | | flex: 1; |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: left; |
| | | justify-content: center; |
| | | margin-left: 15rpx; |
| | | flex: 1; |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: left; |
| | | justify-content: center; |
| | | margin-left: 15rpx; |
| | | } |
| | | |
| | | .head-button-wrapper { |
| | | flex: 1; |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | justify-content: center; |
| | | margin-left: 15rpx; |
| | | flex: 1; |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | justify-content: center; |
| | | margin-left: 15rpx; |
| | | } |
| | | |
| | | |
| | | .head-bottom { |
| | | margin-top: 20rpx; |
| | | color: #fff; |
| | | font-size: 35rpx; |
| | | margin-top: 20rpx; |
| | | color: #fff; |
| | | font-size: 35rpx; |
| | | } |
| | | |
| | | .unbind { |
| | | font-size: 30rpx; |
| | | /* 按钮文字的字体大小 */ |
| | | color: #1890FF; |
| | | /* 按钮文字颜色 */ |
| | | background-color: #fff; |
| | | /* 按钮背景颜色 */ |
| | | border: none; |
| | | /* 去掉按钮边框 */ |
| | | border-radius: 20px; |
| | | /* 按钮圆角 */ |
| | | padding-left: 20rpx; |
| | | padding-right: 20rpx; |
| | | padding-top: 5rpx; |
| | | padding-bottom: 5rpx; |
| | | margin-bottom: 10rpx; |
| | | font-size: 30rpx; |
| | | /* 按钮文字的字体大小 */ |
| | | color: #1890FF; |
| | | /* 按钮文字颜色 */ |
| | | background-color: #fff; |
| | | /* 按钮背景颜色 */ |
| | | border: none; |
| | | /* 去掉按钮边框 */ |
| | | border-radius: 20px; |
| | | /* 按钮圆角 */ |
| | | padding-left: 20rpx; |
| | | padding-right: 20rpx; |
| | | padding-top: 5rpx; |
| | | padding-bottom: 5rpx; |
| | | margin-bottom: 10rpx; |
| | | } |
| | | |
| | | .head-text-wrapper text { |
| | | color: #fff; |
| | | font-size: 32rpx; |
| | | color: #fff; |
| | | font-size: 32rpx; |
| | | } |
| | | |
| | | .balance-label { |
| | | margin-bottom: 40rpx; |
| | | color: #fff; |
| | | font-size: 35rpx; |
| | | margin-bottom: 40rpx; |
| | | color: #fff; |
| | | font-size: 35rpx; |
| | | } |
| | | |
| | | .center-wrapper { |
| | | margin-top: -40rpx; |
| | | margin-right: 20rpx; |
| | | margin-left: 20rpx; |
| | | margin-bottom: 10rpx; |
| | | height: 18vh; |
| | | background-color: #fff; |
| | | border-radius: 5px; |
| | | display: flex; |
| | | padding-top: 20rpx; |
| | | padding-bottom: 20rpx; |
| | | justify-content: space-around; |
| | | z-index: 1; |
| | | /* 使 center-wrapper 在头部之上 */ |
| | | margin-top: -40rpx; |
| | | margin-right: 20rpx; |
| | | margin-left: 20rpx; |
| | | margin-bottom: 10rpx; |
| | | height: 18vh; |
| | | background-color: #fff; |
| | | border-radius: 5px; |
| | | display: flex; |
| | | padding-top: 20rpx; |
| | | padding-bottom: 20rpx; |
| | | justify-content: space-around; |
| | | z-index: 1; |
| | | /* 使 center-wrapper 在头部之上 */ |
| | | } |
| | | |
| | | .center-view { |
| | | flex: 1; |
| | | /* 每个元素平分宽度 */ |
| | | display: flex; |
| | | flex-direction: column; |
| | | /* 在纵向上排列子元素 */ |
| | | align-items: center; |
| | | /* 在纵向上居中显示子元素 */ |
| | | justify-content: center; |
| | | /* 在横向和纵向上都居中显示子元素 */ |
| | | flex: 1; |
| | | /* 每个元素平分宽度 */ |
| | | display: flex; |
| | | flex-direction: column; |
| | | /* 在纵向上排列子元素 */ |
| | | align-items: center; |
| | | /* 在纵向上居中显示子元素 */ |
| | | justify-content: center; |
| | | /* 在横向和纵向上都居中显示子元素 */ |
| | | } |
| | | |
| | | .center-view image, |
| | | .center-view t-avatar { |
| | | width: 90rpx; |
| | | /* 根据需要调整图标大小 */ |
| | | height: 90rpx; |
| | | /* 根据需要调整图标大小 */ |
| | | margin-bottom: 10rpx; |
| | | /* 图标和文本之间的间距 */ |
| | | width: 90rpx; |
| | | /* 根据需要调整图标大小 */ |
| | | height: 90rpx; |
| | | /* 根据需要调整图标大小 */ |
| | | margin-bottom: 10rpx; |
| | | /* 图标和文本之间的间距 */ |
| | | } |
| | | |
| | | .center-view text { |
| | | margin-top: 15rpx; |
| | | font-size: 30rpx; |
| | | color: #1890FF; |
| | | margin-top: 15rpx; |
| | | font-size: 30rpx; |
| | | color: #1890FF; |
| | | } |
| | | |
| | | .bottom-wrapper { |
| | | margin-right: 20rpx; |
| | | margin-left: 20rpx; |
| | | display: flex; |
| | | flex-direction: column; |
| | | margin-top: 48vh; |
| | | margin-right: 20rpx; |
| | | margin-left: 20rpx; |
| | | display: flex; |
| | | flex-direction: column; |
| | | margin-top: 48vh; |
| | | } |
| | | |
| | | .scroll-view { |
| | | flex: 1; |
| | | overflow-y: auto; |
| | | /* 允许垂直滚动 */ |
| | | z-index: 0; |
| | | /* 确保 scroll-view 在头部和 center-wrapper 之下 */ |
| | | flex: 1; |
| | | overflow-y: auto; |
| | | /* 允许垂直滚动 */ |
| | | z-index: 0; |
| | | /* 确保 scroll-view 在头部和 center-wrapper 之下 */ |
| | | } |
| | | |
| | | |
| | | |
| | | .list-item { |
| | | background-color: #fff; |
| | | margin-bottom: 2rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | padding-left: 30rpx; |
| | | padding-right: 30rpx; |
| | | padding-top: 30rpx; |
| | | padding-bottom: 30rpx; |
| | | margin-left: 20rpx; |
| | | margin-right: 20rpx; |
| | | background-color: #fff; |
| | | margin-bottom: 2rpx; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | padding-left: 30rpx; |
| | | padding-right: 30rpx; |
| | | padding-top: 30rpx; |
| | | padding-bottom: 30rpx; |
| | | margin-left: 20rpx; |
| | | margin-right: 20rpx; |
| | | } |
| | | |
| | | .list-item text { |
| | | font-size: 30rpx; |
| | | font-size: 30rpx; |
| | | } |
| | | |
| | | |
| | | |
| | | .list-item-piping { |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | } |
| | | |
| | | .bottom-title { |
| | | border-radius: 5px 5px 0 0; |
| | | background-color: #fff; |
| | | display: flex; |
| | | align-items: center; |
| | | /* 垂直方向居中 */ |
| | | justify-content: space-between; |
| | | /* 子元素在主轴上的对齐方式 */ |
| | | padding: 10px; |
| | | /* 容器的内边距 */ |
| | | margin-left: 20rpx; |
| | | margin-right: 20rpx; |
| | | margin-top: 20rpx; |
| | | border-radius: 5px 5px 0 0; |
| | | background-color: #fff; |
| | | display: flex; |
| | | align-items: center; |
| | | /* 垂直方向居中 */ |
| | | justify-content: space-between; |
| | | /* 子元素在主轴上的对齐方式 */ |
| | | padding: 10px; |
| | | /* 容器的内边距 */ |
| | | margin-left: 20rpx; |
| | | margin-right: 20rpx; |
| | | margin-top: 20rpx; |
| | | } |
| | | |
| | | .bottom-title-text { |
| | | position: absolute; |
| | | /* 绝对定位 */ |
| | | left: 50%; |
| | | /* 移动到容器的中间 */ |
| | | transform: translateX(-50%); |
| | | /* 通过平移自身宽度的一半来实现真正的居中 */ |
| | | font-size: 16px; |
| | | /* 字体大小 */ |
| | | color: #333; |
| | | /* 字体颜色 */ |
| | | } |
| | | margin-right: 10rpx; |
| | | /* 给文本和图标之间添加一些间距 */ |
| | | font-size: 35rpx; |
| | | /* 字体大小 */ |
| | | color: #333; |
| | | /* 字体颜色 */ |
| | | } |
| | | |
| | | |
| | | .refresh-button { |
| | | margin-left: auto; |
| | | /* 将按钮推到容器的最右侧 */ |
| | | font-size: 30rpx; |
| | | /* 按钮文字的字体大小 */ |
| | | color: #fff; |
| | | /* 按钮文字颜色 */ |
| | | background-color: #1890FF; |
| | | /* 按钮背景颜色 */ |
| | | border: none; |
| | | /* 去掉按钮边框 */ |
| | | border-radius: 5px; |
| | | /* 按钮圆角 */ |
| | | padding-left: 25rpx; |
| | | padding-right: 25rpx; |
| | | padding-top: 15rpx; |
| | | padding-bottom: 15rpx; |
| | | margin-left: auto; |
| | | /* 将按钮推到容器的最右侧 */ |
| | | font-size: 30rpx; |
| | | /* 按钮文字的字体大小 */ |
| | | color: #fff; |
| | | /* 按钮文字颜色 */ |
| | | background-color: #1890FF; |
| | | /* 按钮背景颜色 */ |
| | | border: none; |
| | | /* 去掉按钮边框 */ |
| | | border-radius: 5px; |
| | | /* 按钮圆角 */ |
| | | padding-left: 25rpx; |
| | | padding-right: 25rpx; |
| | | padding-top: 15rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | padding-bottom: 15rpx; |
| | | } |
| | | |
| | | .refresh-button:active { |
| | | background-color: #7c7c7c; |
| | | /* Change to a darker color when pressed */ |
| | | } |
| | | |
| | | .refresh-view { |
| | | text-align: center; |
| | | padding: 30rpx; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | text-align: center; |
| | | padding: 30rpx; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | |
| | | .dot { |
| | | width: 20rpx; |
| | | height: 20rpx; |
| | | background-color: #333; |
| | | border-radius: 50%; |
| | | margin: 0 5px; |
| | | animation: blink 1.4s infinite both; |
| | | width: 20rpx; |
| | | height: 20rpx; |
| | | background-color: #333; |
| | | border-radius: 50%; |
| | | margin: 0 5px; |
| | | animation: blink 1.4s infinite both; |
| | | } |
| | | |
| | | .dot:nth-child(2) { |
| | | animation-delay: 0.2s; |
| | | animation-delay: 0.2s; |
| | | } |
| | | |
| | | .dot:nth-child(3) { |
| | | animation-delay: 0.4s; |
| | | animation-delay: 0.4s; |
| | | } |
| | | |
| | | @keyframes blink { |
| | | |
| | | 0%, |
| | | 80%, |
| | | 100% { |
| | | opacity: 0; |
| | | } |
| | | 0%, |
| | | 80%, |
| | | 100% { |
| | | opacity: 0; |
| | | } |
| | | |
| | | 40% { |
| | | opacity: 1; |
| | | } |
| | | 40% { |
| | | opacity: 1; |
| | | } |
| | | } |
| | | |
| | | .switch { |
| | | --td-switch-checked-color: #1890FF; |
| | | --td-switch-checked-color: #1890FF; |
| | | } |
| | | |
| | | |
| | | .item-left { |
| | | display: flex; |
| | | align-items: center; |
| | | display: flex; |
| | | align-items: center; |
| | | } |
| | | |
| | | .item-left text { |
| | | font-size: 40rpx; |
| | | min-width: 150rpx; |
| | | font-size: 40rpx; |
| | | min-width: 150rpx; |
| | | } |
| | | |
| | | .item-img { |
| | | width: 40rpx; |
| | | /* 根据需要调整图标大小 */ |
| | | height: 40rpx; |
| | | /* 根据需要调整图标大小 */ |
| | | margin-left: 20rpx; |
| | | width: 40rpx; |
| | | /* 根据需要调整图标大小 */ |
| | | height: 40rpx; |
| | | /* 根据需要调整图标大小 */ |
| | | margin-left: 20rpx; |
| | | } |
| | | |
| | | .dialog { |
| | | --td-dialog-content-font-size: 40rpx; |
| | | --td-dialog-content-line-height: 50rpx |
| | | --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%; |
| | | /* 让容器高度占满父元素 */ |
| | | 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; |
| | | 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; |
| | | } |
| | | |
| | | .item-button:active { |
| | | background-color: #7c7c7c; |
| | | /* Change to a darker color when pressed */ |
| | | } |
| | | |
| | | .divider { |
| | | width: 100%; |
| | | margin-top: 2rpx; |
| | | /* background-color: #e0e0e0; */ |
| | | width: 100%; |
| | | margin-top: 2rpx; |
| | | /* background-color: #e0e0e0; */ |
| | | } |
| | | |
| | | |
| | | .error-dialog{ |
| | | --td-dialog-title-color:red; |
| | | --td-dialog-title-font-size:40rpx; |
| | | .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; /* 根据需要调整距离右侧的距离 */ |
| | | .scen-view { |
| | | position: absolute; |
| | | /* 添加这行 */ |
| | | top: 15rpx; |
| | | /* 根据需要调整距离顶部的距离 */ |
| | | right: 30rpx; |
| | | /* 根据需要调整距离右侧的距离 */ |
| | | display: flex; |
| | | align-items: center; |
| | | /* 垂直方向居中 */ |
| | | justify-content: space-between; |
| | | } |
| | | |
| | | } |
| | | .scen-code { |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | } |
| | | |
| | | .scen-view text { |
| | | font-size: 30rpx; |
| | | color: #ffffff; |
| | | } |
| | | |
| | | .project-select-container { |
| | | padding: 20rpx 0; |
| | | } |
| | | |
| | | .project-select-container .t-radio { |
| | | margin-bottom: 20rpx; |
| | | padding: 10rpx 0; |
| | | } |
| | | |
| | | .project-select-container .t-radio:last-child { |
| | | margin-bottom: 0; |
| | | } |
| | | |
| | | .project-select-container .t-radio__label { |
| | | font-size: 28rpx; |
| | | color: #333; |
| | | } |
| | | |
| | | .project-select-container .t-radio--checked { |
| | | background: #e6f4ff; |
| | | } |
| | | |
| | | /* 弹窗按钮样式 */ |
| | | .dialog__button-group { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | margin-top: 32rpx; |
| | | } |
| | | |
| | | .dialog__button-group .t-button { |
| | | flex: 1; |
| | | margin: 0 16rpx; |
| | | } |
| | | |
| | | .dialog__button-group .t-button:first-child { |
| | | margin-left: 0; |
| | | } |
| | | |
| | | .dialog__button-group .t-button:last-child { |
| | | margin-right: 0; |
| | | } |
| | | |
| | | .project-select-popup { |
| | | background-color: #fff; |
| | | border-radius: 16rpx; |
| | | width: 600rpx; |
| | | } |
| | | |
| | | .popup-title { |
| | | font-size: 32rpx; |
| | | font-weight: bold; |
| | | text-align: center; |
| | | padding: 32rpx; |
| | | border-bottom: 1px solid #f0f0f0; |
| | | } |
| | | |
| | | .popup-content { |
| | | padding: 32rpx; |
| | | } |
| | | |
| | | .radio-group { |
| | | display: flex; |
| | | flex-direction: column; |
| | | gap: 20rpx; |
| | | } |
| | | |
| | | .radio-group .t-radio { |
| | | margin-bottom: 20rpx; |
| | | padding: 20rpx; |
| | | background: #f5f5f5; |
| | | border-radius: 8rpx; |
| | | } |
| | | |
| | | .radio-group .t-radio:last-child { |
| | | margin-bottom: 0; |
| | | } |
| | | |
| | | .popup-footer { |
| | | padding: 32rpx; |
| | | border-top: 1px solid #f0f0f0; |
| | | } |
| | | |
| | | .dialog-content { |
| | | padding: 32rpx; |
| | | max-height: 60vh; |
| | | } |
| | | |
| | | .project-options { |
| | | display: flex; |
| | | flex-direction: column; |
| | | gap: 20rpx; |
| | | } |
| | | |
| | | .project-option { |
| | | display: flex; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | padding: 30rpx; |
| | | background: #f5f5f5; |
| | | border-radius: 8rpx; |
| | | font-size: 32rpx; |
| | | } |
| | | |
| | | .project-option.selected { |
| | | background: #e6f4ff; |
| | | border: 2rpx solid #1890FF; |
| | | } |
| | | |
| | | .selected-icon { |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | } |
| | | |
| | | .project-dialog-content { |
| | | padding: 20rpx; |
| | | } |
| | | |
| | | .project-item { |
| | | margin: 20rpx 0; |
| | | padding: 30rpx; |
| | | background-color: #f5f5f5; |
| | | border-radius: 8rpx; |
| | | text-align: center; |
| | | font-size: 32rpx; |
| | | } |
| | | |
| | | .project-item-selected { |
| | | background-color: #e6f4ff; |
| | | color: #1890FF; |
| | | border: 2rpx solid #1890FF; |
| | | } |
| | | |
| | | .radio-content { |
| | | padding: 30rpx 20rpx 10rpx; |
| | | } |
| | | |
| | | .radio-content .t-radio { |
| | | margin-bottom: 20rpx; |
| | | padding: 20rpx; |
| | | background-color: #f5f5f5; |
| | | border-radius: 8rpx; |
| | | } |
| | | |
| | | .radio-content .t-radio--checked { |
| | | background-color: #e6f4ff; |
| | | } |
| | | |
| | | .project-modal { |
| | | position: fixed; |
| | | top: 0; |
| | | left: 0; |
| | | right: 0; |
| | | bottom: 0; |
| | | z-index: 9999; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | |
| | | .project-modal-mask { |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | right: 0; |
| | | bottom: 0; |
| | | background-color: rgba(0, 0, 0, 0.6); |
| | | } |
| | | |
| | | .project-modal-content { |
| | | position: relative; |
| | | width: 80%; |
| | | max-width: 600rpx; |
| | | background-color: #fff; |
| | | border-radius: 16rpx; |
| | | overflow: hidden; |
| | | display: flex; |
| | | flex-direction: column; |
| | | } |
| | | |
| | | .project-modal-header { |
| | | padding: 30rpx; |
| | | text-align: center; |
| | | border-bottom: 1rpx solid #f0f0f0; |
| | | } |
| | | |
| | | .project-modal-title { |
| | | font-size: 36rpx; |
| | | font-weight: bold; |
| | | color: #333; |
| | | } |
| | | |
| | | .project-modal-body { |
| | | padding: 30rpx; |
| | | } |
| | | |
| | | .project-modal-tip { |
| | | display: block; |
| | | font-size: 28rpx; |
| | | color: #999; |
| | | margin-bottom: 30rpx; |
| | | text-align: center; |
| | | } |
| | | |
| | | .project-radio-group { |
| | | display: flex; |
| | | flex-direction: column; |
| | | gap: 20rpx; |
| | | } |
| | | |
| | | .project-radio { |
| | | display: flex; |
| | | align-items: center; |
| | | padding: 20rpx; |
| | | background-color: #f5f5f5; |
| | | border-radius: 8rpx; |
| | | } |
| | | |
| | | .project-radio-selected { |
| | | background-color: #e6f4ff; |
| | | border: 2rpx solid #1890FF; |
| | | } |
| | | |
| | | .project-radio text { |
| | | margin-left: 10rpx; |
| | | font-size: 32rpx; |
| | | } |
| | | |
| | | .project-modal-footer { |
| | | padding: 30rpx; |
| | | border-top: 1rpx solid #f0f0f0; |
| | | } |
| | | |
| | | .project-modal-btn { |
| | | width: 100%; |
| | | height: 80rpx; |
| | | line-height: 80rpx; |
| | | text-align: center; |
| | | background-color: #1890FF; |
| | | color: #fff; |
| | | font-size: 32rpx; |
| | | border-radius: 8rpx; |
| | | } |
| | | |
| | | .project-modal-btn[disabled] { |
| | | background-color: #cccccc; |
| | | color: #ffffff; |
| | | } |
| | | |
| | | .info-img { |
| | | width: 50rpx; |
| | | height: 50rpx; |
| | | } |
| | | |
| | | .title-center { |
| | | position: absolute; |
| | | /* 绝对定位 */ |
| | | left: 50%; |
| | | /* 移动到容器的中间 */ |
| | | transform: translateX(-50%); |
| | | display: flex; |
| | | justify-content: space-between; |
| | | /* 使子元素在主轴上均匀分布 */ |
| | | align-items: center; |
| | | /* 垂直居中对齐 */ |
| | | } |
| | | .content-container { |
| | | white-space: pre-line; |
| | | word-wrap: break-word; |
| | | /* 防止长单词无法换行 */ |
| | | } |
| | | |
| | | .long-content { |
| | | height: 450rpx; |
| | | margin-top: 16rpx; |
| | | font-size: 32rpx; |
| | | color: #888; |
| | | } |
| | | |