style: prompt input样式修改
This commit is contained in:
@@ -623,11 +623,12 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
let isSelectObject = false
|
||||
watch(() => route.query,
|
||||
(query:any, oldQuery:any) => {
|
||||
isSelectObject = false
|
||||
},
|
||||
);
|
||||
watch(
|
||||
() => route.query,
|
||||
(query: any, oldQuery: any) => {
|
||||
isSelectObject = false
|
||||
}
|
||||
)
|
||||
let beforeUpload = async (file: any) => {
|
||||
const isJpgOrPng =
|
||||
file.type === 'image/jpeg' ||
|
||||
@@ -641,8 +642,8 @@ export default defineComponent({
|
||||
if (!isLt2M) {
|
||||
message.info(useI18n().t('MoodboardUpload.jsContent4'))
|
||||
}
|
||||
const objectId = route?.query?.id
|
||||
if (!objectId && !isSelectObject) {
|
||||
const objectId = route?.query?.id
|
||||
if (!objectId && !isSelectObject) {
|
||||
isSelectObject = true
|
||||
productImgData.selectObject.id = await createProbject()
|
||||
upload.value = {
|
||||
@@ -650,10 +651,7 @@ export default defineComponent({
|
||||
CollectionType: props.productimgMenu.value
|
||||
}
|
||||
}
|
||||
return !!(
|
||||
(isJpgOrPng && isLt2M && objectId) ||
|
||||
Upload.LIST_IGNORE
|
||||
)
|
||||
return !!((isJpgOrPng && isLt2M && objectId) || Upload.LIST_IGNORE)
|
||||
}
|
||||
let setGenerate = (item: any) => {
|
||||
item.isChecked = !item.isChecked
|
||||
@@ -1559,8 +1557,8 @@ export default defineComponent({
|
||||
:deep(.ant-upload-picture-card-wrapper) {
|
||||
.ant-upload-list-picture-card {
|
||||
.ant-upload-select-picture-card {
|
||||
width: 9.6rem;
|
||||
height: 13.4rem;
|
||||
width: 12.7rem;
|
||||
height: 17.8rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1579,9 +1577,14 @@ export default defineComponent({
|
||||
.input_box {
|
||||
.input_box_btnBox {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
.textarea {
|
||||
// flex: 1;
|
||||
min-height: 12.7rem;
|
||||
max-height: none;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1592,9 +1595,9 @@ export default defineComponent({
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
color: #313131;
|
||||
position: absolute;
|
||||
bottom: 1.3rem;
|
||||
left: 1.3rem;
|
||||
// position: absolute;
|
||||
// bottom: 1.3rem;
|
||||
// left: 1.3rem;
|
||||
display: flex;
|
||||
column-gap: 0.3rem;
|
||||
justify-content: center;
|
||||
|
||||
Reference in New Issue
Block a user