safe-manage.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <template>
  2. <view class="safe-manage">
  3. <custom-nav noback="noback" transparent="transparent" ref="ltm" title=" " />
  4. <view class="content">
  5. <navigator url="../address-manage/address-manage" class="app-item">
  6. <text>地址管理</text>
  7. <text class="cuIcon-right"></text>
  8. </navigator>
  9. <navigator url="../updata-psw/updata-psw" class="app-item">
  10. <text>修改密码</text>
  11. <text class="cuIcon-right"></text>
  12. </navigator>
  13. <navigator url="../change-phone/change-phone" class="app-item">
  14. <text>手机换绑</text>
  15. <text class="cuIcon-right"></text>
  16. </navigator>
  17. <view class="app-item" @tap="logout">
  18. <text>退出登陆</text>
  19. <text class="cuIcon-right"></text>
  20. </view>
  21. <!-- <navigator url="../apply-return/apply-return" class="app-item">
  22. <text>申请退货</text>
  23. <text class="cuIcon-right"></text>
  24. </navigator> -->
  25. </view>
  26. </view>
  27. </template>
  28. <script>
  29. export default {
  30. data() {
  31. return {
  32. title: '安全中心'
  33. }
  34. },
  35. methods: {
  36. logout() {
  37. this.$store.commit('app/LOGOUT')
  38. uni.reLaunch({ url: '../login-psw/login-psw' })
  39. }
  40. }
  41. }
  42. </script>
  43. <style lang="scss">
  44. .safe-manage {
  45. @include page();
  46. }
  47. </style>