zhengyiming
2025-02-17 b0371b64792e2a071e273cd57496c9f38a3118c2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
export enum EditorType {
  /**
   * 文本
   */
  Text,
  /**
   * 图片
   */
  Image,
  /**
   * 视频
   */
  Video,
  /**
   * 富文本
   */
  Rich,
  /**
   * 微信的内容
   */
  WXContent,
}
 
export const EditorTypeText = {
  [EditorType.Text]: '文本',
  [EditorType.Image]: '图片',
};
 
export const EmptyTextEditorItem = { type: EditorType.Text, content: '', sequence: 0 };
 
type PriceVersionInfoItem = Omit<API.PriceVersionInfo, 'price'> & {
  price: string;
};
 
export const EmptyPriceVersion = {
  name: '通用版',
  price: '',
  chargeWay: '',
  sequence: 0,
} as PriceVersionInfoItem;