File tree 1 file changed +64
-13
lines changed
1 file changed +64
-13
lines changed Original file line number Diff line number Diff line change 647
647
// }
648
648
// }
649
649
650
+ // const json = {
651
+ // "moduleId": 'default',
652
+ // "name": "默认模版",
653
+ // "canvas": {
654
+ // "width": 696,
655
+ // "height": 880
656
+ // },
657
+ // "config": {
658
+ // "font": {
659
+ // "fontStyle": "normal",
660
+ // "fontWeight": 900,
661
+ // "fontSize": "80px",
662
+ // "fontFamily": "SimSun, Songti SC"
663
+ // },
664
+ // "contents": [
665
+ // {
666
+ // "text": "北欧卧室",
667
+ // "fillStyle": "#FFFFFF",
668
+ // "textAlign": "center",
669
+ // "shadowOffsetX": 4,
670
+ // "shadowOffsetY": 2,
671
+ // "shadowBlur": 10,
672
+ // "shadowColor": "#1343DB",
673
+ // "position": {
674
+ // "left": 0,
675
+ // "right": 0,
676
+ // "top": 550
677
+ // }
678
+ // }
679
+ // ],
680
+ // "effects": [
681
+ // {
682
+ // "strokeStyle": "#1343DB",
683
+ // "lineWidth": 2
684
+ // }
685
+ // ]
686
+ // }
687
+ // }
688
+
650
689
const json = {
651
690
"moduleId" : 'default' ,
652
691
"name" : "默认模版" ,
@@ -663,24 +702,36 @@ const json = {
663
702
} ,
664
703
"contents" : [
665
704
{
666
- "text" : "北欧卧室 " ,
667
- "fillStyle" : "#FFFFFF " ,
705
+ "text" : "纯色韩版防滑 " ,
706
+ "fillStyle" : "#FCD258 " ,
668
707
"textAlign" : "center" ,
669
- "shadowOffsetX" : 4 ,
670
- "shadowOffsetY" : 2 ,
671
- "shadowBlur" : 10 ,
672
- "shadowColor" : "#1343DB" ,
673
708
"position" : {
674
709
"left" : 0 ,
675
710
"right" : 0 ,
676
- "top" : 550
677
- }
678
- }
679
- ] ,
680
- "effects" : [
711
+ "top" : 140
712
+ } ,
713
+ "effects" : [
714
+ {
715
+ "strokeStyle" : "#000000" ,
716
+ "lineWidth" : 4
717
+ }
718
+ ]
719
+ } ,
681
720
{
682
- "strokeStyle" : "#1343DB" ,
683
- "lineWidth" : 2
721
+ "text" : "家用家居棉鞋" ,
722
+ "fillStyle" : "#ffffff" ,
723
+ "textAlign" : "center" ,
724
+ "position" : {
725
+ "left" : 0 ,
726
+ "right" : 0 ,
727
+ "top" : 615
728
+ } ,
729
+ "effects" : [
730
+ {
731
+ "strokeStyle" : "#000000" ,
732
+ "lineWidth" : 4
733
+ }
734
+ ]
684
735
}
685
736
]
686
737
}
You can’t perform that action at this time.
0 commit comments