| r1398 vs r1399 | ||
|---|---|---|
| 1 | 1 | {{{#!style |
| 2 | .mine-cell {vertical-align:middle;display:inline-block;width:30px;height:30px;background:#000} | |
| 2 | .mine-cell {vertical-align:middle;display:inline-block;width:30px;height:30px;background:conic-gradient(from 45deg, #bbb 90deg, #888 0, #888 180deg, #ddd 0, #ddd 270deg, #fff 0)} | |
| 3 | 3 | .mine-num {vertical-align:middle;display:inline-block} |
| 4 | 4 | }}} |
| 5 | 5 | {{{#!if mine = [0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] |
| 6 | 6 | }}} |
| 7 | 7 | |
| 8 | ||<nopad> {{{#!wiki class="mine-cell" | |
| 8 | ||<nopad> {{{#!wiki class="mine-cell" onclick="" | |
| 9 | 9 | {{{#!wiki class="mine-num" |
| 10 | 10 | {{{#!if index = 0, cell = 0 |
| 11 | 11 | }}}{{{#!if mine[index] == 0 |
| ... | ... | |
| 235 | 235 | |
| 236 | 236 | |
| 237 | 237 | {{{#!style |
| 238 | .box | |
| 239 | .box | |
| 238 | .box_a {width:50px;height:50px;background:red} | |
| 239 | .box_b {width:50px;height:50px;background:blue} | |
| 240 | 240 | .box-hide {background:#990} |
| 241 | 241 | .box-show {background:#090} |
| 242 | 242 | }}} |
| 243 | 243 | |
| 244 | 244 | |
| 245 | {{{#!if class = " | |
| 246 | ||
| 245 | {{{#!if class = "" | |
| 247 | 246 | }}} |
| 248 | {{{#!wiki class="all box | |
| 249 | }}}}}} | |
| 247 | {{{#!wiki class="all box_a" onclick="add-class,box_a,box-hide" | |
| 248 | }}} | |
| 249 | {{{#!wiki class="all box_b" onclick="add-class,box_b,box-hide" | |
| 250 | }}} | |
| 250 | 251 | |
| 251 | 252 | |
| 252 | 253 | |
| ... | ... |