Compare commits
8 Commits
3b6878ece5
...
db99dbf0d8
Author | SHA1 | Date |
---|---|---|
“zouyf” | db99dbf0d8 | |
朱浩 | cefc29df6a | |
朱浩 | cb3485f10f | |
朱浩 | cbb6a10c1d | |
zouyf | 95c93f19ee | |
yangws | dc36821366 | |
小杨 | 2641845ce0 | |
朱浩 | e1a12ff0e0 |
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "aix-win-ws",
|
"name": "aix-win-ws",
|
||||||
"version": "2.5.3",
|
"version": "2.5.4",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "./out/main/index.js",
|
"main": "./out/main/index.js",
|
||||||
"author": "上海交大重庆人工智能研究院",
|
"author": "上海交大重庆人工智能研究院",
|
||||||
|
|
|
@ -137,7 +137,7 @@ function createMainWindow() {
|
||||||
|
|
||||||
// mainWindow.setAlwaysOnTop(true, "screen-saver") // 将窗口设置为顶层窗口
|
// mainWindow.setAlwaysOnTop(true, "screen-saver") // 将窗口设置为顶层窗口
|
||||||
// mainWindow.setVisibleOnAllWorkspaces(true) // 如果窗口在所有工作区都可见
|
// mainWindow.setVisibleOnAllWorkspaces(true) // 如果窗口在所有工作区都可见
|
||||||
// mainWindow.maximize();
|
mainWindow.maximize();
|
||||||
// 第三步: 开启remote服务
|
// 第三步: 开启remote服务
|
||||||
remote.enable(mainWindow.webContents)
|
remote.enable(mainWindow.webContents)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "iconfont"; /* Project id 4723712 */
|
font-family: "iconfont"; /* Project id 4723712 */
|
||||||
src: url('iconfont.woff2?t=1732173266977') format('woff2'),
|
src: url('iconfont.woff2?t=1732240267757') format('woff2'),
|
||||||
url('iconfont.woff?t=1732173266977') format('woff'),
|
url('iconfont.woff?t=1732240267757') format('woff'),
|
||||||
url('iconfont.ttf?t=1732173266977') format('truetype');
|
url('iconfont.ttf?t=1732240267757') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconfont {
|
.iconfont {
|
||||||
|
@ -13,6 +13,10 @@
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-shangchuan:before {
|
||||||
|
content: "\e61b";
|
||||||
|
}
|
||||||
|
|
||||||
.icon-jiqiren_o:before {
|
.icon-jiqiren_o:before {
|
||||||
content: "\eb62";
|
content: "\eb62";
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -5,6 +5,13 @@
|
||||||
"css_prefix_text": "icon-",
|
"css_prefix_text": "icon-",
|
||||||
"description": "",
|
"description": "",
|
||||||
"glyphs": [
|
"glyphs": [
|
||||||
|
{
|
||||||
|
"icon_id": "4942656",
|
||||||
|
"name": "上传",
|
||||||
|
"font_class": "shangchuan",
|
||||||
|
"unicode": "e61b",
|
||||||
|
"unicode_decimal": 58907
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"icon_id": "5387814",
|
"icon_id": "5387814",
|
||||||
"name": "机器人_o",
|
"name": "机器人_o",
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -6,7 +6,7 @@
|
||||||
:style="type == 'design' ? ['top: 10px', 'justify-content: space-between'] : ['bottom: 10px', 'justify-content: center']">
|
:style="type == 'design' ? ['top: 10px', 'justify-content: space-between'] : ['bottom: 10px', 'justify-content: center']">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<!-- 前进回退 -->
|
<!-- 前进回退 -->
|
||||||
<div class="blockBox" v-if="!readonly && width >= 1000">
|
<div class="blockBox" v-if="!readonly && (width >= 1000 || width==='100%')">
|
||||||
<el-tooltip effect="light" content="回退" placement="top">
|
<el-tooltip effect="light" content="回退" placement="top">
|
||||||
<el-button :icon="RefreshLeft" circle :disabled="!canUndo" @click="undo" />
|
<el-button :icon="RefreshLeft" circle :disabled="!canUndo" @click="undo" />
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
@ -180,7 +180,7 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<!-- 滚动 -->
|
<!-- 滚动 -->
|
||||||
<div v-if="width >= 1000" class="blockBox">
|
<div v-if="width >= 1000 || width==='100%'" class="blockBox">
|
||||||
<template v-if="type == 'design'">
|
<template v-if="type == 'design'">
|
||||||
<el-tooltip effect="light" content="滚动至中心" placement="top">
|
<el-tooltip effect="light" content="滚动至中心" placement="top">
|
||||||
<el-button icon="Operation" @click="scrollToCenter" />
|
<el-button icon="Operation" @click="scrollToCenter" />
|
||||||
|
@ -202,7 +202,7 @@
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
<!-- 橡皮擦、显示网格、清空 -->
|
<!-- 橡皮擦、显示网格、清空 -->
|
||||||
<div v-if="width >= 1000" class="blockBox">
|
<div v-if="width >= 1000 || width==='100%'" class="blockBox">
|
||||||
<!-- 橡皮擦 -->
|
<!-- 橡皮擦 -->
|
||||||
<el-tooltip effect="light" :content="currentType === 'eraser' ? '关闭橡皮擦' : '橡皮擦'" placement="top">
|
<el-tooltip effect="light" :content="currentType === 'eraser' ? '关闭橡皮擦' : '橡皮擦'" placement="top">
|
||||||
<el-button v-if="!readonly" :icon="Remove" circle :type="currentType === 'eraser' ? 'primary' : null"
|
<el-button v-if="!readonly" :icon="Remove" circle :type="currentType === 'eraser' ? 'primary' : null"
|
||||||
|
|
|
@ -29,14 +29,14 @@ import { ElMessage } from 'element-plus'
|
||||||
|
|
||||||
const emit = defineEmits(['itemClick'])
|
const emit = defineEmits(['itemClick'])
|
||||||
const items = shallowRef([
|
const items = shallowRef([
|
||||||
{ title: '自主搜题', description: '1111111111111111111111111111111111111', icon: '#icon-soutibao-',type:'primary' },
|
{ title: '自主搜题', description: '上千万高质量习题资源,历届考试真题,每道题均有习题解析', icon: '#icon-soutibao-',type:'default' },
|
||||||
{ title: '校本题库', description: '222222', icon: '#icon-soutibao-',type:'success' },
|
{ title: '校本题库', description: '本校公共题库资源。', icon: '#icon-soutibao-',type:'default' },
|
||||||
{ title: '个人题库', description: '333333', icon: '#icon-soutibao-',type:'default' },
|
{ title: '个人题库', description: '老师上传维护自己的个人题库。', icon: '#icon-soutibao-',type:'default' },
|
||||||
{ title: '智能推荐', description: '444444', icon: '#icon-tubiao_wuxing-',type:'default' },
|
{ title: '智能推荐', description: '通过对学生的薄弱知识点分析,推送不同难度的习题进行强化训练。', icon: '#icon-tubiao_wuxing-',type:'default' },
|
||||||
{ title: '课堂展示', description: '555555', icon: '#icon-huaban',type:'primary' },
|
{ title: '课堂展示', description: '通过课堂白板绘制作业,提升学生的创作思维能力。', icon: '#icon-huaban',type:'primary' },
|
||||||
{ title: '常规作业', description: '555555', icon: '#icon-zhaoxiangji',type:'primary' },
|
{ title: '常规作业', description: '推送pdf、视频、音频、图片,学生可以拍照上传。', icon: '#icon-zhaoxiangji',type:'danger' },
|
||||||
{ title: 'AI设计作业', description: '555555', icon: '#icon-jiqiren_o',type:'danger' },
|
{ title: 'AI设计作业', description: '通过AI助手,根据课标、教材、考试等分析结果,智能创建作业。', icon: '#icon-jiqiren_o',type:'danger' },
|
||||||
{ title: '习题上传', description: '555555', icon: '#icon-jiqiren_o',type:'danger' },
|
{ title: '习题上传', description: '自己上传个人题库。', icon: '#icon-shangchuan',type:'danger' },
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const handleClick = (item) => {
|
const handleClick = (item) => {
|
||||||
|
@ -71,7 +71,7 @@ const handleClick = (item) => {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
width: calc(25% - 16px);
|
width: calc(25% - 16px);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
@ -140,4 +140,4 @@ const handleClick = (item) => {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue