代码片段
Z_soulmate
这个作者很懒,什么都没留下…
展开
-
批量更新记录的顺序
<?php //动作 public function _update_action() { if (!$account_ids = $_POST['ids']) { H::ajax_json_output(E_APP::RSM(200)); } $this->module('account_main')->update_sort($account_ids); H::ajax_json_output(E_APP::RSM(200)); } //类原创 2021-04-07 21:05:37 · 149 阅读 · 0 评论 -
图片上传 - 单张/图标/头像等 - 无缩略图
<div class="col-md-4 br-1 border-lighter"> <input name="avatar_file" type="hidden" value="<?php echo $this->case_info['avatar_file']; ?>" /> <img class="case-avatar" src="<?php echo get_size($this->case_info['avatar'], 'max'原创 2021-04-07 21:02:45 · 158 阅读 · 0 评论 -
时间范围选择
<div class="form-inline ml-20" data-provide="daterangepicker" data-opens="right" data-show-range="today,this_month"> <nav class="nav nav-pills mr-20"> <a class="nav-link active" href="#" data-range="today">今天</a> &l原创 2021-04-07 21:01:10 · 183 阅读 · 0 评论