|
|
@@ -3,6 +3,7 @@
|
|
|
<header-view v-if="!isInFrame"></header-view>
|
|
|
<store-header/>
|
|
|
<store-title/>
|
|
|
+ <img v-if="isConsignment" class="banner-img" src="/images/all/banner-consignment.png" alt="">
|
|
|
<nuxt/>
|
|
|
<footer-view></footer-view>
|
|
|
<right-bar></right-bar>
|
|
|
@@ -47,7 +48,7 @@
|
|
|
title () {
|
|
|
let path = this.$route.path
|
|
|
if ((path.startsWith('/store/') && getCount(path, '/') === 2) || path.endsWith('/description')) {
|
|
|
- if (path.indexOf('33069557578d44e69bd91ad12d28a8d4') === -1) {
|
|
|
+ if (!this.isConsignment) {
|
|
|
return this.storeInfo.storeName + this.getStoreType(this.storeInfo.type) + '专卖店-优软商城'
|
|
|
} else {
|
|
|
return 'IC电子元器件库存寄售呆滞尾料空闲库存商城自营现货寄售-优软商城'
|
|
|
@@ -61,7 +62,7 @@
|
|
|
description () {
|
|
|
let path = this.$route.path
|
|
|
if ((path.startsWith('/store/') && getCount(path, '/') === 2) || path.endsWith('/description')) {
|
|
|
- if (path.indexOf('33069557578d44e69bd91ad12d28a8d4') === -1) {
|
|
|
+ if (!this.isConsignment) {
|
|
|
return this.storeInfo.storeName + '官方' + this.getStoreType(this.storeInfo.type) + '专卖店,提供最新IC电子元器件现货在线销售。'
|
|
|
} else {
|
|
|
return '优软商城为您提供IC电子元器件库存寄售呆滞尾料空闲库存现货寄售服务,商城自营现货寄售让您更放心更省心。'
|
|
|
@@ -75,7 +76,7 @@
|
|
|
keywords () {
|
|
|
let path = this.$route.path
|
|
|
if ((path.startsWith('/store/') && getCount(path, '/') === 2) || path.endsWith('/description')) {
|
|
|
- if (path.indexOf('33069557578d44e69bd91ad12d28a8d4') === -1) {
|
|
|
+ if (!this.isConsignment) {
|
|
|
return '电子元器件' + this.getStoreType(this.storeInfo.type) + '专卖店'
|
|
|
} else {
|
|
|
return '优软商城,ic芯片库存寄售,电子元器件寄售'
|
|
|
@@ -89,6 +90,9 @@
|
|
|
storeInfo () {
|
|
|
return this.$store.state.shop.storeInfo.store.data
|
|
|
},
|
|
|
+ isConsignment () {
|
|
|
+ return this.storeInfo.type === 'CONSIGNMENT'
|
|
|
+ },
|
|
|
commodity () {
|
|
|
return this.$store.state.shop.storeInfo.commodity.data
|
|
|
}
|
|
|
@@ -109,3 +113,8 @@
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
+<style scoped>
|
|
|
+ .banner-img {
|
|
|
+ margin-top: -10px;
|
|
|
+ }
|
|
|
+</style>
|