index.vue 1001 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <template>
  2. <view>
  3. <car-common mytitle="绑定手机号" ref="common" ></car-common>
  4. <view class="updatephone">
  5. <img src="static/img/icon-phoneSafe.png" alt="">
  6. <h4>已绑定手机号:{{showphone(user.phone)}}</h4>
  7. <p>您可使用绑定的手机号登录当前账号</p>
  8. <view class="updatephone-btn">
  9. <u-button shape="circle" @click="gotoUrl()">更换绑定</u-button>
  10. <p v-if="false">为降低账号安全风险,每6个月仅能更换2次,</br>请谨慎修改</p>
  11. </view>
  12. </view>
  13. </view>
  14. </template>
  15. <script>
  16. import api from './index.js'
  17. export default api;
  18. </script>
  19. <style>
  20. page{background-color: #f7f7f7;}
  21. </style>
  22. <style scoped lang="scss">
  23. .updatephone{
  24. text-align: center;
  25. padding: 50px 15px;
  26. img{
  27. width: 160px;
  28. margin-bottom: 20px;
  29. }
  30. h4{
  31. font-size: 16px;
  32. margin-bottom: 5px;
  33. }
  34. p{
  35. color:#999;
  36. }
  37. .updatephone-btn{
  38. margin-top: 20px;
  39. p{
  40. color: rgb(255, 58, 58);
  41. margin-top: 10px;
  42. }
  43. }
  44. }
  45. </style>