摘要:
<template> <view> <canvas id="myCanvas" :style="{ width: '200px', height: '200px' }"></canvas> </view> </template> <script> export default { onReady() 阅读全文
posted @ 2023-07-31 19:52
叶乘风
阅读(909)
评论(0)
推荐(0)
摘要:
methods: { drawPoster() { const ctx = uni.createCanvasContext('canvas', this); // 设置字体样式 ctx.setFontSize(20); ctx.setTextAlign('center'); ctx.setTextB 阅读全文
posted @ 2023-07-31 13:36
叶乘风
阅读(3478)
评论(0)
推荐(0)

浙公网安备 33010602011771号