Commit a6610871 by 肖康

现货标准品牌

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