Commit 9e838d83 authored by 神楽坂玲奈's avatar 神楽坂玲奈

Merge pull request #1 from zh99998/master

demo
parents 4159aeae 864e705a
This diff is collapsed.
...@@ -9,7 +9,7 @@ $(document).ready -> ...@@ -9,7 +9,7 @@ $(document).ready ->
$(this).attr 'data-attribute', value $(this).attr 'data-attribute', value
, { , {
placeholder: "" placeholder: ""
data: JSON.stringify {'water': '水', 'fire': '炎'} data: JSON.stringify {'dark': '暗', 'divine': '神', 'earth': '地', 'fire': '炎', 'light': '光', 'water': '水', 'wind': '风'}
type: 'select' type: 'select'
submit: 'OK' submit: 'OK'
} }
......
...@@ -13,8 +13,13 @@ ...@@ -13,8 +13,13 @@
}, { }, {
placeholder: "", placeholder: "",
data: JSON.stringify({ data: JSON.stringify({
'dark': '',
'divine': '',
'earth': '',
'fire': '',
'light': '',
'water': '', 'water': '',
'fire': '' 'wind': ''
}), }),
type: 'select', type: 'select',
submit: 'OK' submit: 'OK'
......
...@@ -58,6 +58,11 @@ ...@@ -58,6 +58,11 @@
} }
.attribute[data-attribute="water"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/水.png)} .attribute[data-attribute="water"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/水.png)}
.attribute[data-attribute="fire"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/炎.png)} .attribute[data-attribute="fire"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/炎.png)}
.attribute[data-attribute="dark"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/暗.png)}
.attribute[data-attribute="light"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/光.png)}
.attribute[data-attribute="earth"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/地.png)}
.attribute[data-attribute="wind"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/风.png)}
.attribute[data-attribute="divine"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/神.png)}
.level { .level {
position: absolute; position: absolute;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment