diff --git a/src/views/SellerDashboard/BrandProfile/image-clip-dialog.vue b/src/views/SellerDashboard/BrandProfile/image-clip-dialog.vue index 98ff372e..9b46fd55 100644 --- a/src/views/SellerDashboard/BrandProfile/image-clip-dialog.vue +++ b/src/views/SellerDashboard/BrandProfile/image-clip-dialog.vue @@ -12,7 +12,7 @@ :keyboard="false" >
-
+
{{ data.title }}
@@ -21,16 +21,19 @@
-
- +
+
+
{{ tips }}
+ +
false } }) +const tips = computed(() => { + if (props.type === "cover") { + return "Align crown to top, mid-thigh to bottom for best results." + } + if (props.type === "mainProductImage") { + return "Align crown to top, foot base to bottom for best results." + } + if (props.type === "sketch") { + return "Align crown to top, foot base to bottom for best results." + } + if (props.type === "apparel") { + return "Trim whitespace and center your apparel sketch." + } +}) + const data = reactive({ url: "", title: "Crop Image", @@ -126,6 +144,9 @@ defineExpose({ display: flex; justify-content: space-between; margin-bottom: 5rem; + &.is-product { + margin-bottom: 2.4rem; + } > .title { font-family: pingfang_heavy; font-size: 2.4rem; @@ -154,6 +175,15 @@ defineExpose({ display: flex; align-items: center; justify-content: center; + &.is-product { + column-gap: 18.6rem; + } + .tips { + text-align: center; + color: #585858; + font-size: 1.4rem; + font-weight: 400; + } > .image-clip { flex: 1; &.is-product {