|
@@ -32,6 +32,10 @@
|
|
|
</div>
|
|
|
<div class="delete-game" v-if="isEdit"></div>
|
|
|
</div>
|
|
|
+ <div class="add-game del-spacing">
|
|
|
+ <div class="add-box"></div>
|
|
|
+ <div>添加游戏</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</el-carousel-item>
|
|
|
</el-carousel>
|
|
@@ -136,36 +140,36 @@ export default {
|
|
|
isTop: false,
|
|
|
isNew: false
|
|
|
},
|
|
|
- // {
|
|
|
- // name: '龙权天下',
|
|
|
- // serve: '4服',
|
|
|
- // isTop: false,
|
|
|
- // isNew: false
|
|
|
- // },
|
|
|
- // {
|
|
|
- // name: '斩月屠龙H5',
|
|
|
- // serve: '4服',
|
|
|
- // isTop: false,
|
|
|
- // isNew: false
|
|
|
- // },
|
|
|
- // {
|
|
|
- // name: '斩月屠龙H5',
|
|
|
- // serve: '4服',
|
|
|
- // isTop: false,
|
|
|
- // isNew: false
|
|
|
- // },
|
|
|
- // {
|
|
|
- // name: '龙权天下',
|
|
|
- // serve: '4服',
|
|
|
- // isTop: false,
|
|
|
- // isNew: false
|
|
|
- // },
|
|
|
- // {
|
|
|
- // name: '龙卫传奇',
|
|
|
- // serve: '4服',
|
|
|
- // isTop: false,
|
|
|
- // isNew: false
|
|
|
- // },
|
|
|
+ {
|
|
|
+ name: '龙权天下',
|
|
|
+ serve: '4服',
|
|
|
+ isTop: false,
|
|
|
+ isNew: false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '斩月屠龙H5',
|
|
|
+ serve: '4服',
|
|
|
+ isTop: false,
|
|
|
+ isNew: false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '斩月屠龙H5',
|
|
|
+ serve: '4服',
|
|
|
+ isTop: false,
|
|
|
+ isNew: false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '龙权天下',
|
|
|
+ serve: '4服',
|
|
|
+ isTop: false,
|
|
|
+ isNew: false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '龙卫传奇',
|
|
|
+ serve: '4服',
|
|
|
+ isTop: false,
|
|
|
+ isNew: false
|
|
|
+ },
|
|
|
]
|
|
|
}
|
|
|
},
|
|
@@ -176,11 +180,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.pageCount = Math.ceil(this.mockList.length / 6)
|
|
|
+ this.pageCount = Math.ceil(this.mockList.length / 5)
|
|
|
this.pageCount > 1 && (this.showPoint = 'outside')
|
|
|
//分组
|
|
|
- for (var i = 0, len = this.mockList.length; i < len; i += 6) {
|
|
|
- this.arr.push(this.mockList.slice(i, i + 6));
|
|
|
+ for (var i = 0, len = this.mockList.length; i < len; i += 5) {
|
|
|
+ this.arr.push(this.mockList.slice(i, i + 5));
|
|
|
}
|
|
|
}
|
|
|
};
|
|
@@ -194,6 +198,7 @@ export default {
|
|
|
height: 10px;
|
|
|
border-radius: 5px;
|
|
|
background: #dedede;
|
|
|
+ opacity: 1;
|
|
|
}
|
|
|
}
|
|
|
.el-carousel__indicator {
|