摘要: 第一种,JS 1、判断dom this.$refs.squareRef.addEventListener('wheel', this.addScrolbarFn, false) addScrolbarFn(event) { event.stopPropagation() const dom = th 阅读全文
posted @ 2023-04-26 15:54 DL·Coder 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 效果 排序三角组件 <template> <div class="order"> <div class="order-text" @click="textBtnFn"> <slot></slot> </div> <div class="order-icon" @click="nabFn"> <div 阅读全文
posted @ 2023-04-26 09:57 DL·Coder 阅读(13) 评论(0) 推荐(0) 编辑