- 博客(9)
- 收藏
- 关注
原创 uniapp词云页面
3.在页面的script中,导入第三方词云库,如wordcloud2.js。5.定义一个方法,用于生成词云图。6.最后,在manifest.json文件中配置页面的导航栏和标题等信息,然后运行项目即可在词云页面中看到生成的词云图。1.创建一个新的UniApp项目,在pages目录下创建一个新的页面,命名为wordcloud。2.在wordcloud.vue文件中添加一个canvas元素,用于绘制词云图。
2023-02-17 13:40:39
620
原创 Git提交规范
module.exports = { // 可选类型 types: [ { value: 'feat', name: 'feat: 新功能' }, { value: 'fix', name: 'fix: 修复' }, { value: 'docs', name: 'docs: 文档变更' }, { value: 'style', name: 'style: 代码格式(不影响代码运行的变动)' }, { value:.
2022-05-31 08:55:27
258
原创 常见正则验证
reg.js// 只需要将这些代码放到公共js文件然后在main.js页面全局注册就行了,真的是很耐斯的哈!// (有些校验我也看不懂,但是不耽搁我们自己配置)const numberReg = /^-?[1-9][0-9]?.?[0-9]*$/const intReg = /^-?[1-9][0-9]*$/const phoneReg = /^1[0-9]{10,10}$/const emailReg = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+
2022-03-25 13:51:35
180
原创 uniapp左滑删除
html<template> <view class="content-1"> <view class="container-1" @touchstart="touchS" @touchmove="touchM" @touchend="touchE" :style="{'left':act_touch==index?leftStyle + 'upx':0}" :data-index="index" v-for="(i, index) in 3"> &l
2022-03-24 09:03:55
2581
原创 微信小程序canvas分享图片
<view class="share" catchtouchmove="true" wx-if="{{showShare==true}}"> <view class="mask" catch:tap="Cloose"></view> <view class="share_content"> <view class="share_img"> <canvas canvas-id='shar.
2022-03-23 09:19:16
675
原创 UNIAPP手写签名
uniapp手写签名HTML<template> <view > <canvas class="mycanvas" canvas-id="mycanvas" @touchstart="touchstart" @touchmove="touchmove" @touchend="touchend"></canvas> <view class="footer"> <view class="left" @click="finish
2022-03-23 09:10:17
594
原创 PIAO网址PIAO
一、视频类1. 预告片世界:预告片世界 - 最新电影预告片免费下载2. 33台词:33台词 - 电影台词搜索引擎3.MixKit:Free Stock Videos, Download Royalty Free Videos | Mixkit4.Pexel:https://www.pexels.com/zh-cn/video/5.Videezy:https://www.videezy.com/6.VJShi:VJ师网_正版视频素材下载二、PPT模板类1.51PPT模板:51P
2022-03-15 23:37:39
785
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人