1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- import config from '@/core/config/index.js'
- /**
- * 页面静态列表
- */
- export const useStaticData = () => {
- const userServiceGrid = [{
- title: '我的订单',
- path: 'pages/order/index',
- img: config.getResource('my/my_release.png'),
- icon: 'order',
- isLogin: true,
- }, {
- title: '绑定信息',
- path: 'pages/user/bindInfo/index',
- img: config.getResource('my/my_enroll.png'),
- icon: 'edit-pen',
- isLogin: true,
- }]
- const userOtherGrid = [
- /* {
- title: '投诉建议',
- path: 'pages/user/feedback/index',
- img: config.getResource('my/complaint_suggestions.png'),
- isLogin: true,
- }, */
- {
- title: '客服',
- path: 'contact',
- img: config.getResource('my/customer_service.png'),
- isLogin: false,
- icon: 'kefu-ermai'
- },
- {
- title: '设置',
- path: 'pages/user/setting/index',
- img: config.getResource('my/privacy_protocol.png'),
- isLogin: false,
- icon: 'setting'
- },
- /* {
- title: '注销账号',
- path: 'pages/user/log_off/index',
- img: config.getResource('my/log_out.png'),
- isLogin: true,
- },
- {
- title: '退出登陆',
- path: 'log_out',
- img: config.getResource('my/log_out.png'),
- isLogin: true,
- },
- */
- ]
- // 协议列表
- const protocolList = [{
- title: '用户协议',
- path: 'pages/article/index',
- parmas: {
- code: 'agreement'
- },
- isLogin: false,
- },
- {
- title: '隐私协议',
- path: 'pages/article/index',
- parmas: {
- code: 'policy'
- },
- isLogin: false,
- },
- ]
- return {
- userServiceGrid,
- userOtherGrid,
- protocolList
- }
- }
|