8、发布页详细
在issueContent里放一个panel(bootstrap)
Model.prototype.savebookBnClick = function(event){ var bookData = this.comp("bookData"); var data = this.comp("data"); var userData = 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"); } }) } };