diff --git a/src/components/PhotoStrip.vue b/src/components/PhotoStrip.vue
index 9c49f63..e9e7306 100644
--- a/src/components/PhotoStrip.vue
+++ b/src/components/PhotoStrip.vue
@@ -11,9 +11,7 @@ const themeConfig = computed(
() => STRIP_THEME_MAP[props.theme] || STRIP_THEME_MAP[DEFAULT_STRIP_THEME_ID],
)
const borderColor = computed(() => themeConfig.value?.borderColor || '#ffffff')
-const stripShadow = computed(
- () => themeConfig.value?.shadow || '0 24px 60px rgba(0, 0, 0, 0.18)',
-)
+const stripShadow = computed(() => themeConfig.value?.shadow || '0 24px 60px rgba(0, 0, 0, 0.18)')
const stripSize = computed(() => themeConfig.value.size)
const frames = computed(() => themeConfig.value.slots || [])
@@ -52,28 +50,82 @@ function clipStyle(rect) {
>
-
-
+
diff --git a/src/pages/Customize.vue b/src/pages/Customize.vue
index abec3fd..6f0de62 100644
--- a/src/pages/Customize.vue
+++ b/src/pages/Customize.vue
@@ -44,7 +44,12 @@ function handleApply(payload) {
// payload: { dataUrl, transform }
const { dataUrl, transform } = payload
if (editorIndex.value >= 0) {
- const original = (store.photos[editorIndex.value] && (store.photos[editorIndex.value].src || store.photos[editorIndex.value])) || (previewPhotos.value[editorIndex.value] && (previewPhotos.value[editorIndex.value].src || previewPhotos.value[editorIndex.value])) || null
+ const original =
+ (store.photos[editorIndex.value] &&
+ (store.photos[editorIndex.value].src || store.photos[editorIndex.value])) ||
+ (previewPhotos.value[editorIndex.value] &&
+ (previewPhotos.value[editorIndex.value].src || previewPhotos.value[editorIndex.value])) ||
+ null
const obj = { src: original, preview: dataUrl, transform }
previewPhotos.value[editorIndex.value] = obj
// persist to store as well
@@ -84,7 +89,19 @@ function handleApply(payload) {
Generate strip
-
+
@@ -129,7 +146,12 @@ function handleApply(payload) {
align-items: center;
gap: 6px;
}
-.edit-thumb img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px }
+.edit-thumb img {
+ width: 84px;
+ height: 64px;
+ object-fit: cover;
+ border-radius: 8px;
+}
.options-panel {
display: grid;