ethan 6 years ago
parent
commit
43686dbe98
1 changed files with 1 additions and 4 deletions
  1. 1 4
      src/views/gambleGameBucket/detail/index.vue

+ 1 - 4
src/views/gambleGameBucket/detail/index.vue

25
           <el-table-column label="莊家" prop="MemberRecord.GambleMember.name"></el-table-column>
25
           <el-table-column label="莊家" prop="MemberRecord.GambleMember.name"></el-table-column>
26
           <el-table-column label="點數">
26
           <el-table-column label="點數">
27
             <template slot-scope="scope">
27
             <template slot-scope="scope">
28
-              <span :style="pointColor(scope.row.DealingRecord.point1)">{{`${scope.row.DealingRecord.point1 === -1 ? '' : scope.row.DealingRecord.point1 + ' | '} ${scope.row.DealingRecord.point2 === -1 ? '' : scope.row.DealingRecord.point2 + ' / '} ${point(scope.row.DealingRecord)}`}}</span>
28
+              <span>{{`${scope.row.DealingRecord.point1 === -1 ? '' : scope.row.DealingRecord.point1 + ' | '} ${scope.row.DealingRecord.point2 === -1 ? '' : scope.row.DealingRecord.point2 + ' / '} ${point(scope.row.DealingRecord)}`}}</span>
29
             </template>
29
             </template>
30
           </el-table-column>
30
           </el-table-column>
31
           <el-table-column label="上莊分數">
31
           <el-table-column label="上莊分數">
671
         screenfull.request(document.getElementById('full'));
671
         screenfull.request(document.getElementById('full'));
672
       }
672
       }
673
     },
673
     },
674
-    pointColor(data) {
675
-      return data === -1 ? { color: '#FA5555' } : ''
676
-    }
677
   },
674
   },
678
   destroyed() {
675
   destroyed() {
679
     this.SetVisible(1)
676
     this.SetVisible(1)