index.ts 836 B

123456789101112131415161718192021222324252627
  1. import { createAttrsForm } from "../../../defines/createAttrsForm";
  2. import { createOptions } from "../../../defines/createOptions";
  3. export { Component } from "./component";
  4. export const { options, useCompData } = createOptions({
  5. name: "卡片",
  6. thumbnail: require("./thumbnail.jpg"),
  7. value: {},
  8. layout: {
  9. padding: "0.5rem 0",
  10. },
  11. children: {
  12. text: {
  13. value: `<p style="text-align:center;"><span style="color:#666;font-size:12px;font-weight: bold;">皮中贵族,触及之处皆舒适,
  14. 柔韧度高的细腻肌理皮革,触感柔润亲肤,透气
  15. 质量经久耐磨,性价比高,
  16. 经典之作用不过时。
  17. 潮流耐磨的2023年最新款皮革材料</span></p>`,
  18. layout: {
  19. textAlign: "center",
  20. },
  21. },
  22. },
  23. });
  24. export const Form = createAttrsForm([]);