Преглед на файлове

videoSelectModal 隐藏视频标题搜索框和搜索按钮(weCom/weGZH)

刘立冬 преди 1 седмица
родител
ревизия
d8a53f7e29

+ 0 - 12
src/views/publishContent/weCom/components/videoSelectModal/index.tsx

@@ -464,18 +464,6 @@ const VideoSelectModal: React.FC<VideoSelectModalProps> = ({ visible, onClose, o
 							options={videoCategoryOptions.map(option => ({ label: option, value: option }))}
 						/>
 					</div>
-					<div className="flex items-center gap-2">
-						<span className="text-gray-600">视频标题:</span>
-						<Input
-							placeholder="搜索视频标题"
-							style={{ width: 120 }}
-							value={searchTerm}
-							allowClear
-							onChange={e => setSearchTerm(e.target.value)}
-							onPressEnter={handleSearch}
-						/>
-					</div>
-					<Button type="primary" loading={loading} onClick={handleSearch}>搜索</Button>
 				</div>
 
 				<Spin spinning={loading}>

+ 0 - 12
src/views/publishContent/weGZH/components/videoSelectModal/index.tsx

@@ -457,18 +457,6 @@ const VideoSelectModal: React.FC<VideoSelectModalProps> = ({ planType, visible,
 							options={videoCategoryOptions.map(option => ({ label: option, value: option }))}
 						/>
 					</div>
-					<div className="flex items-center gap-2">
-						<span className="text-gray-600">视频标题:</span>
-						<Input
-							placeholder="搜索视频标题"
-							style={{ width: 120 }}
-							value={searchTerm}
-							onPressEnter={handleSearch}
-							allowClear
-							onChange={e => setSearchTerm(e.target.value)}
-						/>
-					</div>
-					<Button type="primary" loading={loading} onClick={handleSearch}>搜索</Button>
 				</div>
 
 				<Spin spinning={loading}>