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: 地虎降天龙
|
* @Autor: 地虎降天龙
|
||||||
* @Date: 2023-10-16 10:53:09
|
* @Date: 2023-10-16 10:53:09
|
||||||
* @LastEditors: 地虎降天龙
|
* @LastEditors: 地虎降天龙
|
||||||
* @LastEditTime: 2023-11-17 09:11:22
|
* @LastEditTime: 2023-12-04 19:44:27
|
||||||
*/
|
*/
|
||||||
// import { resolve } from 'path';
|
// import { resolve } from 'path';
|
||||||
import { join } from 'path';
|
import { join } from 'path';
|
||||||
@ -14,6 +14,7 @@ import UnoCSS from 'unocss/vite';
|
|||||||
// import glsl from 'vite-plugin-glsl';
|
// import glsl from 'vite-plugin-glsl';
|
||||||
|
|
||||||
export default defineBuildConfig({
|
export default defineBuildConfig({
|
||||||
|
title: 'TvT.js',
|
||||||
publicPath: './',
|
publicPath: './',
|
||||||
access: {
|
access: {
|
||||||
roles: {
|
roles: {
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
* @Autor: 地虎降天龙
|
* @Autor: 地虎降天龙
|
||||||
* @Date: 2023-10-16 10:53:09
|
* @Date: 2023-10-16 10:53:09
|
||||||
* @LastEditors: 地虎降天龙
|
* @LastEditors: 地虎降天龙
|
||||||
* @LastEditTime: 2023-11-16 15:22:17
|
* @LastEditTime: 2023-12-04 19:54:44
|
||||||
*/
|
*/
|
||||||
import { defineBuildConfig } from '@fesjs/fes';
|
import { defineBuildConfig } from '@fesjs/fes';
|
||||||
|
|
||||||
export default defineBuildConfig({
|
export default defineBuildConfig({
|
||||||
layout: {
|
layout: {
|
||||||
title: 'Icegl',
|
title: 'TvT.js',
|
||||||
navigation: 'top',
|
navigation: 'top',
|
||||||
multiTabs: false,
|
multiTabs: false,
|
||||||
isFixedHeader: true,
|
isFixedHeader: true,
|
||||||
@ -19,7 +19,58 @@ export default defineBuildConfig({
|
|||||||
{
|
{
|
||||||
name: 'preview',
|
name: 'preview',
|
||||||
path: '/',
|
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: 地虎降天龙
|
* @Autor: 地虎降天龙
|
||||||
* @Date: 2023-10-21 15:34:19
|
* @Date: 2023-10-21 15:34:19
|
||||||
* @LastEditors: 地虎降天龙
|
* @LastEditors: 地虎降天龙
|
||||||
* @LastEditTime: 2023-10-23 09:51:35
|
* @LastEditTime: 2023-12-04 19:35:08
|
||||||
*/
|
*/
|
||||||
import { reactive } from 'vue';
|
import { reactive } from 'vue';
|
||||||
import { access } from '@fesjs/fes';
|
import { access } from '@fesjs/fes';
|
||||||
@ -15,7 +15,7 @@ export default function userModel () {
|
|||||||
const signin = () => {
|
const signin = () => {
|
||||||
// todo
|
// todo
|
||||||
const { setRole } = access;
|
const { setRole } = access;
|
||||||
user.userName = '地虎降天龙';
|
user.userName = '';
|
||||||
setRole('admin');
|
setRole('admin');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* @Autor: 地虎降天龙
|
* @Autor: 地虎降天龙
|
||||||
* @Date: 2023-11-18 22:17:49
|
* @Date: 2023-11-18 22:17:49
|
||||||
* @LastEditors: 地虎降天龙
|
* @LastEditors: 地虎降天龙
|
||||||
* @LastEditTime: 2023-11-29 08:54:48
|
* @LastEditTime: 2023-12-04 19:34:10
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<div class="flex h-full">
|
<div class="flex h-full">
|
||||||
@ -32,7 +32,7 @@
|
|||||||
</f-menu-item>
|
</f-menu-item>
|
||||||
</template>
|
</template>
|
||||||
</f-sub-menu>
|
</f-sub-menu>
|
||||||
<f-sub-menu value="8">
|
<!-- <f-sub-menu value="8">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<ClusterOutlined />
|
<ClusterOutlined />
|
||||||
</template>
|
</template>
|
||||||
@ -40,7 +40,7 @@
|
|||||||
<f-menu-item value="abus">
|
<f-menu-item value="abus">
|
||||||
<template #label>关于我们</template>
|
<template #label>关于我们</template>
|
||||||
</f-menu-item>
|
</f-menu-item>
|
||||||
</f-sub-menu>
|
</f-sub-menu> -->
|
||||||
</f-menu>
|
</f-menu>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-1 overflow-scroll" style="height: calc(100vh - 54px);">
|
<div class="flex-1 overflow-scroll" style="height: calc(100vh - 54px);">
|
||||||
@ -55,9 +55,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
<div style="background-color: #f1f1f2;" :ref="el => tabListRef.abus = el">
|
<!-- <div style="background-color: #f1f1f2;" :ref="el => tabListRef.abus = el">
|
||||||
<aboutUs />
|
<aboutUs />
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* @Autor: 地虎降天龙
|
* @Autor: 地虎降天龙
|
||||||
* @Date: 2023-11-10 16:11:27
|
* @Date: 2023-11-10 16:11:27
|
||||||
* @LastEditors: 地虎降天龙
|
* @LastEditors: 地虎降天龙
|
||||||
* @LastEditTime: 2023-12-01 17:22:22
|
* @LastEditTime: 2023-12-04 19:32:07
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -18,6 +18,6 @@ export default {
|
|||||||
"require": [],
|
"require": [],
|
||||||
"preview": [
|
"preview": [
|
||||||
{ "src": "plugins/water/preview/tilingCaustics.png", "type": "img", "name": "tilingCaustics", "title": "波纹A" },
|
{ "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