摘要: 用length 的 v-if 控制数组索引大于多少就不显示,监听滑块的 位置,当距离 底部一定位置时 添加控制的长度。 TRANSLATE with x English Arabic Hebrew Polish Bulgarian Hindi Portuguese Catalan Hmong Daw 阅读全文
posted @ 2022-06-15 09:24 undefinebo 阅读(30) 评论(0) 推荐(0)
摘要: transform: scaleY(1.7); //红头的变形 让红头变的'瘦' margin-top: 60px; font-family: 方正小标宋简体,serif,arial; color: rgb(250,64,6); padding-bottom: 40px; border-bottom 阅读全文
posted @ 2022-06-02 11:27 undefinebo 阅读(515) 评论(0) 推荐(0)
摘要: watch: { picker: { //为对象名 handler() { //对象内数据变化 会执行此方法 document.getElementById('nowColor').style.color=this.picker.color }, deep: true //深度监听申明字段 } } 阅读全文
posted @ 2022-05-19 16:47 undefinebo 阅读(63) 评论(0) 推荐(0)
摘要: 需要将ts下载到本地不是全局pnpm i typescript -D 下载ts-node npm install --save-dev ts-node //用上面的命令也一样 编辑node配置 --require ts-node/register $FilePathRelativeToProject 阅读全文
posted @ 2022-05-05 11:09 undefinebo 阅读(164) 评论(0) 推荐(0)
摘要: keepalive 可以接收3个属性做为参数进行匹配对应的组件进行缓存: include 包含的组件(可以为字符串,数组,以及正则表达式,只有匹配的组件会被缓存) exclude 排除的组件(以为字符串,数组,以及正则表达式,任何匹配的组件都不会被缓存) max 缓存组件的最大值(类型为字符或者数字 阅读全文
posted @ 2022-04-09 16:47 undefinebo 阅读(660) 评论(0) 推荐(0)
摘要: const path = require("path"); const resolve = function(dir) { return path.join(__dirname, dir); }; module.exports = { publicPath: process.env.NODE_ENV 阅读全文
posted @ 2022-03-30 15:06 undefinebo 阅读(232) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <button id="btn"> 点击 </button><script> function yid 阅读全文
posted @ 2022-03-14 09:20 undefinebo 阅读(35) 评论(0) 推荐(0)
摘要: this.$router.push({ query: {...this.$route.query, id: this.id}}); TRANSLATE with x English Arabic Hebrew Polish Bulgarian Hindi Portuguese Catalan Hmo 阅读全文
posted @ 2022-03-11 14:22 undefinebo 阅读(1524) 评论(0) 推荐(0)
摘要: 前端生成32位uuid uuid() { const len = 32; //32长度 let radix = 16; //16进制 const chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split(''); let u 阅读全文
posted @ 2022-02-22 17:28 undefinebo 阅读(737) 评论(0) 推荐(0)