mock平台

Intro.scss 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. $imgUrl: "../../../static/image/";
  2. $color-grey: #E5E5E5;
  3. $color-blue: #2395f1;
  4. $color-white: #fff;
  5. .intro-container{
  6. .imgWrapper{
  7. height: 100%;
  8. width: 50%;
  9. overflow: hidden;
  10. position: absolute;
  11. left: 0;
  12. }
  13. .textWrapper{
  14. display: block;
  15. width: 50%;
  16. height: 150px;
  17. vertical-align: top;
  18. position: absolute;
  19. margin: auto;
  20. right: 0;
  21. }
  22. .des-container{
  23. padding-left: .15rem;
  24. .des-title{
  25. font-size: .24rem;
  26. margin-bottom: .1rem;
  27. }
  28. .des-detail{
  29. font-size: .15rem;
  30. margin-bottom: .2rem;
  31. }
  32. .des-switch{
  33. .switch-content{
  34. float: left;
  35. width: 50%;
  36. max-height: .85rem;
  37. font-size: .14rem;
  38. padding: .1rem .15rem .1rem 0;
  39. div{
  40. float: left;
  41. }
  42. .icon-switch{
  43. height: .4rem;
  44. width: .4rem;
  45. border-radius: .02rem;
  46. background-color: $color-blue;
  47. margin-right: .1rem;
  48. color: $color-white;
  49. display: flex;
  50. align-items: center;
  51. justify-content: center;
  52. font-size: .18rem;
  53. }
  54. .text-switch{
  55. width: calc(100% - .65rem);
  56. }
  57. }
  58. }
  59. }
  60. .img-container{
  61. height: 100%;
  62. width: 100%;
  63. padding-right: .15rem;
  64. //background-image: url("#{$imgUrl}demo-img.png");
  65. img{
  66. height: 100%;
  67. width: 100%;
  68. border: .01rem solid $color-grey;
  69. box-shadow : 0 0 3px 1px $color-grey;
  70. border-radius: .04rem;
  71. }
  72. }
  73. }