9***@qq.com
9***@qq.com
  • 发布:2023-10-13 15:04
  • 更新:2023-11-07 08:52
  • 阅读:269

uniapp开发微信,要把页面的一部分内容生成图片,保存到手机

分类:uni-app
<movable-area class="hnb" :style="{width:screenWidth+'px',height:screenWidth+'px'}" >  
                <image :src="path" class="pbg" :style="{width:screenWidth+'px',height:screenWidth+'px'}"  
                    mode="aspectFit" >  
                </image>  

                <movable-view :x="x" :y="y" direction="all" @change="onChange" class="mvv"  
                    :style="{width:screenWidth/3+'px',height:screenWidth/3+'px'}">  

                    <image :src="thtp" class="pbg2" :style="{width:screenWidth/3+'px',height:screenWidth/3+'px'}"  
                        mode="aspectFit" @click="choosepic(0)" >  
                    </image>  

                </movable-view>  

                <image :src="path1" class="pbg2"  
                    :style="{bottom:0+'px',right:0+'px',width:screenWidth/2+'px',height:screenWidth/2+'px'}"  
                    mode="aspectFit" ></image>  

</movable-area>

要把movable-area 包裹的内容保存成图片,请问怎么处理

2023-10-13 15:04 负责人:无 分享
已邀请:
z***@163.com

z***@163.com

我也有同样的问题要解决

套马杆的套子

套马杆的套子 - 没有解决不了的问题,只有解决不完的问题

canvas绘图,插件市场搜搜,应该会有好多

要回复问题请先登录注册