index.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. .xr-control {
  2. position: absolute;
  3. left: 50%;
  4. width: 720rpx;
  5. height: 200rpx;
  6. margin-left: -360rpx;
  7. margin-top: -220rpx;
  8. text-align: center;
  9. }
  10. .control-item {
  11. display: inline-block;
  12. vertical-align: middle;
  13. width: 160rpx;
  14. margin: 0 10rpx;
  15. height: 100%;
  16. border-radius: 10rpx;
  17. text-align: center;
  18. }
  19. .control-item.active .item-title {
  20. color: #fff;
  21. background-color: forestgreen;
  22. border: 4rpx solid #fff;
  23. }
  24. .item-title {
  25. font-size: 18rpx;
  26. line-height: 60rpx;
  27. border-radius: 10rpx;
  28. border: 4rpx solid #000;
  29. background-color: #fff;
  30. transition: all 0.3s;
  31. }
  32. .img-wrap {
  33. display: inline-block;
  34. width: 80rpx;
  35. height: 80rpx;
  36. border-radius: 50rpx;
  37. margin: 10rpx 5rpx;
  38. overflow: hidden;
  39. border: 4rpx solid #fff;
  40. }
  41. .hint-img {
  42. width: 100%;
  43. height: 100%;
  44. }
  45. .hint-img.lh {
  46. height: 110%;
  47. padding-top: -5%;
  48. }
  49. .hint-img.lw {
  50. width: 130%;
  51. margin-left: -15%;
  52. }
  53. .marker-wrap {
  54. position: absolute;
  55. left: -50%;
  56. top: 50%;
  57. transition: left 0.1s, top 0.1s, width 0.1s, height 0.1s;
  58. }
  59. .marker-img-lt {
  60. position: absolute;
  61. left: 0;
  62. top: 0;
  63. width: 34px;
  64. height: 34px;
  65. }
  66. .marker-img-rt {
  67. position: absolute;
  68. right: 0;
  69. top: 0;
  70. width: 34px;
  71. height: 34px;
  72. transform: scaleX(-1);
  73. }
  74. .marker-img-lb {
  75. position: absolute;
  76. left: 0;
  77. bottom: 0;
  78. width: 34px;
  79. height: 34px;
  80. transform: scaleY(-1);
  81. }
  82. .marker-img-rb {
  83. position: absolute;
  84. right: 0;
  85. bottom: 0;
  86. width: 34px;
  87. height: 34px;
  88. transform: scale(-1, -1);
  89. }
  90. .border-lt {
  91. position: absolute;
  92. left: 0;
  93. top: 0;
  94. }
  95. .border-rt {
  96. position: absolute;
  97. right: 0;
  98. top: 0;
  99. transform: rotate(90deg);
  100. }
  101. .border-lb {
  102. position: absolute;
  103. left: 0;
  104. bottom: 0;
  105. transform: rotate(270deg);
  106. }
  107. .border-rb {
  108. position: absolute;
  109. right: 0;
  110. bottom: 0;
  111. transform: rotate(180deg);
  112. }