/* 页面容器 */ .publish-page { padding: 24rpx; background-color: #f5f7fa; min-height: 100vh; box-sizing: border-box; padding-bottom: 13vh; } /* Tabs 选项卡样式 */ .publish-tabs { --tabs-card-height: 80rpx; /* 选项卡高度 */ --tabs-card-font-size: 28rpx; /* 选项卡文字大小 */ --tabs-card-active-color: #ffffff; /* 激活态文字色 */ --tabs-card-active-background-color: #1677ff; /* 激活态背景色 */ --tabs-card-inactive-color: #333333; /* 未激活文字色 */ --tabs-card-inactive-background-color: #ffffff; /* 未激活背景色 */ --tabs-card-border-radius: 12rpx; /* 选项卡圆角 */ margin-bottom: 24rpx; } /* 选项卡面板样式 */ .tab-panel { background-color: #ffffff; border-radius: 16rpx; padding: 30rpx 24rpx; box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.03); } /* 普通发布表单样式 */ .common-publish-form, .referral-publish-form { width: 100%; } /* 表单项间距 */ .t-form-item { margin-bottom: 30rpx !important; } /* 表单标签样式 */ .t-form-item__label { font-size: 28rpx !important; color: #333333 !important; width: 160rpx !important; /* 固定标签宽度,对齐更整齐 */ } /* 输入框样式 */ .t-input, .t-textarea { --input-height: 72rpx !important; --input-font-size: 26rpx !important; --input-placeholder-color: #999999 !important; --input-border-radius: 10rpx !important; } /* 提交按钮样式 */ .submit-btn { --button-height: 88rpx !important; --button-font-size: 30rpx !important; --button-primary-background-color: #1677ff !important; --button-border-radius: 12rpx !important; width: 100%; } .input-example { --td-input-vertical-padding: 24rpx; background-color: var(--bg-color-demo); padding: 32rpx 32rpx 16rpx; } .input-example__label { color: var(--td-text-color-primary); font-size: 24rpx; line-height: 40rpx; margin: 0 8rpx 16rpx; } .card { position: relative; border-radius: 12rpx; overflow: hidden; box-sizing: border-box; border: 3rpx solid var(--td-bg-color-container, #fff); background-color: #c09d9d !important; } .card--active { border-color: var(--td-brand-color, #0052d9); } .card--active::after { content: ''; display: block; position: absolute; left: 0; top: 0; width: 0; border-width: 28px 28px 28px 0; border-style: solid; border-color: var(--td-brand-color, #0052d9) transparent transparent transparent; } .card__icon { color: var(--td-bg-color-container, #fff); position: absolute; left: 1.5px; top: 1.5px; z-index: 1; } /* 横向布局 */ .horizontal-box { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 32rpx; } .horizontal-box .card { flex: 0 0 calc(50.33% - 12rpx); margin: 0 0 24rpx 0; } .wenping-label{ margin-left: 5vw; } .wenping-label{ font-size: 24rpx; } /* 选项容器样式 */ .options-container { margin-top: 40rpx; padding: 24rpx; background-color: #f9f9f9; border-radius: 12rpx; } /* 选项头部 */ .options-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24rpx; } .options-label { font-size: 28rpx; color: #333; font-weight: 500; } .add-option-btn { height: 56rpx; line-height: 56rpx; padding: 0 20rpx; font-size: 24rpx; } /* 选项列表 */ .options-list { display: flex; flex-direction: column; gap: 16rpx; } .option-item { display: flex; align-items: center; gap: 16rpx; background-color: #fff; padding: 12rpx 16rpx; border-radius: 8rpx; border: 1px solid #eee; } .option-input { flex: 1; --input-height: 60rpx !important; --input-font-size: 26rpx !important; } .delete-option { color: #ff4d4f; padding: 8rpx; cursor: pointer; } /* 选项提示 */ .options-hint { margin-top: 16rpx; font-size: 22rpx; color: #999; text-align: right; } .submit-container{ width: 100%; height: 20vh; background: red; } .button-example { margin: 32rpx; }