This commit is contained in:
zhangdingyu
2019-09-19 16:50:07 +08:00
parent f4e35da1f6
commit a53f72a4dc
10 changed files with 18 additions and 9 deletions

View File

@@ -6,7 +6,7 @@
<el-divider content-position="right" style="margin:24px"/>
<div v-for="(sudoku,index) in sudokus" :class="curSelect === sudoku.id?'opacity':''" :key="index+9999" shadow="hover" class="sudoku_item" style="background: white;border: 2px solid rgb(208,222,234)">
<router-link :to="sudoku.router" style="width: 100%">
<el-badge :value="sudoku.value" style="width: 100%;text-align:center">
<el-badge :value="sudoku.value" class="dashbadge" style="width: 100%;text-align:center">
<svg-icon :icon-class="sudoku.icon" :style="{color:colors[index]}" style="width: 25px;height: 25px"/>
<h2 :style="{color:colors[index]}" style="margin: 0px;height: 30px;display: inline-block;line-height: 30px">{{ sudoku.name }}</h2>
</el-badge>
@@ -229,3 +229,11 @@ export default {
}
}
</style>
<style>
.el-badge__content {
background-color: rgb(255,151,91);
}
/*#dashbadge {*/
/*background-color: rgb(255,151,91);*/
/*}*/
</style>