webmain/system/wxgzh/rock_wxgzh_xcyuser.php

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
	

	var a = $('#veiw_{rand}').bootstable({
		tablename:'wxxcyus',fanye:true,
		modedir:'{mode}:{dir}',
		storebeforeaction:'wouser_before',
		storeafteraction:'wxxcyus_after',
		columns:[{
			text:'头像',dataIndex:'avatarUrl',renderer:function(v){
				return '<img src="'+v+'" width="40">';
			}
		},{
			text:'微信昵称',dataIndex:'nickName'
		},{
			text:'openid',dataIndex:'openid'
		},{
			text:'性别',dataIndex:'gender',sortable:true,renderer:function(v){
				if(v=='1')v='男';
				if(v=='2')v='女';
				return v;
			}
		},{
			text:'类型',dataIndex:'xcytype',sortable:true
		},{
			text:'省份',dataIndex:'province',sortable:true
		},{
			text:'城市',dataIndex:'city',sortable:true
		},{
			text:'绑定手机号',dataIndex:'mobile'
		},{
			text:'推送提醒',dataIndex:'dingyue'
		},{
			text:'授权时间',dataIndex:'adddt',sortable:true
		},{
			text:'最后操作',dataIndex:'optdt',sortable:true
		},{
			text:'ID',dataIndex:'id',sortable:true
		}],
		itemclick:function(){
			btn(false); 
		},
		beforeload:function(){
			btn(true); 
		}
	});
	
	//编辑和删除按钮可用状态切换
	function btn(bo){
		get('del_{rand}').disabled=bo;
	}
	

	var c={
		del:function(){
			a.del();
		},
		refresh:function(){
后面还有 37 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。