|幫自己心愛的多肉找個美盆|
光華帶點凹凸質感的表面設計
讓植物美到像不屬於地球般
追求設計上的風格獨特
更喜歡產品與真實生活的結合
BJ多肉同時也希望可以有讓有溫度的手工器皿、溫暖人心
並在不完美中發現充滿時間感的美
接收自然循環,回歸自我。
|盆器尺寸|
朔月陶盆7:內徑約11.5cm、高約10.5cm
朔月陶盆8:內徑約10.5cm、高約6.7cm(頂盆邊緣寬約1.2cm)
朔月陶盆9:內徑約10.5cm、高約5.7cm(頂盆邊緣寬約0.5cm)
朔月陶盆10:內徑約9cm、高約8cm
朔月陶盆11:內徑約10cm、高約6.5cm
朔月陶盆12:內徑約7.7cm、高約6cm
朔月陶盆13:內徑約7.5cm、高約5.5cm
朔月陶盆14:內徑約7.7cm、高約7cm
朔月陶盆15:內徑約7cm、高約5.5cm
朔月陶盆16:內徑約6.5cm、高約6cm(頂盆邊緣寬約1cm)
朔月陶盆17:內徑約6cm、高約6.5cm
5242880) {
commentError.innerHTML = '圖片大小不得超過5MB。';
input.value = ''; // Clear the input file if invalid
return false;
}
commentError.innerHTML = '';
var reader = new FileReader();
reader.onload = function (e) {
var previewDiv = document.createElement('div');
previewDiv.style.marginRight = '20px';
previewDiv.style.marginTop = '10px';
previewDiv.style.display = 'flex';
previewDiv.style.alignItems = 'center';
previewDiv.style.position = 'relative';
var img = document.createElement('img');
img.style.width = '100px';
img.style.height = '100px';
img.style.borderRadius = '5px';
img.src = e.target.result;
var closeIconHTML = '';
var closeIcon = document.createRange().createContextualFragment(closeIconHTML);
closeIcon.innerHTML = '×';
closeIcon.onclick = function () {
deleteImagePreview(previewDiv);
};
previewDiv.appendChild(img);
previewDiv.appendChild(closeIcon);
imagePreviews.appendChild(previewDiv);
uploadedImageURLs.push(e.target.result);
console.log(uploadedImageURLs);
addImageInput.classList.remove('has-image')
console.log('imagePreviews.childElementCount',imagePreviews.childElementCount);
if(imagePreviews.childElementCount > 0) addImageInput.classList.add('has-image');
if (imagePreviews.childElementCount >= 3) {
addImageInput.style.display = 'none';
} else {
addImageInput.style.display = 'flex';
}
addImageInput.style.flex = '1';
};
reader.readAsDataURL(input.files[0]);
}
}
function deleteImagePreview(previewDiv) {
var imagePreviews = document.getElementById('imagePreviews');
var addImageInput = document.getElementById('labelImage');
imagePreviews.removeChild(previewDiv);
document.getElementById('custom_image_upload').value = '';
var imgSrc = previewDiv.querySelector('img').src;
var index = uploadedImageURLs.indexOf(imgSrc);
if (index !== -1) {
uploadedImageURLs.splice(index, 1);
}
if (imagePreviews.childElementCount < 3) {
addImageInput.style.display = 'flex';
if (imagePreviews.childElementCount === 0) {
addImageInput.style.width = '385px'; // Set to the initial width
} else {
// If images still exist, keep the width as flex: 1
addImageInput.style.width = '100%'; // Assuming it's inside a flex container
}
}
}