setting.vue 539 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <template>
  2. <view>
  3. <u-navbar
  4. title="设置"
  5. title-color="#fff"
  6. :custom-back="customBack"
  7. :border-bottom="false"
  8. back-icon-color="#CCE8FF"
  9. :background="{background: '#008CFF' }"></u-navbar>
  10. </view>
  11. </template>
  12. <script>
  13. export default{
  14. data(){
  15. return{
  16. }
  17. },
  18. onLoad(){
  19. },
  20. onShow(){
  21. },
  22. methods:{
  23. customBack(){
  24. this.$u.route({
  25. // type:'switchTab',
  26. url: 'pages/index/index'
  27. });
  28. },
  29. }
  30. }
  31. </script>
  32. <style lang="scss" scoped>
  33. @import './setting.scss'
  34. </style>