Просмотр исходного кода

TBtools-新增商品详情、商品大家问

panyong 4 лет назад
Родитель
Сommit
3b9745ff48

+ 12 - 0
htmldev/TBTools/src/router/index.js

@@ -81,6 +81,18 @@ const mainRoutes = {
       name: 'toolsFeedback',
       meta: { title: '商品评论查询' }
     },
+    {
+      path: '/tools-productinfo',
+      component: _import('modules/tools/tools-productinfo'),
+      name: 'toolsProductinfo',
+      meta: { title: '商品信息查询' }
+    },
+    {
+      path: '/tools-productaskinfo',
+      component: _import('modules/tools/tools-productaskinfo'),
+      name: 'toolsProductaskinfo',
+      meta: { title: '商品问大家' }
+    },
     // 个人中心
     {
       path: '/mine-paycheck',

+ 6 - 0
htmldev/TBTools/src/views/main-navbar.vue

@@ -33,6 +33,12 @@
               <el-dropdown-item>
                 <router-link :to="{name: 'toolsFeedback'}">商品评论查询</router-link>
               </el-dropdown-item>
+              <el-dropdown-item>
+                <router-link :to="{name: 'toolsProductinfo'}">商品信息查询</router-link>
+              </el-dropdown-item>
+              <el-dropdown-item>
+                <router-link :to="{name: 'toolsProductaskinfo'}">商品问大家</router-link>
+              </el-dropdown-item>
             </el-dropdown-menu>
           </el-dropdown>
         </li>

+ 13 - 0
htmldev/TBTools/src/views/modules/tools/tools-productaskinfo.vue

@@ -0,0 +1,13 @@
+<template>
+  <div>tools-productaskinfo</div>
+</template>
+
+<script>
+export default {
+  name: 'tools-productaskinfo'
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>

+ 13 - 0
htmldev/TBTools/src/views/modules/tools/tools-productinfo.vue

@@ -0,0 +1,13 @@
+<template>
+  <div>tools-productinfo</div>
+</template>
+
+<script>
+export default {
+  name: 'tools-productinfo'
+}
+</script>
+
+<style lang="scss" scoped>
+
+</style>