sidebar.wxml 962 B

1234567891011121314151617181920212223242526272829
  1. <!--page/one/index.wxml-->
  2. <wxs module="test" src="./sidebar.wxs"></wxs>
  3. <view class="page">
  4. <view class="page-bottom">
  5. <view class="page-content">
  6. <view class="wc">
  7. <text>技术开发</text>
  8. </view>
  9. <view class="wc">
  10. <text>产品解析</text>
  11. </view>
  12. <view class="wc">
  13. <text>运营规范</text>
  14. </view>
  15. <view class="wc">
  16. <text>高校大赛</text>
  17. </view>
  18. </view>
  19. </view>
  20. <view data-width="{{windowWidth}}" catch:touchmove="{{test.touchmove}}" bind:touchend="{{test.touchend}}" bind:touchstart="{{test.touchstart}}" class="page-top" >
  21. <view style="margin: 10px 10px;"> >>> 右滑出现侧边菜单</view>
  22. <block wx:for="{{tabs}}" wx:key="title">
  23. <view style="display: flex; align-items: center; flex-direction: column;">
  24. <image src="{{item.img}}" mode="widthFix"></image>
  25. </view>
  26. </block>
  27. </view>
  28. </view>