mirror of
https://gitee.com/ice-gl/icegl-three-vue-tres.git
synced 2025-04-05 06:22:43 +08:00
更新菜单以及说明
This commit is contained in:
parent
1d0729eda9
commit
4b78fde75d
3
.fes.js
3
.fes.js
@ -4,7 +4,7 @@
|
||||
* @Autor: 地虎降天龙
|
||||
* @Date: 2023-10-16 10:53:09
|
||||
* @LastEditors: 地虎降天龙
|
||||
* @LastEditTime: 2023-11-17 09:11:22
|
||||
* @LastEditTime: 2023-12-04 19:44:27
|
||||
*/
|
||||
// import { resolve } from 'path';
|
||||
import { join } from 'path';
|
||||
@ -14,6 +14,7 @@ import UnoCSS from 'unocss/vite';
|
||||
// import glsl from 'vite-plugin-glsl';
|
||||
|
||||
export default defineBuildConfig({
|
||||
title: 'TvT.js',
|
||||
publicPath: './',
|
||||
access: {
|
||||
roles: {
|
||||
|
@ -4,13 +4,13 @@
|
||||
* @Autor: 地虎降天龙
|
||||
* @Date: 2023-10-16 10:53:09
|
||||
* @LastEditors: 地虎降天龙
|
||||
* @LastEditTime: 2023-11-16 15:22:17
|
||||
* @LastEditTime: 2023-12-04 19:54:44
|
||||
*/
|
||||
import { defineBuildConfig } from '@fesjs/fes';
|
||||
|
||||
export default defineBuildConfig({
|
||||
layout: {
|
||||
title: 'Icegl',
|
||||
title: 'TvT.js',
|
||||
navigation: 'top',
|
||||
multiTabs: false,
|
||||
isFixedHeader: true,
|
||||
@ -19,7 +19,58 @@ export default defineBuildConfig({
|
||||
{
|
||||
name: 'preview',
|
||||
path: '/',
|
||||
title: '开源框架展示'
|
||||
title: '📀 预览演示'
|
||||
},
|
||||
{
|
||||
// name: 'docs',
|
||||
// path: 'http://docs.icegl.cn',
|
||||
title: '📚 说明文档',
|
||||
children: [
|
||||
{
|
||||
path: 'http://docs.icegl.cn',
|
||||
title: '🧊 TvT框架文档'
|
||||
}, {
|
||||
path: 'https://threejs.org/docs/index.html#manual/zh/introduction/Creating-a-scene',
|
||||
title: '🎲 three.js'
|
||||
}, {
|
||||
path: 'https://tresjs.org/guide/',
|
||||
title: '⚡ tres.js'
|
||||
}, {
|
||||
path: 'https://fesjs.mumblefe.cn/',
|
||||
title: '💠 fes.js'
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
path: 'https://icegl.cn/',
|
||||
title: '🧊 ICEGL官网'
|
||||
},
|
||||
{
|
||||
path: 'https://space.bilibili.com/410503457',
|
||||
title: '🅱️ B站主页'
|
||||
},
|
||||
{
|
||||
title: '👨🏫 课程中心',
|
||||
children: [
|
||||
{
|
||||
path: 'https://icegl.cn/courses',
|
||||
title: '🌁 WebGL初/中/高级教程'
|
||||
}, {
|
||||
path: 'https://www.bilibili.com/video/BV1iR4y1C7LQ/',
|
||||
title: '🏙 WebGL Shader初级教程'
|
||||
}, {
|
||||
path: 'https://study.163.com/course/introduction/1213599804.htm?inLoc=ss_ssjg_tjlb_webgl&share=1&shareId=1033552384',
|
||||
title: '🌇 WebGL Shader中级教程'
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
path: 'https://icegl.cn/ask',
|
||||
title: '🙋♀️ 社区问答'
|
||||
},
|
||||
{
|
||||
path: 'https://icegl.cn/p/aboutus',
|
||||
title: '💫 关于我们'
|
||||
}
|
||||
],
|
||||
},
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @Autor: 地虎降天龙
|
||||
* @Date: 2023-10-21 15:34:19
|
||||
* @LastEditors: 地虎降天龙
|
||||
* @LastEditTime: 2023-10-23 09:51:35
|
||||
* @LastEditTime: 2023-12-04 19:35:08
|
||||
*/
|
||||
import { reactive } from 'vue';
|
||||
import { access } from '@fesjs/fes';
|
||||
@ -15,7 +15,7 @@ export default function userModel () {
|
||||
const signin = () => {
|
||||
// todo
|
||||
const { setRole } = access;
|
||||
user.userName = '地虎降天龙';
|
||||
user.userName = '';
|
||||
setRole('admin');
|
||||
};
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @Autor: 地虎降天龙
|
||||
* @Date: 2023-11-18 22:17:49
|
||||
* @LastEditors: 地虎降天龙
|
||||
* @LastEditTime: 2023-11-29 08:54:48
|
||||
* @LastEditTime: 2023-12-04 19:34:10
|
||||
-->
|
||||
<template>
|
||||
<div class="flex h-full">
|
||||
@ -32,7 +32,7 @@
|
||||
</f-menu-item>
|
||||
</template>
|
||||
</f-sub-menu>
|
||||
<f-sub-menu value="8">
|
||||
<!-- <f-sub-menu value="8">
|
||||
<template #icon>
|
||||
<ClusterOutlined />
|
||||
</template>
|
||||
@ -40,7 +40,7 @@
|
||||
<f-menu-item value="abus">
|
||||
<template #label>关于我们</template>
|
||||
</f-menu-item>
|
||||
</f-sub-menu>
|
||||
</f-sub-menu> -->
|
||||
</f-menu>
|
||||
</div>
|
||||
<div class="flex-1 overflow-scroll" style="height: calc(100vh - 54px);">
|
||||
@ -55,9 +55,9 @@
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
<div style="background-color: #f1f1f2;" :ref="el => tabListRef.abus = el">
|
||||
<!-- <div style="background-color: #f1f1f2;" :ref="el => tabListRef.abus = el">
|
||||
<aboutUs />
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -4,7 +4,7 @@
|
||||
* @Autor: 地虎降天龙
|
||||
* @Date: 2023-11-10 16:11:27
|
||||
* @LastEditors: 地虎降天龙
|
||||
* @LastEditTime: 2023-12-01 17:22:22
|
||||
* @LastEditTime: 2023-12-04 19:32:07
|
||||
*/
|
||||
|
||||
export default {
|
||||
@ -18,6 +18,6 @@ export default {
|
||||
"require": [],
|
||||
"preview": [
|
||||
{ "src": "plugins/water/preview/tilingCaustics.png", "type": "img", "name": "tilingCaustics", "title": "波纹A" },
|
||||
{ "src": "plugins/water/preview/tilingCaustics.png", "type": "img", "name": "waterGlass", "title": "波浪A" },
|
||||
// { "src": "plugins/water/preview/tilingCaustics.png", "type": "img", "name": "waterGlass", "title": "波浪A" },
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user