首页
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user