Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
feat: 打包前类型修复
yikaJasonMicb30bb6e03d85
diff --git a/src/api/platform.ts b/src/api/platform.tsindex cdfb7113..318a97f0 100644--- a/src/api/platform.ts+++ b/src/api/platform.ts@@ -98,6 +98,7 @@ export interface RankingContent {rankingPosition: number;platform: Platform;ranking: PlatformRanking;+ anaAdd: any;}export interface PaginationMeta {diff --git a/src/api/task.ts b/src/api/task.tsindex 5133c683..4af3921c 100644--- a/src/api/task.ts+++ b/src/api/task.ts@@ -1,7 +1,7 @@/** @Author: nevin* @Date: 2025-02-22 12:02:55- * @LastEditTime: 2025-03-02 22:21:01+ * @LastEditTime: 2025-03-24 14:08:12* @LastEditors: nevin* @Description: 任务*/@@ -73,7 +73,7 @@ export const taskApi = {},// 提现- withdraw(id: string, walletAccountId: string) {+ withdraw(id: string, walletAccountId?: string) {return http.post<UserWalletRecord>(`/tasks/withdraw/${id}`,{diff --git a/src/api/types/task.ts b/src/api/types/task.tsindex e7a59426..4797bf59 100644--- a/src/api/types/task.ts+++ b/src/api/types/task.ts@@ -1,7 +1,7 @@/** @Author: nevin* @Date: 2025-03-01 19:27:35- * @LastEditTime: 2025-03-02 00:07:23+ * @LastEditTime: 2025-03-24 14:10:43* @LastEditors: nevin* @Description:*/@@ -13,7 +13,7 @@ export enum UserTaskStatus {PENDING = 'pending', // 待审核APPROVED = 'approved', // 已通过REJECTED = 'rejected', // 已拒绝- // COMPLETED = 'completed', // 已完成+ COMPLETED = 'completed', // 已完成CANCELLED = 'cancelled', // 已取消// PENDING_REWARD = 'pending_reward', // 待发放奖励REWARDED = 'rewarded', // 已发放奖励diff --git a/src/views/autoRun/components/addAutoRun.tsx b/src/views/autoRun/components/addAutoRun.tsxdeleted file mode 100644index 00d9d741..00000000--- a/src/views/autoRun/components/addAutoRun.tsx+++ /dev/null@@ -1,102 +0,0 @@-/*- * @Author: nevin- * @Date: 2025-03-18 21:02:38- * @LastEditTime: 2025-03-19 07:25:32- * @LastEditors: nevin- * @Description:- */-import { AutoRunType, ipcCreateAutoRun } from '@/icp/autoRun';-import { Button, Form, Input, Modal, Select } from 'antd';-import { forwardRef, useImperativeHandle, useState } from 'react';-const { Option } = Select;--export interface AddAutoRunRef {- init: (accountId: number) => Promise<void>;-}--interface FormData {- // '周期类型 天 day-22 (例:每天22时) 周 week-2 (例:每周周二,周日0) 月 month-22 (例:每月22号)',- cycleType: string;- type: AutoRunType;-}--const Com = forwardRef<AddAutoRunRef>((props: any, ref) => {- const [isModalOpen, setIsModalOpen] = useState(false);- const [accountId, setAccountId] = useState<number>(0);- const [form] = Form.useForm<FormData>();- async function init(accountId: number) {- setAccountId(accountId);- setIsModalOpen(true);- }-- useImperativeHandle(ref, () => ({- init: init,- }));-- function handleCancel() {- setIsModalOpen(false);- }-- async function onFinish(values: FormData) {- const res = await ipcCreateAutoRun({- accountId,- ...values,- });- console.log('-------- res', res);-- console.log('Success:', values);- }-- async function onFinishFailed(errorInfo: any) {- console.log('Failed:', errorInfo);- }-- return (- <>- <Modal- title={null}- open={isModalOpen}- onCancel={handleCancel}- footer={null}- width={800}- >- <p>账号ID{accountId}</p>- <Form- form={form}- name="basic"- labelCol={{ span: 8 }}- wrapperCol={{ span: 16 }}- initialValues={{ remember: true }}- onFinish={onFinish}- onFinishFailed={onFinishFailed}- autoComplete="off"- >- <p>- 周期类型 天 day-22 例:每天22时 周 week-2 例:每周周二,周日0 月- month-22 例:每月22号- </p>- <Form.Item- label="重复周期类型"- name="cycleType"- rules={[{ required: true, message: '重复周期类型!' }]}- >- <Input />- </Form.Item>-- <Form.Item name="type" label="类型" rules={[{ required: true }]}>- <Select placeholder="选择任务类型" allowClear>- <Option value={AutoRunType.ReplyComment}>自动回复评论</Option>- </Select>- </Form.Item>-- <Form.Item wrapperCol={{ offset: 8, span: 16 }}>- <Button type="primary" htmlType="submit">- 提交- </Button>- </Form.Item>- </Form>- </Modal>- </>- );-});-export default Com;diff --git a/src/views/autoRun/index.tsx b/src/views/autoRun/index.tsxindex d1056eaf..c208e94a 100644--- a/src/views/autoRun/index.tsx+++ b/src/views/autoRun/index.tsx@@ -1,15 +1,14 @@/** @Author: nevin* @Date: 2025-02-10 22:20:15- * @LastEditTime: 2025-03-19 07:51:47+ * @LastEditTime: 2025-03-24 14:03:36* @LastEditors: nevin* @Description: 评论页面 reply*/import { Button, Card, Col, Row } from 'antd';-import { useCallback, useRef, useState } from 'react';+import { useCallback, useState } from 'react';import AccountSidebar from '../account/components/AccountSidebar/AccountSidebar';import styles from './reply.module.scss';-import AddAutoRun, { AddAutoRunRef } from './components/addAutoRun';import {AutoRun,AutoRunRecord,@@ -26,8 +25,6 @@ export default function Page() {);const [activeAccountId, setActiveAccountId] = useState<number>(-1);- const Ref_AddAutoRun = useRef<AddAutoRunRef>(null);-async function getAutoRunList() {setAutoRunList([]);const res = await ipcGetAutoRunList();@@ -48,25 +45,8 @@ export default function Page() {console.log('------ res', res);}- /**- * 打开评论回复- * @param data- */- function openAddAutoRun() {- Ref_AddAutoRun.current?.init(activeAccountId);- }-return (<div className={styles.reply}>- <Button- type="primary"- onClick={() => {- openAddAutoRun();- }}- >- 创建自动化- </Button>-<Buttontype="primary"onClick={() => {@@ -122,8 +102,6 @@ export default function Page() {</div></Col></Row>-- <AddAutoRun ref={Ref_AddAutoRun} /></div>);}diff --git a/src/views/task/carTask.tsx b/src/views/task/carTask.tsxindex 80fbab3f..595a5cae 100644--- a/src/views/task/carTask.tsx+++ b/src/views/task/carTask.tsx@@ -1,7 +1,7 @@/** @Author: nevin* @Date: 2025-02-10 22:20:15- * @LastEditTime: 2025-03-02 00:16:00+ * @LastEditTime: 2025-03-24 14:28:05* @LastEditors: nevin* @Description: 任务*/diff --git a/src/views/task/components/carInfo.tsx b/src/views/task/components/carInfo.tsxindex 7b8b4b23..595d012e 100644--- a/src/views/task/components/carInfo.tsx+++ b/src/views/task/components/carInfo.tsx@@ -1,7 +1,7 @@/** @Author: nevin* @Date: 2025-02-27 20:44:31- * @LastEditTime: 2025-03-03 18:04:32+ * @LastEditTime: 2025-03-24 14:28:03* @LastEditors: nevin* @Description: 挂车*/@@ -17,7 +17,11 @@ export interface TaskInfoRef {init: (pubRecord: Task<TaskProduct>) => Promise<void>;}-const Com = forwardRef<TaskInfoRef>((props: any, ref) => {+interface TaskInfoProps {+ onTaskApplied?: () => void; // 新增+}++const Com = forwardRef<TaskInfoRef, TaskInfoProps>((props: any, ref) => {const [isModalOpen, setIsModalOpen] = useState(false);const [taskInfo, setTaskInfo] = useState<Task<TaskProduct> | null>();diff --git a/src/views/task/components/mineInfo.tsx b/src/views/task/components/mineInfo.tsxindex 653ffd75..fa87db41 100644--- a/src/views/task/components/mineInfo.tsx+++ b/src/views/task/components/mineInfo.tsx@@ -1,7 +1,7 @@/** @Author: nevin* @Date: 2025-03-01 19:27:35- * @LastEditTime: 2025-03-03 18:05:09+ * @LastEditTime: 2025-03-24 14:10:00* @LastEditors: nevin* @Description: 用户任务信息*/diff --git a/src/views/task/components/popInfo.tsx b/src/views/task/components/popInfo.tsxindex 97398e11..3f4d3794 100644--- a/src/views/task/components/popInfo.tsx+++ b/src/views/task/components/popInfo.tsx@@ -1,7 +1,7 @@/** @Author: nevin* @Date: 2025-03-01 19:27:35- * @LastEditTime: 2025-03-03 18:06:07+ * @LastEditTime: 2025-03-24 14:26:47* @LastEditors: nevin* @Description: pop*/@@ -30,228 +30,239 @@ export interface TaskInfoRef {init: (pubRecord: Task<TaskPromotion>) => Promise<void>;}-const Com = forwardRef<TaskInfoRef>((props: any, ref) => {- const [isModalOpen, setIsModalOpen] = useState(false);- const [taskInfo, setTaskInfo] = useState<Task<TaskPromotion> | null>();+interface TaskInfoProps {+ onTaskApplied?: () => void; // 新增+}- // 从props中获取刷新函数- const { onTaskApplied } = props;+const Com = forwardRef<TaskInfoRef, TaskInfoProps>(+ (+ props: {+ onTaskApplied?: () => void; // 添加此行+ },+ ref,+ ) => {+ const [isModalOpen, setIsModalOpen] = useState(false);+ const [taskInfo, setTaskInfo] = useState<Task<TaskPromotion> | null>();- async function init(inTaskInfo: Task<TaskPromotion>) {- setTaskInfo(inTaskInfo);- setIsModalOpen(true);- }+ // 从props中获取刷新函数+ const { onTaskApplied } = props;- useImperativeHandle(ref, () => ({- init: init,- }));+ async function init(inTaskInfo: Task<TaskPromotion>) {+ setTaskInfo(inTaskInfo);+ setIsModalOpen(true);+ }- /**- * 接受任务- */- async function taskApply() {- if (!taskInfo) return;+ useImperativeHandle(ref, () => ({+ init: init,+ }));- try {- const res = await taskApi.taskApply(taskInfo?._id);- setTaskInfo(res);- message.success('任务接受成功!');- setIsModalOpen(false);+ /**+ * 接受任务+ */+ async function taskApply() {+ if (!taskInfo) return;- // 调用父组件传递的刷新函数- if (onTaskApplied && typeof onTaskApplied === 'function') {- onTaskApplied();+ try {+ const res = await taskApi.taskApply(taskInfo?._id);+ setTaskInfo(res);+ message.success('任务接受成功!');+ setIsModalOpen(false);++ // 调用父组件传递的刷新函数+ if (onTaskApplied && typeof onTaskApplied === 'function') {+ onTaskApplied();+ }+ } catch (error) {+ message.error('接受任务失败,请稍后再试');}- } catch (error) {- message.error('接受任务失败,请稍后再试');}- }-- const handleCancel = () => {- setIsModalOpen(false);- };- // 复制任务ID- const copyTaskId = (id: string) => {- navigator.clipboard- .writeText(id)- .then(() => {- message.success('任务ID已复制到剪贴板');- })- .catch(() => {- message.error('复制失败,请手动复制');- });- };+ const handleCancel = () => {+ setIsModalOpen(false);+ };- return (- <>- <Modal- title={null}- open={isModalOpen}- onCancel={handleCancel}- footer={null}- width={800}- className={styles.taskInfoModal}- destroyOnClose- >- {taskInfo ? (- <div className={styles.taskInfoContainer}>- <div className={styles.taskInfoHeader}>- <h2 className={styles.taskTitle}>- {taskInfo.title}- <span className={styles.taskId}>- ID: {taskInfo.id}- <CopyOutlined- className={styles.copyIcon}- onClick={() => copyTaskId(taskInfo.id)}- />- </span>- </h2>- <Tag color="#a66ae4" className={styles.taskTag}>- {(taskInfo.dataInfo as any)?.type || '推广APP'}- </Tag>- </div>+ // 复制任务ID+ const copyTaskId = (id: string) => {+ navigator.clipboard+ .writeText(id)+ .then(() => {+ message.success('任务ID已复制到剪贴板');+ })+ .catch(() => {+ message.error('复制失败,请手动复制');+ });+ };- <div className={styles.taskInfoContent}>- <Row gutter={24}>- <Col span={12}>- <div className={styles.taskImageContainer}>- <img- src={`${FILE_BASE_URL}${taskInfo.imageUrl}`}- alt={taskInfo.title}- className={styles.taskImage}+ return (+ <>+ <Modal+ title={null}+ open={isModalOpen}+ onCancel={handleCancel}+ footer={null}+ width={800}+ className={styles.taskInfoModal}+ destroyOnClose+ >+ {taskInfo ? (+ <div className={styles.taskInfoContainer}>+ <div className={styles.taskInfoHeader}>+ <h2 className={styles.taskTitle}>+ {taskInfo.title}+ <span className={styles.taskId}>+ ID: {taskInfo.id}+ <CopyOutlined+ className={styles.copyIcon}+ onClick={() => copyTaskId(taskInfo.id)}/>- </div>- </Col>-- <Col span={12}>- <div className={styles.taskDetails}>- <div className={styles.taskDetail}>- <TagOutlined className={styles.detailIcon} />- <span className={styles.detailLabel}>任务类型:</span>- <span className={styles.detailValue}>- {TaskTypeName.get(taskInfo.type) || '推广任务'}- </span>- </div>-- <div className={styles.taskDetail}>- <ClockCircleOutlined className={styles.detailIcon} />- <span className={styles.detailLabel}>截止时间:</span>- <span className={styles.detailValue}>- {taskInfo.deadline || '2025/03/17'}- </span>- </div>-- <div className={styles.taskDetail}>- <TeamOutlined className={styles.detailIcon} />- <span className={styles.detailLabel}>招募人数:</span>- <span className={styles.detailValue}>- {taskInfo.maxRecruits || 100}- </span>- </div>+ </span>+ </h2>+ <Tag color="#a66ae4" className={styles.taskTag}>+ {(taskInfo.dataInfo as any)?.type || '推广APP'}+ </Tag>+ </div>- <div className={styles.taskDetail}>- <DollarOutlined className={styles.detailIcon} />- <span className={styles.detailLabel}>任务奖励:</span>- <span className={styles.detailValue}>- ¥{taskInfo.reward || 5}- </span>+ <div className={styles.taskInfoContent}>+ <Row gutter={24}>+ <Col span={12}>+ <div className={styles.taskImageContainer}>+ <img+ src={`${FILE_BASE_URL}${taskInfo.imageUrl}`}+ alt={taskInfo.title}+ className={styles.taskImage}+ /></div>+ </Col>- <div className={styles.taskDetail}>- <QrcodeOutlined className={styles.detailIcon} />- <span className={styles.detailLabel}>任务要求:</span>- <span className={styles.detailValue}>- {taskInfo?.requirement || '扫二维码下载APP并完成注册'}- </span>- </div>- </div>- </Col>- </Row>+ <Col span={12}>+ <div className={styles.taskDetails}>+ <div className={styles.taskDetail}>+ <TagOutlined className={styles.detailIcon} />+ <span className={styles.detailLabel}>任务类型:</span>+ <span className={styles.detailValue}>+ {TaskTypeName.get(taskInfo.type) || '推广任务'}+ </span>+ </div>- <Divider />+ <div className={styles.taskDetail}>+ <ClockCircleOutlined className={styles.detailIcon} />+ <span className={styles.detailLabel}>截止时间:</span>+ <span className={styles.detailValue}>+ {taskInfo.deadline || '2025/03/17'}+ </span>+ </div>- <div className={styles.taskDescription}>- <h3 className={styles.sectionTitle}>任务描述</h3>- <div- className={styles.descriptionContent}- dangerouslySetInnerHTML={{- __html: taskInfo.description || '暂无描述',- }}- />- </div>+ <div className={styles.taskDetail}>+ <TeamOutlined className={styles.detailIcon} />+ <span className={styles.detailLabel}>招募人数:</span>+ <span className={styles.detailValue}>+ {taskInfo.maxRecruits || 100}+ </span>+ </div>- {taskInfo.dataInfo && (- <>- <Divider />- <div className={styles.appDetails}>- <h3 className={styles.sectionTitle}>APP详情</h3>- <div className={styles.appInfo}>- <div className={styles.appInfoItem}>- <span className={styles.appInfoLabel}>APP名称:</span>- <span className={styles.appInfoValue}>- {taskInfo.dataInfo.title || '未知'}+ <div className={styles.taskDetail}>+ <DollarOutlined className={styles.detailIcon} />+ <span className={styles.detailLabel}>任务奖励:</span>+ <span className={styles.detailValue}>+ ¥{taskInfo.reward || 5}</span></div>- <div className={styles.appInfoItem}>- <span className={styles.appInfoLabel}>APP描述:</span>- <span className={styles.appInfoValue}>- {taskInfo.dataInfo.desc || '暂无描述'}+ <div className={styles.taskDetail}>+ <QrcodeOutlined className={styles.detailIcon} />+ <span className={styles.detailLabel}>任务要求:</span>+ <span className={styles.detailValue}>+ {taskInfo?.requirement || '扫二维码下载APP并完成注册'}</span></div></div>- </div>- </>- )}- </div>+ </Col>+ </Row>- <div className={styles.taskInfoFooter}>- <div className={styles.taskStatus}>- <span className={styles.statusLabel}>任务状态:</span>- <Tag color="#a66ae4">- {TaskStatusName.get(taskInfo.status) || '进行中'}- </Tag>+ <Divider />++ <div className={styles.taskDescription}>+ <h3 className={styles.sectionTitle}>任务描述</h3>+ <div+ className={styles.descriptionContent}+ dangerouslySetInnerHTML={{+ __html: taskInfo.description || '暂无描述',+ }}+ />+ </div>++ {taskInfo.dataInfo && (+ <>+ <Divider />+ <div className={styles.appDetails}>+ <h3 className={styles.sectionTitle}>APP详情</h3>+ <div className={styles.appInfo}>+ <div className={styles.appInfoItem}>+ <span className={styles.appInfoLabel}>APP名称:</span>+ <span className={styles.appInfoValue}>+ {taskInfo.dataInfo.title || '未知'}+ </span>+ </div>++ <div className={styles.appInfoItem}>+ <span className={styles.appInfoLabel}>APP描述:</span>+ <span className={styles.appInfoValue}>+ {taskInfo.dataInfo.desc || '暂无描述'}+ </span>+ </div>+ </div>+ </div>+ </>+ )}</div>- <div className={styles.taskActions}>- <Button- key="back"- onClick={handleCancel}- className={styles.cancelButton}- >- 取消- </Button>- {taskInfo.isAccepted ? (- <Button- key="submit"- type="primary"- disabled- className={styles.applyButton}- style={{ backgroundColor: '#a66ae4' }}- >- 已经接受任务- </Button>- ) : (+ <div className={styles.taskInfoFooter}>+ <div className={styles.taskStatus}>+ <span className={styles.statusLabel}>任务状态:</span>+ <Tag color="#a66ae4">+ {TaskStatusName.get(taskInfo.status) || '进行中'}+ </Tag>+ </div>++ <div className={styles.taskActions}><Button- key="submit"- type="primary"- onClick={taskApply}- className={styles.applyButton}- style={{ backgroundColor: '#a66ae4' }}+ key="back"+ onClick={handleCancel}+ className={styles.cancelButton}>- 接受任务+ 取消</Button>- )}+ {taskInfo.isAccepted ? (+ <Button+ key="submit"+ type="primary"+ disabled+ className={styles.applyButton}+ style={{ backgroundColor: '#a66ae4' }}+ >+ 已经接受任务+ </Button>+ ) : (+ <Button+ key="submit"+ type="primary"+ onClick={taskApply}+ className={styles.applyButton}+ style={{ backgroundColor: '#a66ae4' }}+ >+ 接受任务+ </Button>+ )}+ </div></div></div>- </div>- ) : (- <div className={styles.noDataContainer}>暂无任务信息</div>- )}- </Modal>- </>- );-});+ ) : (+ <div className={styles.noDataContainer}>暂无任务信息</div>+ )}+ </Modal>+ </>+ );+ },+);export default Com;diff --git a/src/views/task/components/videoInfo.tsx b/src/views/task/components/videoInfo.tsxindex de99266b..293baf7d 100644--- a/src/views/task/components/videoInfo.tsx+++ b/src/views/task/components/videoInfo.tsx@@ -1,7 +1,7 @@/** @Author: nevin* @Date: 2025-03-01 19:27:35- * @LastEditTime: 2025-03-03 18:05:59+ * @LastEditTime: 2025-03-24 14:28:36* @LastEditors: nevin* @Description: video*/@@ -35,7 +35,11 @@ export interface TaskInfoRef {init: (pubRecord: Task<TaskVideo>) => Promise<void>;}-const Com = forwardRef<TaskInfoRef>((props: any, ref) => {+interface TaskInfoProps {+ onTaskApplied?: () => void; // 新增+}++const Com = forwardRef<TaskInfoRef, TaskInfoProps>((props: any, ref) => {const [isModalOpen, setIsModalOpen] = useState(false);const [taskInfo, setTaskInfo] = useState<Task<TaskVideo> | null>();const [downloading, setDownloading] = useState(false);diff --git a/src/views/task/mineTask.tsx b/src/views/task/mineTask.tsxindex 27e550c6..e034ac01 100644--- a/src/views/task/mineTask.tsx+++ b/src/views/task/mineTask.tsx@@ -1,7 +1,7 @@/** @Author: nevin* @Date: 2025-02-27 19:37:08- * @LastEditTime: 2025-03-02 22:40:53+ * @LastEditTime: 2025-03-24 14:11:03* @LastEditors: nevin* @Description: 我的任务列表*/@@ -60,9 +60,7 @@ const UserTaskStatusColorMap = new Map<UserTaskStatus, string>([[UserTaskStatus.PENDING, 'warning'],[UserTaskStatus.APPROVED, 'success'],[UserTaskStatus.REJECTED, 'error'],- [UserTaskStatus.COMPLETED, 'success'],[UserTaskStatus.CANCELLED, 'default'],- [UserTaskStatus.PENDING_REWARD, 'warning'],[UserTaskStatus.REWARDED, 'success'],]);@@ -287,7 +285,8 @@ export default function Page() {return (<div className={styles.mineTaskContainer}>- <MineTaskInfo ref={Ref_MineTaskInfo} onTaskSubmitted={refreshTaskList} />+ {/* <MineTaskInfo ref={Ref_MineTaskInfo} onTaskSubmitted={refreshTaskList} /> */}+ <MineTaskInfo ref={Ref_MineTaskInfo} /><Withdraw ref={Ref_Withdraw} /><div className={styles.pageHeader}>diff --git a/src/views/task/popTask.tsx b/src/views/task/popTask.tsxindex 577e7625..350ccb6b 100644--- a/src/views/task/popTask.tsx+++ b/src/views/task/popTask.tsx@@ -1,7 +1,7 @@/** @Author: nevin* @Date: 2025-02-10 22:20:15- * @LastEditTime: 2025-03-02 00:15:35+ * @LastEditTime: 2025-03-24 14:11:29* @LastEditors: nevin* @Description: 推广任务*/diff --git a/src/views/trending/index.tsx b/src/views/trending/index.tsxindex 09f8a7db..22031234 100644--- a/src/views/trending/index.tsx+++ b/src/views/trending/index.tsx@@ -77,6 +77,9 @@ interface TopicContent {icon: string;};hotValue?: number;++ commentCount: number;+ collectCount: number;// ... 其他属性}@@ -2331,7 +2334,7 @@ const Trending: React.FC = () => {<div className="w-24 text-center">{item.anaAdd.addInteractiveCount ? (<span className="text-[#a66ae4] flex items-center justify-center">- <span className="text-red-500 mr-1 font-bold">+ <span className="mr-1 font-bold text-red-500">↑</span>{formatNumber(@@ -2355,7 +2358,7 @@ const Trending: React.FC = () => {marginTop: '6px',}}>- <span className="text-red-500 mr-1 font-bold">+ <span className="mr-1 font-bold text-red-500">↑</span>总@@ -2377,7 +2380,7 @@ const Trending: React.FC = () => {</div><div className="w-24 text-center"><span className="text-[#a66ae4] flex items-center justify-center">- <span className="text-red-500 mr-1">+ <span className="mr-1 text-red-500">↑</span>{formatNumber(@@ -2400,7 +2403,7 @@ const Trending: React.FC = () => {</div><div className="w-24 text-center"><span className="text-[#a66ae4] flex items-center justify-center">- <span className="text-red-500 mr-1">+ <span className="mr-1 text-red-500">↑</span>{formatNumber(item.anaAdd.addShareCount)}@@ -2421,7 +2424,7 @@ const Trending: React.FC = () => {</div><div className="w-24 text-center"><span className="text-[#a66ae4] flex items-center justify-center">- <span className="text-red-500 mr-1">+ <span className="mr-1 text-red-500">↑</span>{formatNumber(