r1398 vs r1399
11
{{{#!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)}
33
.mine-num {vertical-align:middle;display:inline-block}
44
}}}
55
{{{#!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]
66
}}}
77
8
||<nopad> {{{#!wiki class="mine-cell"
8
||<nopad> {{{#!wiki class="mine-cell" onclick=""
99
{{{#!wiki class="mine-num"
1010
{{{#!if index = 0, cell = 0
1111
}}}{{{#!if mine[index] == 0
......
235235
236236
237237
{{{#!style
238
.box-1 {width:50px;height:50px;background:red}
239
.box-2 {width:50px;height:50px;background:blue}
238
.box_a {width:50px;height:50px;background:red}
239
.box_b {width:50px;height:50px;background:blue}
240240
.box-hide {background:#990}
241241
.box-show {background:#090}
242242
}}}
243243
244244
245
{{{#!if class = "all"
246
{{{#!wiki class="all box-1" onclick="add-class,@class@,box-hide"
245
{{{#!if class = ""
247246
}}}
248
{{{#!wiki class="all box-2" onclick="add-class,box-2,box-hide"
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
}}}
250251
251252
252253
......