修改picker颜色,修改发布提示动态配置
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
right: 16px !important;
|
||||
width: calc(100% - 32px);
|
||||
height: 48px;
|
||||
background: rgba(22, 24, 35, 0.05);
|
||||
background: rgba(0, 0, 0, 0.02);
|
||||
transform: translateY(-50%);
|
||||
border-radius: 4px;
|
||||
pointer-events: none;
|
||||
|
||||
@@ -34,7 +34,7 @@ const PublishForm: React.FC<{
|
||||
// 字典数据相关
|
||||
const { getDictionaryValue } = useDictionaryActions()
|
||||
|
||||
|
||||
const tips = getDictionaryValue('fabu_tip');
|
||||
useEffect(() => {
|
||||
setCoverImages(formData.image_list)
|
||||
}, [formData.image_list])
|
||||
@@ -191,7 +191,7 @@ const PublishForm: React.FC<{
|
||||
return <>
|
||||
<View className={styles['activity-description']}>
|
||||
<Text className={styles['description-text']}>
|
||||
活动开始前2小时未达到最低人数,活动自动取消;活动结束后,报名者累计到达最低人数时,一旦到达期即有序。
|
||||
{tips}
|
||||
</Text>
|
||||
</View>
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ export const useDictionaryStore = create<DictionaryState>()((set, get) => ({
|
||||
set({ isLoading: true, error: null })
|
||||
|
||||
try {
|
||||
const keys = 'publishing_requirements,court_type,court_surface,supplementary_information,game_play';
|
||||
const keys = 'publishing_requirements,court_type,court_surface,supplementary_information,game_play,fabu_tip';
|
||||
const response = await commonApi.getDictionaryManyKey(keys)
|
||||
|
||||
if (response.code === 0 && response.data) {
|
||||
|
||||
Reference in New Issue
Block a user