Commit 15c62341 authored by 毛线's avatar 毛线

按钮优化

parent a7aa82e7
...@@ -123,10 +123,12 @@ export default { ...@@ -123,10 +123,12 @@ export default {
return btnList.filter(i => i.buttonStatus === 1) return btnList.filter(i => i.buttonStatus === 1)
}, },
btnList1() { btnList1() {
return this.btnList.filter((i, index) => index < 6) const i = this.btnList.length / 2
return this.btnList.filter((item, index) => index < i)
}, },
btnList2() { btnList2() {
return this.btnList.filter((i, index) => index >= 6) const i = this.btnList.length / 2
return this.btnList.filter((item, index) => index >= i)
}, },
// 当前设备 // 当前设备
device() { device() {
...@@ -496,7 +498,7 @@ export default { ...@@ -496,7 +498,7 @@ export default {
} }
} }
.right-option { .right-option {
width: 714px; width: 742px;
margin-left: 20px; margin-left: 20px;
margin-bottom: 4px; margin-bottom: 4px;
background-image: url(@/assets/images/temp/game/play.png); background-image: url(@/assets/images/temp/game/play.png);
...@@ -505,10 +507,12 @@ export default { ...@@ -505,10 +507,12 @@ export default {
.btn-block { .btn-block {
position: absolute; position: absolute;
left: 30px; left: 10px;
top: 14px; top: 14px;
width: 408px;
.box { .box {
display: flex; display: flex;
justify-content: center;
.btn { .btn {
width: 50px; width: 50px;
height: 50px; height: 50px;
......
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