              cropperImg.cropImg({
                    aspectRatio: 1 / 1,
                    imgSrc: $('#viewShareImgBox').attr('src'),
                    onCrop: function (data) {
                        var loadIndex = layer.load(2);
                        coreHelper.Post("api/Tools/UploadFilesFByBase64", { base64: data }, function (res) {
                            if (0 === res.code) {
                                $('#viewShareImgBox').attr('src', res.data.fileUrl);
                             