|
@@ -95,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
};
|
|
|
const toCommon = (item, type) => {
|
|
|
console.log(item);
|
|
|
- if (type == "0" && item.type == "4") {
|
|
|
+ if (type == "0") {
|
|
|
common_vendor.index.navigateTo({
|
|
|
url: `/pagesHome/brand/index?type=${item.type}`
|
|
|
});
|
|
@@ -105,9 +105,15 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
|
|
url: `/pagesHome/search/index?brand=${item.name}`
|
|
|
});
|
|
|
} else {
|
|
|
- common_vendor.index.navigateTo({
|
|
|
- url: `/pagesHome/search/index?money=${item.title}`
|
|
|
- });
|
|
|
+ if (item.type == "3") {
|
|
|
+ common_vendor.index.navigateTo({
|
|
|
+ url: `/pagesHome/search/index?type=${item.type}`
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ common_vendor.index.navigateTo({
|
|
|
+ url: `/pagesHome/search/index?money=${item.title}`
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
};
|