http://e.topthink.com/Public/static/client.js调用方式<think id="c47c4cd15e3068a2"></think>页面自动加载http://e.topthink.com/api/basic/c47c4cd15e3068a2?callback=callback_0_4160419437789227&_t=0.24749478318630969------------以上都可以搞定,呵呵-----------js最后输出的代码:
callback_0_4160419437789227({"on":true,"css_code":".bg-ad {\r\n\t\t width: 100%;\r\n\t\t height: 450px;\r\n\t\t position: fixed;\r\n top: 60px;\r\n\t\t}\r\n\r\n\t\t.bg-ad a{\r\n\t\t\tdisplay: block;\r\n\t\t height: 100%;\r\n\t\t background-position: top center; \r\n\t\t background-repeat: no-repeat; \r\n\t\t}\r\n\t\t.main {\r\n\t\t\tmargin-top: 134px;\r\n\t\t\tpadding: 3px;\r\n\t\t\tbackground: #F9F9F9;\r\n\t\t}\r\n\t\t.box .t-icon, .main .a1, .main .a2 {\r\n\t\t\tdisplay: none !important;\r\n\t\t}","html":"<div class=\"bg-ad\"><a target=\"_blank\" href=\"https:\/\/e.topthink.com\/api\/go\/e28d25e2ad3bc4a87\" style=\"background-image:url(https:\/\/e.topthink.com\/Uploads\/Picture\/2017-11-22\/5a1529d105701.jpg)\"><\/a><\/div>"});能否分享下,后台怎么写的啊,表字段之类的。。主要是调用起来很方便...
最佳答案