index.vue 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <view class="page-box login-box">
  3. <view class="login-form">
  4. <view class="from-title">
  5. <view class="title-bg"></view>
  6. <view class="title-list">
  7. <view class="title-text">验证码登录</view>
  8. <view class="title-text">密码登录</view>
  9. </view>
  10. </view>
  11. </view>
  12. </view>
  13. </template>
  14. <script>
  15. export default {
  16. components: {
  17. },
  18. data() {
  19. return {
  20. }
  21. },
  22. mounted() {
  23. },
  24. methods: {
  25. login() {
  26. uni.redirectTo({
  27. url: '/pages/index/index'
  28. })
  29. },
  30. },
  31. }
  32. </script>
  33. <style lang="scss" scoped>
  34. @import "/common/css/login.css";
  35. .page-box{
  36. background-color: #EEF1F7;
  37. padding-top: 370rpx;
  38. .login-form{
  39. margin: 0 30rpx;
  40. height: 630rpx;
  41. border-radius: 50rpx;
  42. background-color: rgba(255,255,255,0.5);
  43. //opacity: 0.5;
  44. .from-title{
  45. .title-bg{
  46. width: 50%;
  47. background-color: #fff;
  48. }
  49. }
  50. }
  51. }
  52. </style>