码迷,mamicode.com
首页 > 其他好文 > 详细

10.27

时间:2017-10-27 13:30:47      阅读:207      评论:0      收藏:0      [点我收藏+]

标签:getattr   attribute   view   login   get   phone   notice   而不是   ddr   

mui(".mui-table-view").on(‘tap‘, ‘.mui-table-view-cell‘, function() {
if(check_login()) {
ca.sendNotice(‘order_detail‘, ‘update_address‘, {
receiverName: this.getAttribute(‘receiverName‘),
phone: this.getAttribute(‘phone‘),
address: this.getAttribute(‘address‘),
addressDetail: this.getAttribute(‘addressDetail‘)
});
mui.back();
} else {
jump_login();
}
});

遍历的时候是便利本控件的属性,而不是子控件

10.27

标签:getattr   attribute   view   login   get   phone   notice   而不是   ddr   

原文地址:http://www.cnblogs.com/lhang55/p/7742291.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!