首页 > 编程语言 >Painter 画板,用于小程序的海报生成

Painter 画板,用于小程序的海报生成

时间:2022-09-28 15:37:18浏览次数:55  
标签:海报 limeui 画板 程序 生成 Painter

<l-painter ref="painter">
<l-painter-view css="width: 568rpx; box-sizing:border-box; background: #ffffff; align-items: center; padding: 24rpx; border-radius: 24rpx;">
<l-painter-image :src="weburl+'undraw_doctors_hwty.png'" css="width: 480rpx; height: 332rpx; margin: 24rpx auto; border-radius: 24rpx;"/>
<l-painter-text css="font-size: 32rpx; color: #666666; margin: 24rpx 0" text="邀请您使用在线问诊平台"></l-painter-text>
<l-painter-view css="display:block; height: 2rpx; background: #E5E5E5; margin: 0;"></l-painter-view>
<l-painter-view css="display:flex; align-items:center; margin: 24rpx;">
<l-painter-image css="width: 88rpx; height: 88rpx; border-radius: 44rpx; margin-right: 16rpx" :src="userInfo.avatar"></l-painter-image>
<l-painter-view css="flex:1; box-sizing:border-box;">
<l-painter-text css="font-size: 32rpx; color: #222222; font-weight: 500; display:block;" :text="userInfo.username"></l-painter-text>
<l-painter-text css="font-size: 24rpx; color: #999999;" text="长按识别二维码"></l-painter-text>
</l-painter-view>
<l-painter-qrcode :text="qrcodeContent" css="width: 120rpx;height: 120rpx;"></l-painter-qrcode>
</l-painter-view>
</l-painter-view>
</l-painter>

官网:http://liangei.gitee.io/limeui-docs/components/painter/

标签:海报,limeui,画板,程序,生成,Painter
From: https://www.cnblogs.com/xqschool/p/16738222.html

相关文章