navbar.js 2.1 KB
Newer Older
D
DCloud_LXH 已提交
1 2 3 4 5 6 7 8 9 10
/**
 * text
 * target
 * link   // 有协议时是外链
 * items
 * type   // link、links。
 * rel
 * needOutbound // 是否显示外链图标
 */
export const navbar = [
D
DCloud_LXH 已提交
11 12 13 14 15 16 17
  {
    text: 'uni-app',
    link: 'https://uniapp.dcloud.io/',
    type: "link",
    target: '_blank',
    needOutbound: false
  },
D
DCloud_LXH 已提交
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
  {
    text: 'uni-app x',
    link: '/',
    items: [
      {
        text: '介绍',
        type: 'link',
        link: '/'
      },
      {
        text: '编译器',
        type: 'link',
        link: '/compiler/'
      },
      {
        text: 'UTS',
        type: 'link',
        link: '/uts/'
      },
      {
        text: '全局文件',
        type: 'link',
        link: '/collocation/pagesjson'
      },
      {
        text: '组件',
        type: 'link',
        link: '/component/'
      },
      {
        text: 'API',
        type: 'link',
        link: '/api/'
      },
      {
        text: 'CSS',
        type: 'link',
        link: '/css/'
      },
      {
        text: 'DOM',
        type: 'link',
        link: '/dom/'
      },
      {
        text: '插件',
        type: 'link',
        link: '/plugin/'
      },
      {
        text: '工程化',
        type: 'link',
        link: '/worktile/'
      }
    ]
  },
  {
    text: 'uniCloud',
    link: 'https://uniapp.dcloud.io/uniCloud/',
    type: "link",
    target: '_blank',
    needOutbound: false
  },
  {
    text: 'HBuilder',
    link: 'https://hx.dcloud.net.cn/',
    type: "link",
    target: '_blank',
    needOutbound: false
  },
  {
    text: 'uni 小程序 sdk',
    link: 'https://nativesupport.dcloud.net.cn/README',
    type: "link",
    target: '_blank',
    needOutbound: false
  },
  /* {
    text: '问答社区',
    link: 'https://ask.dcloud.net.cn/explore/',
    type: "link",
    target: '_blank',
    needOutbound: false
  },
  {
    text: '插件市场',
    type: "link",
    target: '_blank',
    link: 'https://ext.dcloud.net.cn/',
    needOutbound: false
  } */
]

D
DCloud_LXH 已提交
111 112
export const userNavIndex = 1

D
DCloud_LXH 已提交
113 114 115 116
export const navbarLanguage = {
  default: 0,
  items: [
    {
D
DCloud_LXH 已提交
117
      text: '简体中文'
D
DCloud_LXH 已提交
118 119 120
    }
  ]
}