使用canvas画布画出刮刮乐要被刮的图片,使用移动清除画布。 当前代码封装为刮刮乐的组件; vue代码: <template> <view class="page" v-if="merchantInfo.cdn_static"> <image class="bg" :src="merchantInfo.cdn_static +'statistics/luckDrawImg/scratchcard/page_bg.png'" mode="aspectFill"></image> <view class="content"> <view class="logo"> <image :src="merchantInfo.logo" mode="heightFix"></image> </view> <view class="title"> <image :src="merchantInfo.cdn_static +'statistics/luckDrawImg/scratchcard/title.png'" mode="heightFix"></image> </view> <view...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with Source
Contact Source, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack