Commit 345ffb37 authored by Damon's avatar Damon

fix: 选择配件文案

......@@ -69,7 +69,7 @@
:num="num"
:btnStatus="partNum > 0"
:show-checked="false"
submit-txt="去提交"
submit-txt="确定"
@submit="submit"
/>
</view>
......@@ -139,16 +139,16 @@ export default {
this.getCategaryList()
}
}
},
onShow() {
let pages = getCurrentPages();
let page = pages[pages.length - 1];
let selectedItem = page.selectedItem;
if (selectedItem) {
page.selectedItem = null
this.selectBrand(selectedItem.item, selectedItem.index)
this.scrollId = `brand${selectedItem.id}`
}
},
onShow() {
let pages = getCurrentPages();
let page = pages[pages.length - 1];
let selectedItem = page.selectedItem;
if (selectedItem) {
page.selectedItem = null
this.selectBrand(selectedItem.item, selectedItem.index)
this.scrollId = `brand${selectedItem.id}`
}
},
methods: {
// 获取品类
......@@ -221,7 +221,7 @@ export default {
return v
})
this.lists = this.lists.concat(lists)
this.pageNumber++
this.pageNumber++
this.loadStatus = lists.length < this.pageSize ? "nomore" : "loadmore"
} else {
this.loadStatus = "nomore"
......@@ -269,10 +269,10 @@ export default {
if (this.loadStatus !== "nomore") {
this.getPartsList();
}
},
// 点击更多
handleClick() {
this.$u.route({url: 'pages/order/document-tag' + '?categoryId=' + this.categaryId + '&selectedId=' + this.brandId})
},
// 点击更多
handleClick() {
this.$u.route({url: 'pages/order/document-tag' + '?categoryId=' + this.categaryId + '&selectedId=' + this.brandId})
},
// 加入申请
apply(item, index) {
......
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