diff --git a/dist.7z b/dist.7z
index 704ed151..6913ba9d 100644
Binary files a/dist.7z and b/dist.7z differ
diff --git a/src/component/Canvas/CanvasEditor/components/ToolsSidebar.vue b/src/component/Canvas/CanvasEditor/components/ToolsSidebar.vue
index c3c2ab46..9f795b96 100644
--- a/src/component/Canvas/CanvasEditor/components/ToolsSidebar.vue
+++ b/src/component/Canvas/CanvasEditor/components/ToolsSidebar.vue
@@ -18,7 +18,7 @@ const emit = defineEmits([
"undo-redo-status-changed",
"trigger-library"
]);
-const {t} = useI18n()
+const {t,locale} = useI18n()
const props = defineProps({
activeTool: String,
minimapEnabled: {
@@ -166,6 +166,16 @@ const normalToolsList = ref([
icon: { name: "CFont", size: "20" },
class: "text-btn",
},
+ {
+ id: "help",
+ title: t("Canvas.help"),
+ action: () => openTutorial(),
+ icon: { name: "CHelp", size: "30" },
+ class: "text-btn",
+ style: {
+ 'margin-top': 'auto',
+ },
+ },
]);
// 红绿图模式工具列表
@@ -244,6 +254,14 @@ function addText() {
emit("add-text");
}
+function openTutorial() {
+ if(locale == 'ENGLISH'){
+ window.open('https://aida-user-manual.super.site/specific-scenarios/freely-sketching-in-canvas', '_blank');
+ }else{
+ window.open('https://aida-user-manual-chinese.super.site/%e4%bd%bf%e7%94%a8%e7%94%bb%e5%b8%83%e8%bf%9b%e8%a1%8c%e7%bc%96%e8%be%91 ', '_blank');
+ }
+}
+
function undo() {
if (!canUndo.value) return;
undoFun();
diff --git a/src/component/Detail/DesignDetail.vue b/src/component/Detail/DesignDetail.vue
index 90c2b06d..c088e087 100644
--- a/src/component/Detail/DesignDetail.vue
+++ b/src/component/Detail/DesignDetail.vue
@@ -357,7 +357,7 @@ export default defineComponent({
designSingleItemDTOList:clothes,
isPreview:true,
// ifSubmit:designItemDetail.isPreview,
- gender:workspace?.sex == 'Male'?1:0,
+ gender:workspace?.sex,
sketchString:'',
modelId:(detailData.currentDetailType == 'models' && detailData.designDetail.newModel)?detailData.designDetail.newModel.id:detailData.designDetail.oldModel?detailData.designDetail.oldModel.id:'',
modelType:(detailData.currentDetailType == 'models' && detailData.designDetail.newModel)?detailData.designDetail.newModel.type:detailData.designDetail.oldModel?detailData.designDetail.oldModel.type:'',
@@ -567,15 +567,17 @@ export default defineComponent({
height: 100%;
overflow: hidden;
&.detailLeft{
- width: 34rem;
+ width: 30rem;
// width: 34rem;
display: flex;
flex-direction: column;
}
&.isEditPattern{width: 0px;}
&.model{
- width: 50rem;
- margin: 0 10rem;
+ width: 45rem;
+ // width: 50rem;
+ margin: 0 8rem;
+ // margin: 0 10rem;
display: flex;
flex-direction: column;
}
diff --git a/src/component/Detail/canvas/index.vue b/src/component/Detail/canvas/index.vue
index f3386abe..44cc1bbc 100644
--- a/src/component/Detail/canvas/index.vue
+++ b/src/component/Detail/canvas/index.vue
@@ -16,14 +16,6 @@
imageMode:'contains',
}"
ref="editCanvas">
-
-
-
-
-
@@ -35,6 +27,7 @@
ref="editFrontBack">
-->