<div v-on:mouseover="handleOver($event)" v-on:mouseout="handleOut($event)"></div>
handleOver (e) {
console.log('移入:', e)
},
handleOut (e) {
console.log('移出:', e)
}
<div v-on:mouseover="handleOver($event)" v-on:mouseout="handleOut($event)"></div>
handleOver (e) {
console.log('移入:', e)
},
handleOut (e) {
console.log('移出:', e)
}
1.使用axios 安裝 npm install axios --save 使用 https://githu
一年一度的NBA總決賽,相信球迷用的最多的就是騰訊體育這款APP,剛好上手Vue,當練手就把這個APP仿下來。 效果預覽
// 選擇關鍵字 handleKeyword(item) { const keyword = [] keyword.push({ ...item,
html: <video-player class="video-player vjs-custom-skin" ref="videoPlayer"
html代碼 <el-input type="paperTitle" placeholder="填寫真實標題,不超過50字"