修改发布页

This commit is contained in:
筱野
2025-10-26 22:11:41 +08:00
parent 83266eeef6
commit 842171756c
4 changed files with 20 additions and 15 deletions

View File

@@ -2,12 +2,14 @@
position: relative; position: relative;
width: 100%; width: 100%;
display: flex; display: flex;
align-items: flex-start; align-items: center;
justify-content: space-around; justify-content: space-between;
padding: 10px 12px;
min-height: 32px;
box-sizing: border-box;
.title-input { .title-input {
width: 83%; flex: 1;
min-height: 44px; padding: 0;
padding: 12px 16px;
border-radius: 8px; border-radius: 8px;
font-size: 16px; font-size: 16px;
line-height: 1.4; line-height: 1.4;
@@ -26,9 +28,13 @@
.char-count { .char-count {
font-size: 12px;
color: #999; color: #999;
pointer-events: none; pointer-events: none;
padding-top: 12px; display: flex;
align-items: center;
justify-content: flex-end;
font-size: 14px;
font-weight: 400;
line-height: 24px;
} }
} }

View File

@@ -14,7 +14,7 @@
justify-content: space-between; justify-content: space-between;
height: 44px; height: 44px;
padding-left: 12px; padding-left: 12px;
&:last-child{ &:nth-child(3){
.form-wrapper{ .form-wrapper{
border-bottom: none; border-bottom: none;
} }

View File

@@ -180,8 +180,7 @@
// 提交区域 // 提交区域
.submit-section { .submit-section {
padding: 16px 16px 36px 16px;
padding: 16px;
.submit-btn { .submit-btn {
width: 100%; width: 100%;
color: white; color: white;

View File

@@ -616,14 +616,14 @@ useEffect(() => {
<GeneralNavbar title={titleBar} backgroundColor="#FAFAFA" className={styles['publish-ball-navbar']} /> <GeneralNavbar title={titleBar} backgroundColor="#FAFAFA" className={styles['publish-ball-navbar']} />
<View className={styles['publish-ball']} style={{ paddingTop: `${statusNavbarHeightInfo.totalHeight}px` }}> <View className={styles['publish-ball']} style={{ paddingTop: `${statusNavbarHeightInfo.totalHeight}px` }}>
{/* 活动类型切换 */} {/* 活动类型切换 */}
<View className={styles['activity-type-switch']}> {/* <View className={styles['activity-type-switch']}>
{/* <ActivityTypeSwitch <ActivityTypeSwitch
value={activityType} value={activityType}
onChange={handleActivityTypeChange} onChange={handleActivityTypeChange}
/> */} />
</View> </View> */}
<View className={styles['publish-ball__scroll']} style={{ height: `calc(100vh - ${statusNavbarHeightInfo.totalHeight+120}px)`, overflow: 'auto' }}> <View className={styles['publish-ball__scroll']} style={{ height: `calc(100vh - ${statusNavbarHeightInfo.totalHeight+140}px)`, overflow: 'auto' }}>
{ {
formData.map((item, index) => ( formData.map((item, index) => (
<View key={index}> <View key={index}>