index.wxml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <scroll-view scroll-y class="DrawerPage ">
  2. <view class="header bg-blue" style="background-image: url({{waveimg}});">
  3. <view class="user">
  4. <view class="cu-avatar xl round margin-bottom" style="background-image:url({{login.imgurl}});"></view>
  5. <view class="text-center text-xl {{login.state ? 'text-bold' : ''}}">
  6. <text wx:if="{{login.state}}">{{login.name}}</text>
  7. </view>
  8. </view>
  9. </view>
  10. <view class="cu-list menu margin-bottom-xl shadow-lg radius">
  11. <view bindtap="onClickFunc" data-index="{{index}}" wx:for="{{items}}" wx:key="index" class="cu-item arrow">
  12. <view class="content" bindtap="CopyLink" data-link="https://github.com/weilanwl/ColorUI">
  13. <text class="cuIcon-{{item.imgurl}} text-blue"></text>
  14. <text class="text-black">{{item.title}}</text>
  15. </view>
  16. </view>
  17. </view>
  18. </scroll-view>
  19. <view class="cu-bar tabbar bg-white shadow foot">
  20. <view class="action" bindtap="NavChange" data-path="pages/index/index">
  21. <view class='cuIcon-cu-image'>
  22. <image src="../../assets/tabber/menu_copy1.png"></image>
  23. </view>
  24. <view class="text-black">首页</view>
  25. </view>
  26. <view class="action" bindtap="NavChange" data-path="pages/add/index">
  27. <view class='cuIcon-cu-image'>
  28. <image src="../../assets/tabber/add_copy1.png"></image>
  29. </view>
  30. <view class="text-black">新增填报</view>
  31. </view>
  32. <view class="action" bindtap="NavChange" data-active="true" data-path="pages/login/index">
  33. <view class='cuIcon-cu-image'>
  34. <image src="../../assets/tabber/my_copy.png"></image>
  35. </view>
  36. <view class="text-blue">我的</view>
  37. </view>
  38. </view>
  39. <van-dialog id="van-dialog" bind:getphonenumber="getphonenumber" />