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

按钮优化

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