inspect.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // pages/recordSheet/components/inspect/inspect.js
  2. Component({
  3. /**
  4. * 组件的属性列表
  5. */
  6. options: {
  7. addGlobalClass: true
  8. },
  9. properties: {
  10. },
  11. /**
  12. * 组件的初始数据
  13. */
  14. data: {
  15. list: ['','','',''],
  16. more: true,
  17. maxlength: 500,
  18. number: 0,
  19. value: "",
  20. imgs: [
  21. {
  22. type: "image",
  23. url: "https://img1.baidu.com/it/u=202543353,3627416815&fm=26&fmt=auto"
  24. },
  25. {
  26. type: "image",
  27. url: "https://img0.baidu.com/it/u=745609344,230882238&fm=26&fmt=auto"
  28. },
  29. {
  30. type: "image",
  31. url: "https://img0.baidu.com/it/u=286636366,3227707112&fm=26&fmt=auto"
  32. },
  33. {
  34. type: "image",
  35. url: "https://img1.baidu.com/it/u=2450865760,444795162&fm=26&fmt=auto"
  36. },
  37. {
  38. type: "image",
  39. url: "https://img0.baidu.com/it/u=4226275504,4103997964&fm=26&fmt=auto"
  40. },
  41. {
  42. type: "image",
  43. url: "https://img0.baidu.com/it/u=2247422843,411257408&fm=26&fmt=auto"
  44. },
  45. ],
  46. },
  47. /**
  48. * 组件的方法列表
  49. */
  50. methods: {
  51. onOpenList() {
  52. this.setData({
  53. more: false
  54. })
  55. }
  56. }
  57. })