找回密码
 立即注册
搜索

开发问题 1020版本,list 加载图片闪退,已贴代码。(华为 meta10)

2
回复
2207
查看
[复制链接]

2

主题

2

帖子

20

积分

 楼主| 2018-9-12 16:14:09 显示全部楼层 |阅读模式
本帖最后由 爱贝贝 于 2018-9-12 17:23 编辑 滚动就闪退!
  1. <template>
  2. <div>
  3. <list class="list">
  4. <block for="imgs">
  5. <list-item style="flex-direction: column">
  6. <text>{{$idx}}</text>
  7. <image src="{{$item}}"/>
  8. </list-item>
  9. </block>
  10. </list>
  11. </div>
  12. </template>
  13. <style>
  14. </style>
  15. <script>
  16. export default {
  17. private: {
  18. imgs: [
  19. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120207216.jpg",
  20. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120207827.jpg",
  21. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120207281.jpg",
  22. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120210450.jpg",
  23. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120214106.jpg",
  24. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120214980.jpg",
  25. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120217338.jpeg",
  26. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120221810.png",
  27. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120221120.jpeg",
  28. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120221849.jpeg",
  29. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120221325.jpeg",
  30. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120224258.jpeg",
  31. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120224588.jpeg",
  32. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120224148.jpeg",
  33. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120224439.jpeg",
  34. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120227761.jpeg",
  35. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231519.png",
  36. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231490.png",
  37. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231178.png",
  38. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231232.png",
  39. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231482.png",
  40. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231959.png",
  41. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231960.png",
  42. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231491.png",
  43. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120234320.jpeg",
  44. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120234992.jpeg",
  45. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120234115.jpeg",
  46. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120234896.jpeg",
  47. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120234814.jpeg",
  48. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120237118.jpeg",
  49. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120237752.jpeg",
  50. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120237931.jpeg",
  51. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120237846.jpeg",
  52. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120237933.jpeg",
  53. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120237382.jpeg",
  54. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120207216.jpg",
  55. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120207827.jpg",
  56. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120207281.jpg",
  57. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120210450.jpg",
  58. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120214106.jpg",
  59. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120214980.jpg",
  60. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120217338.jpeg",
  61. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120221810.png",
  62. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120221120.jpeg",
  63. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120221849.jpeg",
  64. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120221325.jpeg",
  65. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120224258.jpeg",
  66. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120224588.jpeg",
  67. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120224148.jpeg",
  68. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120224439.jpeg",
  69. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120227761.jpeg",
  70. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231519.png",
  71. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231490.png",
  72. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231178.png",
  73. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231232.png",
  74. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231482.png",
  75. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231959.png",
  76. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231960.png",
  77. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120231491.png",
  78. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120234320.jpeg",
  79. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120234992.jpeg",
  80. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120234115.jpeg",
  81. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120234896.jpeg",
  82. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120234814.jpeg",
  83. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120237118.jpeg",
  84. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120237752.jpeg",
  85. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120237931.jpeg",
  86. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120237846.jpeg",
  87. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120237933.jpeg",
  88. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120237382.jpeg",
  89. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120207216.jpg",
  90. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120207827.jpg",
  91. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120207281.jpg",
  92. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120210450.jpg",
  93. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120214106.jpg",
  94. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120214980.jpg",
  95. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120217338.jpeg",
  96. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120221810.png",
  97. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120221120.jpeg",
  98. "http://static.website.sspwin.cn/attachment2010/2018/0807/20180807120221849.jpeg"
  99. ]
  100. },
  101. onInit() {
  102. }
  103. }
  104. </script>
复制代码
回复

使用道具 举报

0

主题

1

帖子

5

积分

2018-12-4 11:50:39 显示全部楼层
换成华为的快应用引擎跑一下, 应该就不会闪退了
回复

使用道具 举报

8

主题

174

帖子

910

积分

2018-12-10 15:57:20 显示全部楼层
你没有写type ,type的值做成变量的试试。让他不一样
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册