index.wxml 1.4 KB

12345678910111213141516171819202122232425262728
  1. <!--pagesPublic/pages/tdcr/index.wxml-->
  2. <view
  3. capture-bind:touchmove="handleTouchmove"
  4. capture-bind:touchstart="handleTouchstart"
  5. capture-catch:touchend="handleTouchend"
  6. class="main" style="background-image: url({{imgPath}}/index/bg.gif);">
  7. <image class="main-header" src="{{imgPath}}/index/header.png" />
  8. <view class="cursor-guy">
  9. <image class="cursor-size" wx:for="{{cursorGuys}}" src="{{imgPath}}/index/cursor.png"
  10. style="margin-left: {{item.left}}vw;margin-top: {{item.top}}vh;"/>
  11. </view>
  12. <view class="main-content">
  13. <view class="item" wx:for="{{cursors}}" style="left: {{item.left}}vw;top: {{item.top}}vh;{{item.zIndex ? 'z-index: ' + item.zIndex + ';' : ''}}">
  14. <view class="item-title">
  15. <text>{{item.txt}}</text>
  16. </view>
  17. <image class="item-img" src="{{imgPath}}/index/cursor3.gif" bindtap="toDetail" data-index="{{item.id}}"
  18. style="left: {{item.dropLeft}}vw;top: {{item.dropTop}}vh;"/>
  19. </view>
  20. </view>
  21. <view class="list">
  22. <view class="list-item" wx:for="{{list}}" wx:key="index" animation="{{animationData[index]}}" style="margin-left: {{item.left}}vw;margin-top: {{item.top}}vh;">
  23. <image class="list-item-img" src="{{imgPath}}/index/{{item.icon}}"/>
  24. <view class="list-item-txt"><text>{{item.txt}}</text></view>
  25. </view>
  26. </view>
  27. <!-- <view class="bottom-btn" style="background-image: url({{imgPath}}/index/btn.png);">共创文明新南岸</view> -->
  28. </view>