首页 > 代码库 > 8、发布页详细
8、发布页详细
在issueContent里放一个panel(bootstrap)
Model.prototype.savebookBnClick = function(event){ var bookData = http://www.mamicode.com/this.comp("bookData"); var data = http://www.mamicode.com/this.comp("data"); var userData = http://www.mamicode.com/this.comp("userData"); var value1 = this.comp("input7").val(); var value2 = this.comp("input8").val(); var value3 = this.comp("input9").val(); var value4 = this.comp("input10").val(); var value5 = this.comp("input11").val(); var value6 = this.comp("input12").val(); var me =this; if(value1!="" || value2!="" || value3!="" || value4!=""|| value5!="" || value6!=""){ bookData.newData({ defaultValues:[{ "Bookid" : fUUID, "Bookname" : value3, "Bookdep" : value2, "Booksource" : value1, "Bookplace" : value4, "Postage" : value5, "Bookprice" : value6, "Bookimage" :data.val("Bookimage"), // "seller": userData.val("userid") }] }) this.comp("input7").val(""); this.comp("input8").val(""); this.comp("input9").val(""); this.comp("input10").val(""); this.comp("input11").val(""); this.comp("input12").val(""); bookData.saveData({ onSuccess:function(){ justep.Util.hint("书籍发布成功"); me.comp("contents").to("menuContent"); } }) } };
8、发布页详细
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。