gooslist.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // components/diy-gooslist/gooslist.js
  2. var Nova = getApp().Nova;
  3. Component({
  4. /**
  5. * 组件的属性列表
  6. */
  7. properties: {
  8. },
  9. /**
  10. * 组件的初始数据
  11. */
  12. data: {
  13. test: [{
  14. image: "https://file-cloud.fmode.cn/nCCirOU5zn/20211217/3nh9jt022514.jpg",
  15. name: "滢润养护无硅油洗发肉滢润养护无硅油洗发肉",
  16. state: "滢润养护无硅油洗发肉",
  17. price: 9.9,
  18. original: 58,
  19. },
  20. {
  21. image: "https://file-cloud.fmode.cn/nCCirOU5zn/20211217/3nh9jt022514.jpg",
  22. name: "滢润养护无硅油洗发肉滢润养护无硅油洗发肉",
  23. state: "滢润养护无硅油洗发肉",
  24. price: 9.9,
  25. original: 58,
  26. },
  27. {
  28. image: "https://file-cloud.fmode.cn/nCCirOU5zn/20211217/3nh9jt022514.jpg",
  29. name: "滢润养护无硅油洗发肉滢润养护无硅油洗发肉护无硅油洗发肉",
  30. state: "滢润养护无硅油洗发肉",
  31. price: 9.9,
  32. original: 58,
  33. }
  34. ],
  35. style: {
  36. // 大 内外边距
  37. width: "47%",
  38. imgHeight: 120,
  39. imgwidth: "100%",
  40. paddingtop: 15,
  41. paddingright: 10,
  42. txtmarginleft:10,
  43. txtmarginbottom:10,
  44. background: "#FFFFFF",
  45. backgroun: "#F92F47",
  46. color: "#ffffff",
  47. imgmarginRight: 18,
  48. imgheight: 20,
  49. colorname: "#333333",
  50. colorstate: "#cccccc",
  51. colora: "#F92F47",
  52. colorb: "#999999"
  53. },
  54. },
  55. /**
  56. * 组件的方法列表
  57. */
  58. methods: {
  59. }
  60. })