更新代码
This commit is contained in:
@ -68,9 +68,7 @@ const translate = (page) => {
|
||||
* @param {number} page - 目标页码
|
||||
*/
|
||||
const goToPage = (page) => {
|
||||
console.log('page===>', page)
|
||||
currentPage.value = Number(page)
|
||||
console.log('currentPage.value===>', currentPage.value, page)
|
||||
}
|
||||
|
||||
/**
|
||||
@ -247,8 +245,8 @@ onUnmounted(stopAutoPlay)
|
||||
.carousel-title {
|
||||
font-family: 'PingFang SC';
|
||||
font-weight: 600;
|
||||
font-size: 38px;
|
||||
color: #333;
|
||||
font-size: 24px;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.carousel-pagination {
|
||||
|
||||
Reference in New Issue
Block a user