爆米花popcorn源码

源码下载
无极低码-三维可视化,免费资源下载,气象数据,编程技术,java开发,素材下载,大数据,解决方案,方案,ppt,5G,数字孪生

347a74cd301e4ddb8cfa2a8c64a13ad0.png

  1. <!--主页-->
  2. <swiper class="swiper-style" indicator-dots="{
  3. {indicatorDots}}"
  4. autoplay="{
  5. {autoplay}}" interval="{
  6. {interval}}" duration="{
  7. {duration}}">
  8. <block wx:for="{
  9. {imgUrls}}">
  10. <swiper-item bindtap="isShowToast">
  11. <image src="{
  12. {item}}"/>
  13. </swiper-item>
  14. </block>
  15. </swiper>
  16. <toast hidden="{
  17. {isHiddenToast}}" stytle="display:flex width:100rpx" duration="1000" bindchange="toastChange">
  18. 程序猿努力搬砖中...
  19. </toast>
  20. <view>
  21. <text class="font-style">欧美剧</text>
  22. </view>
  23. <view class="row-view" style="flex-direction:row;">
  24. <view bindtap="showDetails">
  25. <image class="image-style" src="/image/westworld.jpg"/>
  26. </view>
  27. <view bindtap="isShowToast">
  28. <image class="image-style" src="/image/shield.jpg"/>
  29. </view>
  30. </view>
  31. <view>
  32. <text class="font-style">港台剧</text>
  33. </view>
  34. <view class="row-view" style="flex-direction:row;">
  35. <view bindtap="isShowToast">
  36. <image class="image-style" src="/image/ywlyj.jpg"/>
  37. </view>
  38. <view bindtap="isShowToast">
  39. <image class="image-style" src="/image/lzqr.jpg"/>
  40. </view>
  41. </view>
  42. <view>
  43. <text class="font-style">大陆剧</text>
  44. </view>
  45. <view class="row-view" style="flex-direction:row;">
  46. <view bindtap="isShowToast">
  47. <image class="image-style" src="/image/zxqyz.jpg"/>
  48. </view>
  49. <view bindtap="isShowToast">
  50. <image class="image-style" src="/image/jhzblr.jpg"/>
  51. </view>
  52. </view>
  53. <view>
  54. <text class="font-style">影评</text>
  55. </view>
  56. <!--<view class="row-view" style="flex-direction:row;">
  57. <button type="primary">想看</button>
  58. <button type="warn">不想看</button>
  59. </view>-->
  60. <button>马上进入</button>
  61. // 主页
  62. Page({
  63. data: {
  64. imgUrls: [
  65. '/image/westworld.jpg',
  66. '/image/got.jpg',
  67. '/image/shield.jpg'
  68. ],
  69. isHiddenToast:true,
  70. indicatorDots: true,
  71. autoplay: true,
  72. interval: 5000,
  73. duration: 1000
  74. },
  75. // changeIndicatorDots: function(e) {
  76. // this.setData({
  77. // indicatorDots: !this.data.indicatorDots
  78. // })
  79. // },
  80. // changeAutoplay: function(e) {
  81. // this.setData({
  82. // autoplay: !this.data.autoplay
  83. // })
  84. // },
  85. // intervalChange: function(e) {
  86. // this.setData({
  87. // interval: e.detail.value
  88. // })
  89. // },
  90. // durationChange: function(e) {
  91. // this.setData({
  92. // duration: e.detail.value
  93. // })
  94. // }
  95. showDetails:function(){
  96. wx.navigateTo({
  97. url: '../info/info'
  98. })
  99. },
  100. isShowToast:function(){
  101. this.setData({
  102. isHiddenToast:false
  103. })
  104. },
  105. toastChange:function(){
  106. this.setData({
  107. isHiddenToast:true
  108. })
  109. }
  110. })

发表评论

表情:
评论列表 (有 0 条评论,87人围观)

还没有评论,来说两句吧...

相关阅读

    相关

    1.怎么看源码,直接在源码里打断点,再debug. 2.看启动日志,能得到关于一些类的信息。 3.在源码中,右键show diagram,表格化的一些图形化类。便于理解

    相关 分析:AQS

    在开始这篇源码之前,最好先看下转载整理的[这篇文章][Link 1],有很多值得学习的地方。AQS是用来构建锁或者其他同步组件的基础框架。总体来说,它使用一个 int 成员变量