|
|
<template>
|
|
|
<div>
|
|
|
<LayoutApp :show-back="true">
|
|
|
<LayoutApp :show-back="true" :title="title">
|
|
|
<div class="filter">
|
|
|
<div class="filter-tab">
|
|
|
<div class="tab-item" :class="selectedType === 2 && 'selected-tab'" @click="pressType(2)">人气</div>
|
...
|
...
|
@@ -62,7 +62,7 @@ export default { |
|
|
arrowImage: '',
|
|
|
listType: 1,
|
|
|
type: 6,
|
|
|
|
|
|
title: '',
|
|
|
productList: {
|
|
|
showErrorPage: false,
|
|
|
isFetching: false,
|
...
|
...
|
@@ -96,6 +96,12 @@ export default { |
|
|
this.changeArrow();
|
|
|
let params = this.$route.query;
|
|
|
|
|
|
if (params.title) {
|
|
|
this.title = params.title;
|
|
|
delete params.title;
|
|
|
} else {
|
|
|
this.title = '商品列表';
|
|
|
}
|
|
|
if (Object.keys(params).length && params.listType) {
|
|
|
this.listType = params.listType;
|
|
|
delete params.listType;
|
...
|
...
|
|