Commit a6610871 by 肖康

现货标准品牌

parent d990a60d
...@@ -39,8 +39,8 @@ switch (window.location.hostname) { ...@@ -39,8 +39,8 @@ switch (window.location.hostname) {
urlApi = 'http://api.liexin.com/'; urlApi = 'http://api.liexin.com/';
urlPc = 'http://www.liexin.com/v3/'; urlPc = 'http://www.liexin.com/v3/';
zyApi = 'http://soso12.liexin.com'; zyApi = 'http://so12.ichunt.com';
lyApi = 'http://soso12.ichunt.com'; lyApi = 'http://so12.ichunt.com';
break; break;
default: default:
//本地proxy配置参考vue.config.js //本地proxy配置参考vue.config.js
......
...@@ -80,10 +80,10 @@ ...@@ -80,10 +80,10 @@
<dt @click="changeZyFilterInit(1)" :class="{'f-blue':brand}">{{brand||"制造商"}}</dt> <dt @click="changeZyFilterInit(1)" :class="{'f-blue':brand}">{{brand||"制造商"}}</dt>
<dd :style="{'display':zyFilterInit == 1?'block':'none'}"> <dd :style="{'display':zyFilterInit == 1?'block':'none'}">
<ul> <ul>
<template v-if="zyFilterData.brand_id"> <template v-if="zyFilterData.standard_brand_id">
<li <li
v-for="(v,k) in zyFilterData.brand_id.list" v-for="(v,k) in zyFilterData.standard_brand_id.list"
@click="addFilterData(k,'brand_id')" @click="addFilterData(k,'standard_brand_id')"
:class="{'check':v.check}" :class="{'check':v.check}"
> >
<span>{{v.name+"("+v.num+")"}}</span> <span>{{v.name+"("+v.num+")"}}</span>
...@@ -394,7 +394,7 @@ export default { ...@@ -394,7 +394,7 @@ export default {
params["class_id/condition"] = this.addClassStr; params["class_id/condition"] = this.addClassStr;
} }
if (this.brandStr) { if (this.brandStr) {
params["brand_id/condition"] = this.brandStr; params["standard_brand_id/condition"] = this.brandStr;
} }
if (this.encapStr) { if (this.encapStr) {
params["encap/condition"] = this.encapStr; params["encap/condition"] = this.encapStr;
...@@ -490,7 +490,7 @@ export default { ...@@ -490,7 +490,7 @@ export default {
} }
} else { } else {
if (type == "brand") { if (type == "brand") {
str = "brand_id"; str = "standard_brand_id";
} else if (type == "encap") { } else if (type == "encap") {
str = "encap"; str = "encap";
} else if (type == "packing") { } else if (type == "packing") {
...@@ -534,10 +534,10 @@ export default { ...@@ -534,10 +534,10 @@ export default {
if (this.isResetData) { if (this.isResetData) {
this.navTopStr.brandStr = ""; this.navTopStr.brandStr = "";
} else { } else {
for (let i = 0; i < this.zyFilterData["brand_id"].list.length; i++) { for (let i = 0; i < this.zyFilterData["standard_brand_id"].list.length; i++) {
if (this.zyFilterData["brand_id"].list[i].check) { if (this.zyFilterData["standard_brand_id"].list[i].check) {
this.brandStr += this.zyFilterData["brand_id"].list[i].id + ","; this.brandStr += this.zyFilterData["standard_brand_id"].list[i].id + ",";
this.brand += this.zyFilterData["brand_id"].list[i].name + ","; this.brand += this.zyFilterData["standard_brand_id"].list[i].name + ",";
} }
} }
} }
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
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 sign in to comment