ethan 6 yıl önce
ebeveyn
işleme
43686dbe98
1 değiştirilmiş dosya ile 1 ekleme ve 4 silme
  1. 1 4
      src/views/gambleGameBucket/detail/index.vue

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

@@ -25,7 +25,7 @@
25 25
           <el-table-column label="莊家" prop="MemberRecord.GambleMember.name"></el-table-column>
26 26
           <el-table-column label="點數">
27 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 29
             </template>
30 30
           </el-table-column>
31 31
           <el-table-column label="上莊分數">
@@ -671,9 +671,6 @@ export default {
671 671
         screenfull.request(document.getElementById('full'));
672 672
       }
673 673
     },
674
-    pointColor(data) {
675
-      return data === -1 ? { color: '#FA5555' } : ''
676
-    }
677 674
   },
678 675
   destroyed() {
679 676
     this.SetVisible(1)