Browse Source

punish chips

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

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

120
             <div>{{reason(scope.row.rule)}}</div>
120
             <div>{{reason(scope.row.rule)}}</div>
121
           </template>
121
           </template>
122
         </el-table-column>
122
         </el-table-column>
123
-        <el-table-column prop="chips" label="金額">
123
+        <el-table-column label="金額">
124
+          <template slot-scope="scope">
125
+            <div :style="moneyColor((scope.row.chips)*(-1))">{{(scope.row.chips)*(-1)}}</div>
126
+          </template>
124
         </el-table-column>
127
         </el-table-column>
125
       </el-table-column>      
128
       </el-table-column>      
126
     </el-table>
129
     </el-table>