Research on the mechanical behaviour of shale based on multiscale analysis