上一页 1 2 3 4 5 6 7 ··· 25 下一页

2025年3月15日

canvas 添加水印

摘要: 🚀 使用 Canvas 给图片添加水印 在 Web 开发中,给图片添加水印可以使用 Canvas API,这样可以确保水印不会被轻易移除,同时不会影响图片的清晰度。 📌 1. 使用 Canvas 给图片添加水印(基础版) ✅ 示例:在图片右下角添加水印 <canvas id="watermark 阅读全文

posted @ 2025-03-15 15:26 ChoZ 阅读(387) 评论(0) 推荐(0)

2025年3月13日

eletron开发

摘要: 1.安装 npm i electron electron-builder -D 2.编写electron主进程文件 // 主进程文件 import { app, BrowserWindow } from 'electron' app.whenReady().then(() => { const wi 阅读全文

posted @ 2025-03-13 23:16 ChoZ 阅读(92) 评论(0) 推荐(0)

2025年3月11日

router

摘要: 1.创建router文件 import { createRouter, createWebHistory } from 'vue-router' import type { RouteRecordRaw } from 'vue-router' const routes: Array<RouteRec 阅读全文

posted @ 2025-03-11 00:57 ChoZ 阅读(41) 评论(0) 推荐(0)

2025年3月10日

router初始化

摘要: import { createRouter, createWebHistory } from 'vue-router' import type { RouteRecordRaw } from 'vue-router' const routes: Array<RouteRecordRaw> = [ { 阅读全文

posted @ 2025-03-10 15:57 ChoZ 阅读(37) 评论(0) 推荐(0)

2025年3月9日

发布APP

摘要: 1.基础配置(启动界面、模块、配置等按需配置) 2.自定义基座,并点击打包 3.本地启动,在逍遥模拟器上运行,模拟器环境没有问题打线上包 4.打线上包 5.打包完成,提供临时下载地址,可以使用unicloud存储为持续性下载地址 阅读全文

posted @ 2025-03-09 18:41 ChoZ 阅读(32) 评论(0) 推荐(0)

h5发布

摘要: 1.manifest配置 2.在hubildX打包项目,需安装插件 3.查看打包好的文件,通过这个包可以到uniCloud发布 阅读全文

posted @ 2025-03-09 16:58 ChoZ 阅读(43) 评论(0) 推荐(0)

微信小程序发版

摘要: 1.配置request服务地址:配置请求后端地址 2.如果有需要下载文件,则配置downloadFile服务地址: 3.配置mainfest.json 4.使用hbuildX发行功能(需要注册hbuild账号和绑定手机号码,获取appid) 5.打包后的文件 6.会自动打开微信小程序开发工具,手动点 阅读全文

posted @ 2025-03-09 15:55 ChoZ 阅读(83) 评论(0) 推荐(0)

2025年3月5日

mp-html富文本渲染插件

摘要: <template> <mp-html :content="html"></mp-html> </template> <script setup> const html = '<div>123<h1>5555</h1></div>' </script> <style scoped lang="scs 阅读全文

posted @ 2025-03-05 11:27 ChoZ 阅读(114) 评论(0) 推荐(0)

分享朋友圈、分享小程序

摘要: <template> <view class="">123</view> </template> <script setup> // 打开分享功能 onShareAppMessage((e) => { return { title: '自定义分享标题', path: '/pages/demo/ima 阅读全文

posted @ 2025-03-05 01:33 ChoZ 阅读(43) 评论(0) 推荐(0)

小程序存储图片到相册getImageInfo、saveImageToPhotosAlbum、openSetting

摘要: 1.配置download地址 2.配置隐私协议 3.模拟器清除授权 4.代码 <template> </template> <script setup> // 实现储存网络图片到相册 // #ifdef H5 // H5无法实现,只能弹出图片让用户截图或者长按保存图片 // #endif // #i 阅读全文

posted @ 2025-03-05 00:22 ChoZ 阅读(275) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 ··· 25 下一页

导航