| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <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/home'">帮助中心首页</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, helpHeader } from '~components/help'
- export default {
- name: 'help',
- data () {
- return {
- helpNav: {},
- getFlag: false
- }
- },
- components: {
- left,
- helpHeader
- },
- mounted () {
- this.$http.get('/api/help-service/helps', {params: { parentId: 0 }})
- .then(response => {
- this.helpNav = response.data
- })
- },
- fetch ({ store }) {
- return Promise.all([
- // store.dispatch('loadHelpSnapsho', { parentId: 0 })
- ])
- },
- computed: {
- // helpNav () {
- // return this.$store.state.help.snapsho.data.sort(compare('detno'))
- // }
- }
- }
- </script>
- <style>
- @import '~assets/scss/help.css';
- </style>
|