uniapp
雨化
前端码农
展开
-
vue input只能输入两位小数
vue input只能输入两位小数。原创 2023-01-31 17:10:14 · 314 阅读 · 0 评论 -
vue,uniapp,vue3+vite项目配置h5跨域解决
首先发起的请求应该是本地发起的服务ip的地址然后借由proxy将本地服务反向代理到正确的域名地址上原创 2021-12-24 15:53:23 · 1545 阅读 · 0 评论 -
uniapp,vue的cavans飘落效果
首先效果图。后补代码onShow () { this.createStar() }, mothods{ createStar () { const that = this; let { requestAnimationFrame, canvansShow } = this; function Star (x, y, radius) { this.x = x this.y = y this.sx = 0 this.sy = 0 this.deg = 0 this.radius = radius thi原创 2021-01-25 15:34:18 · 1415 阅读 · 8 评论 -
uniapp引入本地图片
注意使用相对路径,需要require<image class="" mode="aspectFill" :lazy-load="true" :src="require('./img/beauty.png')" />原创 2020-07-31 10:27:49 · 14543 阅读 · 0 评论