userexit.vue 934 B

123456789101112131415161718192021222324252627282930313233343536373839
  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">
  6. <navigator hover-class="none" :url="'/pages/common/' + item.name" class="nav-li" navigateTo :class="'bg-'+item.color"
  7. :style="[{animation: 'show ' + ((index+1)*0.2+1) + 's 1'}]" v-for="(item,index) in elements" :key="index">
  8. <view class="nav-title">{{item.title}}</view>
  9. <view class="nav-name">{{item.name}}</view>
  10. <text :class="'cuIcon-' + item.cuIcon"></text>
  11. </navigator>
  12. </view>
  13. <view class="cu-tabbar-height"></view>
  14. </scroll-view>
  15. </view>
  16. </template>
  17. <script>
  18. export default {
  19. name: 'user',
  20. data() {
  21. return {
  22. elements: [{
  23. title: '退出',
  24. name: 'exit',
  25. color: 'cyan',
  26. cuIcon: 'newsfill',
  27. auth: 'ac'
  28. }
  29. ],
  30. }
  31. },
  32. methods: {}
  33. }
  34. </script>
  35. <style>
  36. </style>