| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <template>
- <div>
- <help-header></help-header>
- <div id="main">
- <div class="container" style="padding: 0; width: 1190px;">
- <div style="display: inline-block; width: 100%; margin: 0 auto">
- <div class="left">
- <left></left>
- </div>
- <div class="right">
- <div class="help-center">
- <div class="help-head"><img src="/images/help/help-title.png"></div>
- <div class="help-center-title">
- <a style="font-size: 14px" v-bind:href="'/help/help'">帮助中心首页</a>
- </div>
- <div class="help-center-home">
- <div v-for="nav01 in helpNav">
- <h4 v-text="nav01.item"></h4>
- <div class="row">
- <div v-for="nav02 in nav01.children">
- <em></em><nuxt-link :to="`/help/helpList/${nav02.id}`" v-text="nav02.item"></nuxt-link>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script>
- import left from '~components/help/left'
- import helpHeader from '~components/help/helpHeader'
- export default {
- name: 'help',
- components: {
- left,
- helpHeader
- },
- fetch ({ store }) {
- return Promise.all([
- store.dispatch('loadHelpSnapsho', { parentId: 0 })
- ])
- },
- computed: {
- helpNav () {
- return this.$store.state.help.snapsho.data
- }
- }
- }
- </script>
- <style>
- @import '~assets/scss/help.css';
- </style>
|