userexit.vue 950 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template name="user">
  2. <view>
  3. <scroll-view scroll-y class="page">
  4. <!-- <image src="/static/componentBg.png " mode="widthFix" class="response"></image> -->
  5. <view class="nav-list u-m-t-30">
  6. <navigator hover-class="none" :url="'/pages/common/' + item.name" class="nav-li" navigateTo
  7. :class="'bg-'+item.color" :style="[{animation: 'show ' + ((index+1)*0.2+1) + 's 1'}]"
  8. v-for="(item,index) in elements" :key="index">
  9. <view class="nav-title">{{item.title}}</view>
  10. <view class="nav-name">{{item.name}}</view>
  11. <text :class="'cuIcon-' + item.cuIcon"></text>
  12. </navigator>
  13. </view>
  14. <view class="cu-tabbar-height"></view>
  15. </scroll-view>
  16. </view>
  17. </template>
  18. <script>
  19. export default {
  20. name: 'user',
  21. data() {
  22. return {
  23. elements: [{
  24. title: '退出',
  25. name: 'exit',
  26. color: 'cyan',
  27. cuIcon: 'newsfill',
  28. auth: 'ac'
  29. }],
  30. }
  31. },
  32. methods: {
  33. }
  34. }
  35. </script>
  36. <style>
  37. </style>