navigate

package
v0.3.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LeftNavigate = &navigate.List{
	{
		Display:   true,
		Name:      `个人资料`,
		Action:    `profile`,
		Icon:      `user`,
		Unlimited: false,
		Children: &navigate.List{
			{
				Display:   true,
				Name:      `个人资料`,
				Action:    `detail`,
				Icon:      `user`,
				Unlimited: true,
				Children:  &navigate.List{},
			},
			{
				Display:   false,
				Name:      `我关注的`,
				Action:    `following`,
				Icon:      ``,
				Unlimited: false,
				Children:  &navigate.List{},
			},
			{
				Display:   false,
				Name:      `关注我的`,
				Action:    `followers`,
				Icon:      ``,
				Unlimited: false,
				Children:  &navigate.List{},
			},
		},
	},
	{
		Display:   false,
		Name:      `文件管理`,
		Action:    `file`,
		Icon:      ``,
		Unlimited: false,
		Children: &navigate.List{
			{
				Display:   false,
				Name:      `文件选择`,
				Action:    `finder`,
				Icon:      ``,
				Unlimited: true,
				Children:  &navigate.List{},
			},
			{
				Display:   false,
				Name:      `文件上传`,
				Action:    `upload/:type`,
				Icon:      ``,
				Unlimited: false,
				Children:  &navigate.List{},
			},
		},
	},
	{
		Display:   true,
		Name:      `我的钱包`,
		Action:    `wallet`,
		Icon:      `wallet iconfont icon-licai`,
		Unlimited: true,
		Children:  &navigate.List{},
	},
	{
		Display:   true,
		Name:      `会员套餐`,
		Action:    `membership`,
		Icon:      `membership iconfont icon-dengji`,
		Unlimited: false,
		Children: &navigate.List{
			{
				Display:   true,
				Name:      `会员套餐`,
				Action:    `index`,
				Icon:      `membership iconfont icon-dengji`,
				Unlimited: false,
				Children:  &navigate.List{},
			},
			{
				Display:   false,
				Name:      `购买会员套餐`,
				Action:    `buy/:packageId`,
				Icon:      `iconfont icon-xianjinliuliangbiao`,
				Unlimited: false,
				Children:  &navigate.List{},
			},
		},
	},
	{
		Display: true,
		Name:    `短链接`,
		Action:  `short_url`,
		Icon:    `link`,
		Children: &navigate.List{
			{
				Display:  true,
				Name:     `我的短链接`,
				Action:   `list`,
				Icon:     `table`,
				Children: &navigate.List{},
			},
		},
	},
}
View Source
var TopNavigate = &navigate.List{
	{
		Display: true,
		Name:    `个人消息`,
		Action:  `message`,
		Icon:    `email`,
		Children: &navigate.List{
			{
				Display:  true,
				Name:     `收件箱`,
				Action:   `inbox`,
				Icon:     `email`,
				Children: &navigate.List{},
			},
			{
				Display:  false,
				Name:     `发件箱`,
				Action:   `outbox`,
				Children: &navigate.List{},
			},
			{
				Display:  true,
				Name:     `系统消息`,
				Action:   `system`,
				Icon:     `bell`,
				Children: &navigate.List{},
			},
			{
				Display:   false,
				Name:      `查看消息内容`,
				Action:    `view/:type/:id`,
				Unlimited: true,
				Children:  &navigate.List{},
			},
			{
				Display:   false,
				Name:      `未读消息统计`,
				Action:    `unread_count`,
				Unlimited: true,
				Children:  &navigate.List{},
			},
			{
				Display:  false,
				Name:     `发送私信`,
				Action:   `send`,
				Children: &navigate.List{},
			},
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL