3b0253604f52862fdf432ca7293e96ea38979e23.svn-base 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <template>
  2. <div>
  3. <div class="letPlate">
  4. <div class="tit">
  5. <span>{{tit}}</span>
  6. </div>
  7. <div class="playCode">
  8. <div class="home flex">
  9. <span class="teamName">单</span>
  10. <div>
  11. <span class="condation">9.5</span>
  12. <span class="odds">1.28</span>
  13. </div>
  14. </div>
  15. <div class="guest flex">
  16. <span class="teamName">双</span>
  17. <div class="oddsBox">
  18. <span class="odds">1.28</span>
  19. </div>
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. </template>
  25. <script>
  26. export default {
  27. data(){
  28. return{
  29. tit:'角球',
  30. }
  31. },
  32. mounted(){
  33. }
  34. }
  35. </script>
  36. <style scoped>
  37. .flex{
  38. display: flex;
  39. justify-content: space-between;
  40. align-items: center;
  41. }
  42. .tit{
  43. background: #373737;
  44. font-size: 0.14rem;
  45. padding: 0 0.1rem;
  46. height: 0.4rem;
  47. line-height: 0.4rem;
  48. color: #b4b4b4;
  49. }
  50. .playCode{
  51. color: rgb(0, 0, 0);
  52. display: flex;
  53. }
  54. .playCode .home,.playCode .guest{
  55. height: 0.4rem;
  56. line-height: 0.4rem;
  57. width: 50%;
  58. background: #fff;
  59. padding: 0 0 0 0.1rem;
  60. }
  61. .playCode .home{
  62. width: calc(50% - 1px);
  63. padding-right: 0.1rem;
  64. border-right: 1px solid #e4e4e4;
  65. }
  66. .oddsBox{
  67. margin-right: 0.1rem;
  68. }
  69. .odds{
  70. display: inline-block;
  71. height: 0.3rem;
  72. border: 1px solid #e4e4e4;
  73. width: 0.5rem;
  74. background-color: #fff;
  75. text-align: center;
  76. line-height: 0.23rem;
  77. margin: 0.07rem auto 0.04rem;
  78. padding: 0.04rem;
  79. }
  80. .odds:hover{
  81. background: orange;
  82. color: #fff;
  83. border-color: orange;
  84. }
  85. .guest{
  86. padding-right: 0.1rem;
  87. }
  88. .home:hover,.guest:hover{
  89. background: #fff5e9;
  90. }
  91. .draw{
  92. width: 20%;
  93. background: #fff;
  94. padding: 0 0.1rem;
  95. border-right: 1px solid #e4e4e4;
  96. }
  97. .condation{
  98. display: inline-block;
  99. color: #bd4700;
  100. margin:0 0.1rem;
  101. }
  102. </style>