|
|
@@ -217,12 +217,17 @@ export default {
|
|
|
title: '',
|
|
|
salable: '',
|
|
|
scrollTop: 0,
|
|
|
- showAction: false
|
|
|
+ showAction: false,
|
|
|
+ category: ''
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
pageName() {
|
|
|
- return this.getLabelName(this.source, this.sourceOptions) || this.getLabelName(this.type, this.typeOptions);
|
|
|
+ return (
|
|
|
+ this.getLabelName(this.source, this.sourceOptions) ||
|
|
|
+ this.getLabelName(this.type, this.typeOptions) ||
|
|
|
+ (this.category ? this.category + '专区' : '')
|
|
|
+ );
|
|
|
},
|
|
|
showList() {
|
|
|
let list = [];
|
|
|
@@ -240,13 +245,13 @@ export default {
|
|
|
actions() {
|
|
|
let list = [{ name: '综合排序' }, { name: '在售中' }, { name: '仅展示' }];
|
|
|
if (this.salable === '') {
|
|
|
- list[0].color = "#28B6FF"
|
|
|
+ list[0].color = '#28B6FF';
|
|
|
}
|
|
|
if (this.salable === true) {
|
|
|
- list[1].color = "#28B6FF"
|
|
|
+ list[1].color = '#28B6FF';
|
|
|
}
|
|
|
if (this.salable === false) {
|
|
|
- list[2].color = "#28B6FF"
|
|
|
+ list[2].color = '#28B6FF';
|
|
|
}
|
|
|
return list;
|
|
|
}
|
|
|
@@ -256,6 +261,9 @@ export default {
|
|
|
if (this.$route.query.type) {
|
|
|
this.type = this.$route.query.type;
|
|
|
}
|
|
|
+ if (this.$route.query.category) {
|
|
|
+ this.category = this.$route.query.category;
|
|
|
+ }
|
|
|
if (this.$route.query.source) {
|
|
|
this.source = this.$route.query.source;
|
|
|
if (this.source === 'TRANSFER') {
|
|
|
@@ -325,7 +333,8 @@ export default {
|
|
|
onShelf: true,
|
|
|
del: false,
|
|
|
minterId: this.minterId,
|
|
|
- salable: this.salable
|
|
|
+ salable: this.salable,
|
|
|
+ category: this.category
|
|
|
},
|
|
|
sort: sort
|
|
|
};
|
|
|
@@ -594,13 +603,13 @@ export default {
|
|
|
width: 100%;
|
|
|
height: 44px;
|
|
|
}
|
|
|
-/deep/ .van-button{
|
|
|
+/deep/ .van-button {
|
|
|
width: 100%;
|
|
|
height: 38px;
|
|
|
font-weight: 500;
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
-.go_stroll{
|
|
|
+.go_stroll {
|
|
|
width: 100%;
|
|
|
padding: 0px 48px;
|
|
|
box-sizing: border-box;
|
|
|
@@ -822,7 +831,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-.van-tab.van-tab--active{
|
|
|
+.van-tab.van-tab--active {
|
|
|
color: #28b6ff;
|
|
|
font-weight: 500;
|
|
|
}
|