|
|
@@ -142,7 +142,7 @@ export const getTextConfig = (shop: any) => {
|
|
|
export const shineConfig = (posType: LabelPositionEnum, image: any) => {
|
|
|
if (posType === LabelPositionEnum.LEFT) {
|
|
|
return {
|
|
|
- x: 100,
|
|
|
+ x: 77,
|
|
|
y: 0,
|
|
|
width: 107,
|
|
|
height: 38,
|
|
|
@@ -150,7 +150,7 @@ export const shineConfig = (posType: LabelPositionEnum, image: any) => {
|
|
|
};
|
|
|
} else if (posType === LabelPositionEnum.RIGHT) {
|
|
|
return {
|
|
|
- x: 55,
|
|
|
+ x: 25,
|
|
|
y: 0,
|
|
|
width: 107,
|
|
|
height: 38,
|
|
|
@@ -158,7 +158,7 @@ export const shineConfig = (posType: LabelPositionEnum, image: any) => {
|
|
|
};
|
|
|
} else {
|
|
|
return {
|
|
|
- x: 55,
|
|
|
+ x: 25,
|
|
|
y: 0,
|
|
|
width: 107,
|
|
|
height: 38,
|