问答详情
源自:4-1 综合挑战题

var grid = 50;

            var grid_w = to_x + ( m_type == 'rb' ? 20:10 ) ;
	    		grid_w = grid_w-grid_w%grid;

	    	var grid_h = to_y + ( m_type == 'rb' ? 20:10 ) ;
	    		grid_h = grid_h-grid_h%grid;


提问者:scbzyj 2014-11-05 14:02

个回答