2024年物联网嵌入式最新Vue # 进度条_this(1),京东最新物联网嵌入式开发面试真题解析

img
img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上物联网嵌入式知识点,真正体系化!

由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、电子书籍、讲解视频,并且后续会持续更新

如果你需要这些资料,可以戳这里获取

},
bufferedPercent: {
type: Number,
default: 0
},
size: {
type: String,
default: ‘default’,
validator (value) {
return [‘default’, ‘small’].includes(value)
}
},
waiting: {
type: Boolean,
default: false
}
},
destroy () {
window.removeEventListener(‘resize’, debounce(this.handleResize, 50))
},
mounted () {
this.changeProgressbarWidth(this.percent)
let _this = this
window.addEventListener(‘resize’, debounce(this.handleResize, 50))
const virtualBar = this.KaTeX parse error: Expected '}', got 'EOF' at end of input: …ssBar = \_this.refs.progressBar
let pageX = e.pageX
let diff = pageX - progressBar.getBoundingClientRect().left
let percent = (diff / progressBar.clientWidth).toFixed(2)
_this.KaTeX parse error: Expected 'EOF', got '}' at position 45: …X, percent }) }̲, 200)) virtua…emit(‘virtualBarLeave’)
}, 200))
},
computed: {
handleCls () {
return this.size === ‘small’
? ‘handle small’
: ‘handle’
}
},
watch: {
percent (newPercent) {
if (newPercent >= 0 && !this.mouse.isDown) {
this.changeProgressbarWidth(newPercent)
}
},
bufferedPercent (newPercent) {
this.changeBufferedWidth(newPercent)
}
},
methods: {
handleResize () {
this.changeBufferedWidth(this.bufferedPercent)
this.changeProgressbarWidth(this.percent)
},
onMouseDown (e) {
e.preventDefault()
this.mouse.startX = e.pageX
this.mouse.isDown = true
this.mouse.left = this.KaTeX parse error: Expected '}', got 'EOF' at end of input: …ressBar = this.refs.progressBar
const progress = this. r e f s . p r o g r e s s c o n s t p r o g r e s s B a r W i d t h = p r o g r e s s B a r . g e t B o u n d i n g C l i e n t R e c t ( ) . w i d t h t h i

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值