login.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <template>
  2. <view class="page align-center flex-col">
  3. <view class="header-sec align-center flex-col">
  4. <image src="" mode="" class="logo"></image>
  5. <text class="txt">盲go小程序</text>
  6. </view>
  7. <view class="btn-auth">微信用户一键登录</view>
  8. <view class="btn-mobile" @tap="navTo('/pages/login/mobileLogin')">手机号码登录</view>
  9. </view>
  10. </template>
  11. <script>
  12. export default {
  13. data() {
  14. return {
  15. };
  16. },
  17. async onLoad() {
  18. },
  19. }
  20. </script>
  21. <style lang="scss">
  22. page{
  23. background-color: #fff;
  24. }
  25. .header-sec{
  26. width: 100%;
  27. height: 832rpx;
  28. padding-top: 160rpx;
  29. .logo{
  30. width: 180rpx;
  31. height: 180rpx;
  32. border-radius: 180rpx;
  33. background-color: $base-color;
  34. }
  35. .txt{
  36. margin-top: 33rpx;
  37. font-size: 28rpx;
  38. font-family: PingFang SC;
  39. font-weight: 500;
  40. color: #92B99C;
  41. }
  42. }
  43. .btn-auth{
  44. width: 630rpx;
  45. height: 84rpx;
  46. background: $base-color;
  47. border-radius: 8rpx;
  48. line-height: 84rpx;
  49. text-align: center;
  50. font-size: 34rpx;
  51. font-family: PingFang SC;
  52. font-weight: 500;
  53. color: #FFFFFF;
  54. }
  55. .btn-mobile{
  56. margin-top: 30rpx;
  57. width: 630rpx;
  58. height: 84rpx;
  59. border-radius: 8rpx;
  60. line-height: 84rpx;
  61. text-align: center;
  62. font-size: 34rpx;
  63. font-family: PingFang SC;
  64. font-weight: 500;
  65. color: $base-color;
  66. }
  67. </style>