Browse Source

店铺搜索页,浏览器标题

yangc 8 years ago
parent
commit
c7489a107a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      layouts/main.vue

+ 3 - 1
layouts/main.vue

@@ -51,8 +51,10 @@
           return 'IC电子元器件行业市场资讯新闻'
         } else if (path.startsWith('/news/')) {
           return this.newsDetail.title
-        } else if (path.startsWith('/search')) {
+        } else if (path === '/search') {
           return this.$route.query.w + '-产品搜索-优软商城'
+        } else if (path === '/searchStore') {
+          return this.$route.query.w + '-店铺搜索-优软商城'
         } else {
           return '【优软商城】IC电子元器件现货采购交易平台商城'
         }