venue.vue 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <template>
  2. <view class="detail">
  3. <view class="detail-head flex-col-between">
  4. <u-navbar bgColor="transparent" leftIconColor="#fff" :fixed="false" leftIconSize="48" :autoBack="true"></u-navbar>
  5. <view class="mg-bt24 pd-lt24">
  6. <view class="size40 cfff Bold">
  7. <!-- THhe Rose Bowl -->
  8. {{ $t('match.la8') }}
  9. </view>
  10. <view class="size28 cC flex-start">
  11. <text class="mg-rt80">
  12. <!-- Southampton,England -->
  13. {{ $t('match.la9') }}
  14. </text>
  15. <text>6500</text>
  16. </view>
  17. </view>
  18. </view>
  19. <view class="main size28 c3">
  20. <text class="size32 Bold">
  21. <!-- Pitch Report -->
  22. {{ $t('match.la10') }}
  23. </text>
  24. <view class="mg-tp24">
  25. <text class="Bold">
  26. <!-- Pitch Behaviour -->
  27. {{ $t('match.la11') }}
  28. </text>
  29. <view class="size24 c6">
  30. <!-- Based on last 2 Years data -->
  31. {{ $t('match.la12') }}
  32. </view>
  33. </view>
  34. <view class="ball-info flex-start align-end">
  35. <u-line color="#EEA831" direction="col" dashed length="209rpx" class="mg-rt11"></u-line>
  36. <view class="size24 mg-bt151 mg-rt74">
  37. <text class="c6">
  38. <!-- OVERALL -->
  39. {{ $t('match.la13') }}
  40. </text>
  41. <view class="Bold">
  42. <!-- Bowling -->
  43. {{ $t('match.la14') }}
  44. </view>
  45. </view>
  46. <u-line color="#EEA831" direction="col" dashed length="104rpx" class="mg-bt46 mg-rt11"></u-line>
  47. <view class="size24 mg-bt85 mg-rt74">
  48. <text class="c6">
  49. <!-- BEST SUITED FOR -->
  50. {{ $t('match.la15') }}
  51. </text>
  52. <view class="Bold">
  53. <!-- Pacers -->
  54. {{ $t('match.la16') }}
  55. </view>
  56. </view>
  57. </view>
  58. </view>
  59. <u-gap height="24" bgColor="#E5E5E5"></u-gap>
  60. <view class="main size28 c3 mg-tp12">
  61. <text class="size32 Bold">
  62. <!-- Statistics -->
  63. {{ $t('match.la17') }}
  64. </text>
  65. <view class="mg-tp24">
  66. <text class="Bold">
  67. <!-- Top players at this venue -->
  68. {{ $t('match.la18') }}
  69. </text>
  70. <view class="size24 c6">
  71. <!-- Based on last 2 Years The Hunderd matches -->
  72. {{ $t('match.la19') }}
  73. </view>
  74. </view>
  75. <view class="table-list">
  76. <view class="table-list-header bgE5 size24 c6">
  77. <view>
  78. <!-- BATSMEN -->
  79. {{ $t('match.la20') }}
  80. </view>
  81. <view class="flexcenter">
  82. <!-- Matches -->
  83. {{ $t('match.lab83') }}
  84. </view>
  85. <view class="flexcenter">{{ $t('match.lab83') }}</view>
  86. <view>SR</view>
  87. </view>
  88. <view class="table-list-item flex-start" v-for="item in 5" :key="item">
  89. <view class="">
  90. <text>{{ $t('match.la30') }}</text>
  91. <view class="sob">
  92. SOB
  93. </view>
  94. </view>
  95. <view class="flexcenter">6</view>
  96. <view class="flexcenter">34.2</view>
  97. <view>141.37</view>
  98. </view>
  99. </view>
  100. <view class="infomation flex-start">
  101. <image src="../../static/image/match/venue_prompt_ico.png" mode="aspectFit" class="prompt-pic"></image>
  102. <text class="size24 c9">
  103. <!-- No information found on past performances of the
  104. other team's batsmen at this venue. -->
  105. {{ $t('match.la21') }}
  106. </text>
  107. </view>
  108. <view class="mg-tp36 Bold">
  109. <!-- The Hundred Stats -->
  110. {{ $t('match.la22') }}
  111. </view>
  112. <u-row justify="space-between">
  113. <view class="size24">
  114. <text class="c6">
  115. <!-- AVG.TOTAL SCORE -->
  116. {{ $t('match.la23') }}
  117. </text>
  118. <view class="size40 mg-bt16">
  119. 132
  120. </view>
  121. </view>
  122. <view class="size24">
  123. <text class="c6">
  124. <!-- AVG.1ST INNINGS SCORE -->
  125. {{ $t('match.la24') }}
  126. </text>
  127. <view class="size40 mg-bt16">
  128. 132
  129. </view>
  130. </view>
  131. </u-row>
  132. <view class="size24 mg-tp44">
  133. <text class="c6">
  134. <!-- TOSS WINERS OPT TO -->
  135. {{ $t('match.la25') }}
  136. </text>
  137. <u-line-progress class="mg-tp24" activeColor="#DC3C23" inactiveColor="#CCCCCC" :percentage="60" :showText="false"></u-line-progress>
  138. <view class="flex Bold" :style="{width:'60%'}">
  139. <text>
  140. <!-- Bowl First -->
  141. {{ $t('match.la26') }}
  142. </text>
  143. <text>60%</text>
  144. </view>
  145. </view>
  146. <view class="size24 mg-tp44">
  147. <text class="c6">
  148. <!-- TOSS WINERS OPT TO -->
  149. {{ $t('match.la25') }}
  150. </text>
  151. <u-line-progress class="mg-tp24" activeColor="#DC3C23" inactiveColor="#CCCCCC" :percentage="80" :showText="false"></u-line-progress>
  152. <view class="flex Bold" :style="{width:'80%'}">
  153. <text>
  154. <!-- Wins -->
  155. {{ $t('match.la27') }}
  156. </text>
  157. <text>80%</text>
  158. </view>
  159. </view>
  160. </view>
  161. <u-gap height="24" bgColor="#E5E5E5"></u-gap>
  162. <view class="main mg-tp12">
  163. <text class="size32 c3 Bold">
  164. <!-- Venue Info -->
  165. {{ $t('match.la28') }}
  166. </text>
  167. <view class="mg-tp24 avg">
  168. {{ $t('match.la29') }}
  169. </view>
  170. </view>
  171. </view>
  172. </template>
  173. <script>
  174. export default {
  175. data() {
  176. return {
  177. };
  178. }
  179. }
  180. </script>
  181. <style lang="scss">
  182. .detail-head {
  183. background: url(@/static/image/match/venue_context.png) center top / 100% 100% no-repeat;
  184. height: 406rpx;
  185. }
  186. .main{
  187. padding: 24rpx 28rpx;
  188. .ball-info{
  189. margin: 24rpx 114rpx 0;
  190. background: url('@/static/image/match/expert_pitch.png') center bottom/100% auto no-repeat;
  191. }
  192. .table-list{
  193. margin-top: 24rpx;
  194. background: #FFFFFF;
  195. box-shadow: 0rpx 0rpx 8rpx 1rpx $color7;
  196. border-radius: 10rpx 10rpx 10rpx 10rpx;
  197. overflow: hidden;
  198. .table-list-header{
  199. display: grid;
  200. grid-template-rows: 80rpx;
  201. padding: 0 24rpx;
  202. grid-template-columns: 158rpx 160rpx 200rpx 151rpx;
  203. line-height: 80rpx;
  204. }
  205. .table-list-item{
  206. display: grid;
  207. border-bottom: 1rpx solid #E5E5E5;
  208. grid-template-rows: 120rpx;
  209. grid-template-columns: 158rpx 160rpx 200rpx 151rpx;
  210. padding: 0 24rpx;
  211. .sob{
  212. background-color: #219430;
  213. padding: 1rpx 16rpx;
  214. color: #FFFFFF;
  215. width: max-content;
  216. }
  217. }
  218. }
  219. .infomation{
  220. border-radius: 10rpx;
  221. padding: 8rpx 27rpx;
  222. margin-top: 24rpx;
  223. background-color: #E5E5E5;
  224. .prompt-pic{
  225. width: 42rpx;
  226. height: 42rpx;
  227. margin-right: 24rpx;
  228. }
  229. }
  230. .avg{
  231. font-size: 24rpx;
  232. }
  233. }
  234. </style>