This commit is contained in:
X1627315083
2025-01-22 10:16:02 +08:00
parent f6d04054e8
commit 807940f380
5 changed files with 9 additions and 7 deletions

View File

@@ -1689,7 +1689,6 @@ textarea:focus {
z-index: 2; z-index: 2;
display: flex; display: flex;
align-items: center; align-items: center;
position: sticky;
padding-bottom: calc(2rem*1.2); padding-bottom: calc(2rem*1.2);
background: #fff; background: #fff;
top: 0; top: 0;

View File

@@ -1827,7 +1827,6 @@ textarea:focus{
z-index: 2; z-index: 2;
display: flex; display: flex;
align-items: center; align-items: center;
position: sticky;
padding-bottom: calc(2rem*1.2); padding-bottom: calc(2rem*1.2);
background: #fff; background: #fff;
top: 0; top: 0;

View File

@@ -1266,7 +1266,7 @@ export default defineComponent({
] ]
let oldOperation = '' let oldOperation = ''
let canvasKeyDown = (event) => { let canvasKeyDown = (event) => {
let keys = ['Enter','Delete','ControlLeft','KeyZ','ShiftLeft','KeyC','KeyV','BracketLeft','BracketRight','KeyI','KeyD','KeyO','Backquote'] let keys = ['Enter','Delete','ControlLeft','KeyZ','ShiftLeft','KeyC','KeyV','BracketLeft','BracketRight','KeyI','KeyD','KeyO','Backquote','MetaLeft']
if(keys.indexOf(event.code) > -1){ if(keys.indexOf(event.code) > -1){
event.preventDefault(); event.preventDefault();
} }

View File

@@ -914,6 +914,9 @@ methods: {
.productImg_left{ .productImg_left{
width: 25%; width: 25%;
position: relative; position: relative;
display: flex;
height: 100%;
flex-direction: column;
.Guide_1_32{ .Guide_1_32{
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
@@ -976,9 +979,7 @@ methods: {
} }
} }
.productImg_content_item_generate_btn{ .productImg_content_item_generate_btn{
position: absolute; margin-top: auto;
bottom: 0;
top: auto;
width: 100%; width: 100%;
justify-content: space-around; justify-content: space-around;
.input_box{ .input_box{

View File

@@ -537,6 +537,9 @@ export default defineComponent({
z-index: 9; z-index: 9;
.productImg_left{ .productImg_left{
width: 100%; width: 100%;
display: flex;
height: 100%;
flex-direction: column;
.input_box_btnBox{ .input_box_btnBox{
width: 100%; width: 100%;
} }
@@ -544,7 +547,7 @@ export default defineComponent({
justify-content: flex-end; justify-content: flex-end;
} }
.productImg_content_item_generate_btn{ .productImg_content_item_generate_btn{
transform: translateY(100%); // transform: translateY(100%);
position: absolute; position: absolute;
bottom: 0; bottom: 0;
top: auto; top: auto;