avalon [記錄]

 

avalon tap 點擊 延遲 問題html

  click 事件直接綁定到目標元素 (即 .target)上ui

  目標元素換成 <a> 或者 button 等可點擊的元素spa

  * click 事件委託到非 document 或 body 的父級元素上  htm

  * 目標元素加一條樣式規則 cursor: pointer;blog

  參考: https://www.cnblogs.com/xuejianxiyang/p/5824640.html事件

 

傳入當前元素
  $event:@obtainCouponFn($event)
  獲取:$(el.target)圖片

 

avalon 圖片問題ci

  先加載html  img :attr  src 未出現  img頁面出現邊框get

  解決    img[src=""]  ,  img:not ([src]) {   opacity:0 !important;   }avalon

 

$modle

  vm.$modle

  vm.vmColName.$modle

 

ms-attr-class

  <span :class="el.type==undefined?'dpn':['saleHotListSub',(el.type=='特賣'? '':'subAssistClr')]">{{el.type}}</span>

 

avalon.vmodels['ControllerName'].nameInController='XXX';

var bgflieImg=require('../../img/purchaser/flieImg.png');

相關文章
相關標籤/搜索