- 
            
            添加不存在的边框 vm.$set()查看全部
- 
            
            v-on:click="" @click="" v-bind:class="" Vue.set(item,"checked",true);查看全部
- 
            
            cartJs查看全部
- 
            
            totalMoney查看全部
- 
            
            filter查看全部
- 
            
            vue:易用 灵活 高效查看全部
- 
            
            mounted: function () { this.$nextTick(function () { // 代码保证 this.$el 在 document 中 }) }查看全部
- 
            
            v-for="(item,index) in productList" res.body. v-bind:src="item.productImage" mounted: function () { this.$nextTick(function () { // 代码保证 this.$el 在 document 中 }) }查看全部
- 
            
            基础指令查看全部
- 
            
            ready是1.0版本的方法,2.0改为mounted查看全部
- 
            
            我觉得这个查看全部
- 
            
            过滤器用法:{{item.productPrice | formatMoney}} filters:{ formatMoney:function(default){ return "Y"+value.toFixed(2); } } 写在外部的是全局过滤器(value:默认值 ,type参数) Vue.filter("money", function (vaule, type) { return "¥" + vaule.toFixed(2) + type; }) 例如:{{item.productPrice | money(元)}}查看全部
- 
            
            v-for: 2.0 版本索引有变化 , v-for="(item,index) in productList" {{item.productName + "==" + index }}查看全部
- 
            
            图片路径渲染: 1.0 src="{{item.productImage}}" , 2.0 必须使用 v-bind:scr="item.productImage" 才能显示图片查看全部
- 
            
            自动计算: v-model="item.b" 直接可以{{item.a*item.b}}查看全部
举报
0/150
	提交
		取消
	 
             
         
                 
                 
                 
                 
                