8000 海报配置分享专用 issue · Issue #1 · qbhy/poster-generater · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

海报配置分享专用 issue #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
qbhy opened this issue Dec 18, 2018 · 3 comments
Open

海报配置分享专用 issue #1

qbhy opened this issue Dec 18, 2018 · 3 comments

Comments

@qbhy
Copy link
Owner
qbhy commented Dec 18, 2018

No description provided.

@qbhy
Copy link
Owner Author
qbhy commented Dec 18, 2018

所需参数:
用户昵称、个性签名、头像、小程序码描述、小程序码、中间海报
效果预览

{
    "width": 640,
    "height": 1034,
    "backgroundColor": "#d04c44",
    "blocks": [
        {
            "x": 25,
            "y": 25,
            "width": 590,
            "height": 820,
            "borderColor": "#ffe6c0",
            "borderWidth": 2
        },
        {
            "x": 0,
            "y": 870,
            "width": 640,
            "height": 164,
            "backgroundColor": "#fff"
        },
        {
            "x": 67,
            "y": 303,
            "width": 506,
            "height": 500,
            "backgroundColor": "#fff"
        }
    ],
    "texts": [
        {
            "text": "{用户昵称}",
            "x": 320,
            "y": 187,
            "fontSize": 18,
            "lineHeight": 18,
            "color": "#ffe6c0",
            "width": 320,
            "lineNum": 1,
            "baseLine": "middle",
            "textAlign": "center"
        },
        {
            "text": "{个性签名}",
            "x": 320,
            "y": 225,
            "fontSize": 20,
            "lineHeight": 24,
            "color": "#ffe6c0",
            "width": 480,
            "lineNum": 2,
            "baseLine": "middle",
            "textAlign": "center"
        },
        {
            "text": "{小程序码描述}",
            "x": 170,
            "y": 923,
            "fontSize": 18,
            "color": "#999",
            "width": 300,
            "lineNum": 2,
            "baseLine": "middle",
            "zIndex": 8,
            "lineHeight": 40
        }
    ],
    "images": [
        {
            "url": "{头像}",
            "x": 270,
            "y": 67,
            "width": 100,
            "height": 100,
            "borderRadius": 100
        },
        {
            "url": "{中间海报}",
            "x": 87,
            "y": 323,
            "width": 466,
            "height": 460
        },
        {
            "url": "{小程序码}",
            "x": 45,
            "y": 905,
            "width": 100,
            "height": 100,
            "zIndex": 9
        }
    ],
    "lines": []
}

@qbhy
Copy link
Owner Author
qbhy commented Dec 22, 2018

圣诞树背景海报
所需参数: 用户名、用户头像、小程序码
ps: logo 和 logo 文案可以自行更换
效果图如下:
圣诞节海报

{
    "width": 640,
    "height": 1200,
    "debug": false,
    "preload": true,
    "backgroundColor": "#d04c44",
    "blocks": [
        {
            "x": 128,
            "y": 540,
            "width": 384,
            "height": 540,
            "backgroundColor": "#fff",
            "borderRadius": 13,
            "zIndex": 2
        }
    ],
    "texts": [
        {
            "text": "{用户名}",
            "x": 320,
            "y": 693,
            "fontSize": 22,
            "lineHeight": 22,
            "color": "#777",
            "width": 320,
            "lineNum": 1,
            "baseLine": "middle",
            "textAlign": "center",
            "zIndex": 3
        },
        {
            "text": "微信内长按识别小程序码",
            "x": 320,
            "y": 1030,
            "fontSize": 18,
            "lineHeight": 22,
            "color": "#777",
            "width": 320,
            "lineNum": 1,
            "baseLine": "middle",
            "textAlign": "center",
            "zIndex": 3
        },
        {
            "text": "我的相册二维码",
            "x": 320,
            "y": 324,
            "fontSize": 32,
            "lineHeight": 32,
            "color": "#fff",
            "width": 320,
            "lineNum": 1,
            "baseLine": "middle",
            "textAlign": "center",
            "zIndex": 3
        },
        {
            "text": "扫码免费一键转图",
            "x": 320,
            "y": 382,
            "fontSize": 26,
            "lineHeight": 26,
            "color": "#ddd",
            "width": 320,
            "lineNum": 1,
            "baseLine": "middle",
            "textAlign": "center",
            "zIndex": 3
        }
    ],
    "images": [
        {
            "url": "https://i.loli.net/2018/12/21/5c1c5d330db6f.jpg",
            "x": 0,
            "y": 0,
            "width": 640,
            "height": 1200,
            "zIndex": 0
        },
        {
            "url": "https://i.loli.net/2018/12/21/5c1c8c7de8fe9.jpg",
            "x": 275,
            "y": 178,
            "width": 90,
            "height": 90,
            "zIndex": 10
        },
        {
            "url": "{用户头像}",
            "x": 275,
            "y": 566,
            "width": 90,
            "height": 90,
            "zIndex": 10
        },
        {
            "url": "{小程序码}",
            "x": 195,
            "y": 737,
            "width": 249,
            "height": 249,
            "zIndex": 10
        }
    ],
    "lines": []
}

@qbhy
Copy link
Owner Author
qbhy commented Apr 23, 2021

早安海报
image

{
    "width": 750,
    "height": 750,
    "backgroundColor": "#d04c44",
    "blocks": [
        {
            "x": 128,
            "y": 540,
            "width": 384,
            "height": 540,
            "backgroundColor": "#fff",
            "borderRadius": 13,
            "zIndex": 2
        }
    ],
    "texts": [
        {
            "text": "坚持早起",
            "x": 30,
            "y": 190,
            "fontSize": 22,
            "lineHeight": 22,
            "color": "#ffffff",
            "lineNum": 1,
            "textAlign": "left",
            "zIndex": 3
        },
        {
            "text": "4",
            "x": 30,
            "y": 237,
      
8591
      "fontSize": 48,
            "lineHeight": 22,
            "color": "#ffffff",
            "lineNum": 1,
            "textAlign": "left",
            "zIndex": 3
        },
        {
            "text": "",
            "x": 83,
            "y": 257,
            "fontSize": 22,
            "lineHeight": 22,
            "color": "#ffffff",
            "lineNum": 1,
            "textAlign": "left",
            "zIndex": 3
        },
        {
            "text": "今日早起",
            "x": 30,
            "y": 320,
            "fontSize": 24,
            "color": "#ffffff",
            "lineNum": 1,
            "textAlign": "left",
            "zIndex": 3
        },
        {
            "text": "10:58",
            "x": 30,
            "y": 366,
            "fontSize": 52,
            "color": "#ffffff",
            "lineNum": 1,
            "textAlign": "left",
            "zIndex": 3
        },
        {
            "text": "1005650人正在参与",
            "x": 30,
            "y": 470,
            "fontSize": 24,
            "color": "#ffffff",
            "lineNum": 1,
            "textAlign": "left",
            "zIndex": 3
        },
        {
            "text": "比 8% 的人起的早",
            "x": 30,
            "y": 505,
            "fontSize": 24,
            "color": "#ffffff",
            "lineNum": 1,
            "textAlign": "left",
            "zIndex": 3
        },
        {
            "text": "坚强向上,方能靠近阳光向上,方能靠近阳光向上,方能",
            "x": 30,
            "y": 640,
            "fontSize": 30,
            "color": "#ffffff",
            "width": 520,
            "lineHeight": 35,
            "lineNum": 2,
            "textAlign": "left",
            "zIndex": 3
        },
        {
            "text": "扫码说早安",
            "x": 620,
            "y": 590,
            "fontSize": 20,
            "color": "#ffffff",
            "lineNum": 1,
            "textAlign": "left",
            "zIndex": 3
        },
        {
            "text": "02",
            "x": 638,
            "y": 30,
            "fontSize": 38,
            "color": "#ffffff",
            "lineNum": 1,
            "textAlign": "left",
            "zIndex": 3
        },
        {
            "text": "2021.04",
            "x": 623,
            "y": 71,
            "fontSize": 15,
            "color": "#ffffff",
            "lineNum": 1,
            "textAlign": "left",
            "zIndex": 3
        }
    ],
    "images": [
        {
            "url": "https://qiniu.faxingxiuxiu.cn/class/morning/e6b04d7b24f4b94de15aac77652fc6ef.jpg",
            "x": 0,
            "y": 0,
            "width": 750,
            "height": 750,
            "zIndex": 0
        },
        {
            "url": "https://lsbk.oss-cn-zhangjiakou.aliyuncs.com/sample/WYe3FBTG.jpg",
            "width": 100,
            "height": 100,
            "x": 32,
            "y": 32,
            "borderRadius": 100
        },
        {
            "url": "qrcode",
            "qrCode": true,
            "width": 100,
            "height": 100,
            "x": 620,
            "y": 620
        }
    ],
    "lines": []
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0