Login.vue 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <template>
  2. <view class="index-login">
  3. <view class="logo-black logo" />
  4. <swiper-box type="login" height="380rpx" />
  5. <view class="btn-box dir-top-wrap main-center cross-center">
  6. <view class="static-text">登陆极创社</view>
  7. <u-button
  8. text="登陆"
  9. color="#000"
  10. shape="square"
  11. :custom-style="btnStyle"
  12. @click="$u.route({url: '/pages/login'})"
  13. />
  14. <u-button
  15. text="联系我们"
  16. color="#000"
  17. shape="square"
  18. :plain="true"
  19. :custom-style="btnStyle"
  20. @click="$u.route({url: '/pages/forget'})"
  21. />
  22. </view>
  23. </view>
  24. </template>
  25. <script>
  26. import SwiperBox from '../SwiperBox'
  27. export default {
  28. name: 'IndexLogin',
  29. components: { SwiperBox },
  30. data() {
  31. return {
  32. btnStyle: {
  33. marginTop: '30rpx',
  34. width: '580rpx',
  35. borderRadius: 0
  36. }
  37. }
  38. },
  39. computed: {},
  40. methods: {}
  41. }
  42. </script>
  43. <style lang="scss" scoped>
  44. .index-login {
  45. .logo{
  46. margin: 80rpx auto 30rpx;
  47. }
  48. .btn-box{
  49. margin-top: 120rpx;
  50. letter-spacing: .1rem;
  51. .static-text{
  52. color: $primary-color;
  53. margin-bottom: 10rpx;
  54. }
  55. }
  56. }
  57. </style>