| 
									
										
										
										
											2022-04-10 00:30:43 +08:00
										 |  |  | <script setup lang="ts"> | 
					
						
							|  |  |  | import { ref } from "vue"; | 
					
						
							| 
									
										
										
										
											2022-04-16 23:40:11 +08:00
										 |  |  | import { BJ_Casino_Data } from "../script/BJ_Casino_Data"; | 
					
						
							|  |  |  | import { BJ_Casino_Magnification } from "../script/BJ_Casino_Magnification"; | 
					
						
							| 
									
										
										
										
											2022-04-10 00:30:43 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-04-16 23:40:11 +08:00
										 |  |  | const props = defineProps<{ BJ_Casino: BJ_Casino_Data }>() | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | let Title = ref(""); | 
					
						
							| 
									
										
										
										
											2022-04-10 23:06:20 +08:00
										 |  |  | let RankData = ref([]); | 
					
						
							| 
									
										
										
										
											2022-04-10 00:30:43 +08:00
										 |  |  | const self = { | 
					
						
							| 
									
										
										
										
											2022-04-15 14:34:05 +08:00
										 |  |  |     Title: Title, | 
					
						
							|  |  |  |     RankData: RankData, | 
					
						
							| 
									
										
										
										
											2022-04-16 23:40:11 +08:00
										 |  |  |     BJ_Casino: props.BJ_Casino, | 
					
						
							| 
									
										
										
										
											2022-04-10 00:30:43 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2022-04-16 23:40:11 +08:00
										 |  |  | const Script = new BJ_Casino_Magnification(self); | 
					
						
							| 
									
										
										
										
											2022-04-10 23:06:20 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-04-10 00:30:43 +08:00
										 |  |  | </script> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <template> | 
					
						
							| 
									
										
										
										
											2022-04-10 01:14:23 +08:00
										 |  |  |     <h1>{{ Title }}</h1> | 
					
						
							| 
									
										
										
										
											2022-04-10 23:06:20 +08:00
										 |  |  |     <div class="d-flex justify-content-center"> | 
					
						
							|  |  |  |         <table class="table table-striped table-info table-hover"> | 
					
						
							|  |  |  |             <thead> | 
					
						
							|  |  |  |                 <tr> | 
					
						
							|  |  |  |                     <th align="left">排名</th> | 
					
						
							|  |  |  |                     <th align="left">名稱</th> | 
					
						
							|  |  |  |                     <th align="left">倍率</th> | 
					
						
							|  |  |  |                     <th align="left">機台</th> | 
					
						
							|  |  |  |                     <th align="left">桌號</th> | 
					
						
							| 
									
										
										
										
											2022-04-15 14:34:05 +08:00
										 |  |  |                     <th align="left">日期</th> | 
					
						
							| 
									
										
										
										
											2022-04-10 23:06:20 +08:00
										 |  |  |                 </tr> | 
					
						
							|  |  |  |             </thead> | 
					
						
							|  |  |  |             <tbody> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                 <tr v-for="(item, index) in RankData" :key="index"> | 
					
						
							|  |  |  |                     <td> | 
					
						
							|  |  |  |                         <font size="5"><b>{{ item[0] }}</b></font> | 
					
						
							|  |  |  |                     </td> | 
					
						
							|  |  |  |                     <td align="left"> | 
					
						
							|  |  |  |                         <font size="5"><b>{{ item[2][1] }}</b></font> | 
					
						
							|  |  |  |                     </td> | 
					
						
							|  |  |  |                     <td align="left"> | 
					
						
							|  |  |  |                         <font size="5"><b>{{ Math.floor(item[1]) }}</b></font> | 
					
						
							|  |  |  |                     </td> | 
					
						
							|  |  |  |                     <td align="left"> | 
					
						
							|  |  |  |                         <font size="5"><b>{{ item[3][0] }}</b></font> | 
					
						
							|  |  |  |                     </td> | 
					
						
							|  |  |  |                     <td align="left"> | 
					
						
							|  |  |  |                         <font size="5"><b>{{ item[3][1] }}</b></font> | 
					
						
							|  |  |  |                     </td> | 
					
						
							| 
									
										
										
										
											2022-04-15 14:34:05 +08:00
										 |  |  |                     <td align="left"> | 
					
						
							|  |  |  |                         <font size="5"><b>{{ item[4] }}</b></font> | 
					
						
							|  |  |  |                     </td> | 
					
						
							| 
									
										
										
										
											2022-04-10 23:06:20 +08:00
										 |  |  |                 </tr> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             </tbody> | 
					
						
							| 
									
										
										
										
											2022-04-15 14:34:05 +08:00
										 |  |  |         </table> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2022-04-10 00:30:43 +08:00
										 |  |  | </template> |