login.vue 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <template>
  2. <view class="page-bg container">
  3. <view class="back-container">
  4. <navigator url="/pages/index/index">
  5. <uni-icons type="back" size="40" color="#FFFFFF"></uni-icons>
  6. </navigator>
  7. </view>
  8. <view class="login-container">
  9. <view class="avator-container">
  10. <uni-icons type="person" size="130" color="#FFFFFF"></uni-icons>
  11. </view>
  12. <view class="btn-container">登录</view>
  13. </view>
  14. </view>
  15. </template>
  16. <script setup>
  17. </script>
  18. <style lang="scss" scoped>
  19. .container {
  20. width: 100vw;
  21. height: 100vh;
  22. padding: 16rpx;
  23. .back-container {
  24. left: 16rpx;
  25. top: 39px;
  26. width: 90rpx;
  27. height: 90rpx;
  28. border-radius: 50%;
  29. background-color: rgba(0, 0, 0, 0.1);
  30. display: flex;
  31. justify-content: center;
  32. align-items: center;
  33. }
  34. .login-container {
  35. width: 100%;
  36. height: 100%;
  37. display: flex;
  38. justify-content: center;
  39. align-items: center;
  40. flex-direction: column;
  41. .avator-container {
  42. left: 222rpx;
  43. top: 254rpx;
  44. width: 307rpx;
  45. height: 307rpx;
  46. background: #D2EFF3;
  47. border-radius: 50%;
  48. box-shadow: 0px 2px 2px 0px #DBDBDB;
  49. display: flex;
  50. justify-content: center;
  51. align-items: center;
  52. }
  53. .btn-container {
  54. margin-top: 57rpx;
  55. width: 500rpx;
  56. height: 100rpx;
  57. border-radius: 20rpx;
  58. background: #2A82E4;
  59. font-size: 48rpx;
  60. font-weight: 700;
  61. letter-spacing: 0rpx;
  62. line-height: 69.5rpx;
  63. color: #FFFFFF;
  64. display: flex;
  65. justify-content: center;
  66. align-items: center;
  67. }
  68. }
  69. }
  70. </style>