setting.vue 997 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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: 'linear-gradient(145deg, #41AFF9 0%, #2D8CFB 100%)' }"></u-navbar>
  10. <view class="cell-group" style="margin-top: 30rpx;">
  11. <u-cell-group>
  12. <u-cell-item title="修改密码" @click="openPage('pages/modifypwd/modifypwd')">
  13. <u-icon slot="icon" custom-prefix="custom-icon" size="35" name="wodecheliang"></u-icon>
  14. </u-cell-item>
  15. </u-cell-group>
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. export default{
  21. data(){
  22. return{
  23. }
  24. },
  25. onLoad(){
  26. },
  27. onShow(){
  28. },
  29. methods:{
  30. customBack(){
  31. this.$u.route({
  32. // type:'switchTab',
  33. url: 'pages/index/index'
  34. });
  35. },
  36. openPage(path) {
  37. // console.log('path',path);
  38. this.$u.route({
  39. url: path
  40. });
  41. },
  42. }
  43. }
  44. </script>
  45. <style lang="scss" scoped>
  46. @import './setting.scss'
  47. </style>