chore: 修改遗留代码单词拼写错误

This commit is contained in:
2025-12-20 15:41:32 +08:00
parent 1854a85394
commit 3cbe0263ea
4 changed files with 13 additions and 13 deletions

View File

@@ -39,8 +39,8 @@
<block v-if="category.child_list && value.goodsLevel == 2">
<view class="screen-category-wrap">
<scroll-view scroll-x="true" class="screen-category" :class="{ 'screen-category-4': value.template == 4 }" :scroll-with-animation="true" :scroll-into-view="scrollIntoView">
<view class="item" id="category-2--1" :class="{ selected: categoryId == -1 }" @click="selectCategoey(-1)">全部</view>
<view class="item" :id="'category-2-' + oneIndex" :class="{ selected: categoryId == oneIndex }" @click="selectCategoey(oneIndex)" v-for="(one, oneIndex) in category.child_list" :key="oneIndex">
<view class="item" id="category-2--1" :class="{ selected: categoryId == -1 }" @click="selectCategory(-1)">全部</view>
<view class="item" :id="'category-2-' + oneIndex" :class="{ selected: categoryId == oneIndex }" @click="selectCategory(oneIndex)" v-for="(one, oneIndex) in category.child_list" :key="oneIndex">
{{ one.category_name }}
</view>
</scroll-view>
@@ -50,7 +50,7 @@
<view class="screen-category-popup" @click="$refs.screenCategoryPopup.close()">
<scroll-view scroll-y="true" class="screen-category" :class="{ 'screen-category-4': value.template == 4 }">
<view class="title">全部</view>
<view class="item" :class="{ selected: categoryId == oneIndex }" @click="selectCategoey(oneIndex)" v-for="(one, oneIndex) in category.child_list" :key="oneIndex">
<view class="item" :class="{ selected: categoryId == oneIndex }" @click="selectCategory(oneIndex)" v-for="(one, oneIndex) in category.child_list" :key="oneIndex">
{{ one.category_name }}
</view>
</scroll-view>
@@ -293,7 +293,7 @@
oneCategorySelect: function() {
this.scrollTop = -1;
this.goodsList = [];
this.selectCategoey(-1);
this.selectCategory(-1);
},
select: function() {
if (this.index == this.select) {
@@ -607,7 +607,7 @@
}
this.$emit('selectsku', data);
},
selectCategoey(index) {
selectCategory(index) {
this.categoryId = index;
this.pageIndex = 0;
this.totalPage = 1;
@@ -667,7 +667,7 @@
this.$emit('switch', index);
} else {
let index = this.categoryId - 1;
this.selectCategoey(index);
this.selectCategory(index);
}
} else {
if (this.categoryId == -1 || (this.category.child_list && this.categoryId == this.category.child_list.length - 1)) {
@@ -675,7 +675,7 @@
this.$emit('switch', index);
} else {
let index = this.categoryId + 1;
this.selectCategoey(index);
this.selectCategory(index);
}
}
},