|
|
@@ -38,9 +38,9 @@
|
|
|
let path = this.$route.path
|
|
|
if (path.startsWith('/store/') && getCount(path, '/') === 2) {
|
|
|
if (path.indexOf('33069557578d44e69bd91ad12d28a8d4') === -1) {
|
|
|
- return this.storeInfo.storeName + '原厂专卖店'
|
|
|
+ return this.storeInfo.storeName + this.getStoreType(this.storeInfo.type) + '专卖店'
|
|
|
} else {
|
|
|
- return 'IC电子元器件库存寄售优软商城自营现货寄售'
|
|
|
+ return 'IC电子元器件库存寄售呆滞尾料空闲库存商城自营现货寄售'
|
|
|
}
|
|
|
} else if (path.startsWith('/store/') && getCount(path, '/') === 3) {
|
|
|
return this.commodity.brandNameEn + this.commodity.code + '价格|现货库存|报价|产品参数'
|
|
|
@@ -52,9 +52,9 @@
|
|
|
let path = this.$route.path
|
|
|
if (path.startsWith('/store/') && getCount(path, '/') === 2) {
|
|
|
if (path.indexOf('33069557578d44e69bd91ad12d28a8d4') === -1) {
|
|
|
- return this.storeInfo.storeName + '官方原厂专卖店,提供最新IC电子元器件现货在线销售。'
|
|
|
+ return this.storeInfo.storeName + '官方' + this.getStoreType(this.storeInfo.type) + '专卖店,提供最新IC电子元器件现货在线销售。'
|
|
|
} else {
|
|
|
- return '优软商城为您提供IC电子元器件库存寄售,商城自营现货寄售让您更放心更省心。'
|
|
|
+ return '优软商城为您提供IC电子元器件库存寄售呆滞尾料空闲库存现货寄售服务,商城自营现货寄售让您更放心更省心。'
|
|
|
}
|
|
|
} else if (path.startsWith('/store/') && getCount(path, '/') === 3) {
|
|
|
return this.commodity.enterpriseName + '提供' + this.commodity.brandNameEn + this.commodity.code + '价格和' + this.commodity.code + '现货库存,并且内容还包含' + this.commodity.code + '产品参数、' + this.commodity.code + '规格书数据手册等。'
|
|
|
@@ -66,7 +66,7 @@
|
|
|
let path = this.$route.path
|
|
|
if (path.startsWith('/store/') && getCount(path, '/') === 2) {
|
|
|
if (path.indexOf('33069557578d44e69bd91ad12d28a8d4') === -1) {
|
|
|
- return '电子元器件原厂专卖店'
|
|
|
+ return '电子元器件' + this.getStoreType(this.storeInfo.type) + '专卖店'
|
|
|
} else {
|
|
|
return '优软商城,ic芯片库存寄售,电子元器件寄售'
|
|
|
}
|
|
|
@@ -82,6 +82,20 @@
|
|
|
commodity () {
|
|
|
return this.$store.state.shop.storeInfo.commodity.data
|
|
|
}
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ getStoreType: function (type) {
|
|
|
+ if (type === 'ORIGINAL_FACTORY') {
|
|
|
+ return '原厂'
|
|
|
+ } else if (type === 'AGENCY') {
|
|
|
+ return '代理'
|
|
|
+ } else if (type === 'DISTRIBUTION') {
|
|
|
+ return '经销'
|
|
|
+ } else if (type === 'CONSIGNMENT') {
|
|
|
+ return '寄售'
|
|
|
+ }
|
|
|
+ return ''
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|