摘要:
一般: 1.在html中写js可用 1). url: "{:url('index/Goods/getGoods')}" 2). url: "getGoods" 2.引入的js文件中 只能用 2 特别: 1.form表单 产生链接:http://plat.domall.cc/index/goods/i 阅读全文
摘要:
1.<form id="addData" method="post" action="{pigcms{:U('Community/oneRegister')}" class="h-form" enctype="multipart/form-data"></form> 2.<script src="{ 阅读全文
摘要:
<img src="{pigcms{$static_path}community/img/shequ01.png" alt=""/><input class="ipt-file" id="file1" type="file" name="img"/> //图片预览function aaa(id) { 阅读全文
摘要:
Document 阅读全文
摘要:
1. <div class="star" data-score="5"></div> 2. <script type="text/javascript" src="{pigcms{$static_path}/community/js/jquery.raty.min.js"></script> 3. 阅读全文
摘要:
$content = I('post.content', '', 'htmlspecialchars');过滤后是维吾尔群二无艾弗森<img src="http://dashboard.bojietech.cn/Public/Uploads/News/Article/5a2241a8 阅读全文
摘要:
$sql = '%' . $type . '%'; $count = D('Volunt_member') ->where("`status`=1 AND `city_id`='{$this->config['now_city']}' AND `service_ty` LIKE '{$sql}'") 阅读全文
摘要:
var a = {a:1, b:2}; console.log(JSON.stringify(a)); //输出 {"a":1,"b":2} console.log(a.a); //输出 1 阅读全文