摘要: <input type="" bindinput="handleInput"></input><button bindtap="handtap" data-operation="{{1}}">+</button><button bindtap="handtap" data-operation="{{ 阅读全文
posted @ 2021-10-20 17:51 果果1024 阅读(548) 评论(0) 推荐(0)
摘要: <!--template.wxml--> <template name="msgItem"> <view class="template_style"> <text class="info">This is template.wxml文件,我是一个模板</text> </view> </templa 阅读全文
posted @ 2021-10-20 16:50 果果1024 阅读(211) 评论(0) 推荐(0)
摘要: settings.json { "files.associations": { "*.js": "javascriptreact" }, // 全局formater "editor.tabSize": 2, "editor.defaultFormatter": "esbenp.prettier-vs 阅读全文
posted @ 2021-10-20 15:21 果果1024 阅读(238) 评论(0) 推荐(0)
摘要: 1.实例属性指的是在构造函数方法中定义的属性和方法,每一个实例对象都独立开辟一块内存空间用于保存属性和方法。 function Products() { this.name = 'car', this.ids = [1,2]}var product1 = new Products();var pro 阅读全文
posted @ 2021-10-20 14:16 果果1024 阅读(152) 评论(0) 推荐(0)