...
|
...
|
@@ -156,12 +156,9 @@ $file.each(function(e) { |
|
|
var $this = $('#upload-img-' + e),
|
|
|
$par = $this.closest('.problem-description');
|
|
|
|
|
|
if (!window.location.origin) {
|
|
|
window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port: '');
|
|
|
}
|
|
|
$this.qupload({
|
|
|
button_image_url: '',
|
|
|
upload_url: window.location.origin + '/home/returns/imgUpload',
|
|
|
upload_url: '//www.yohobuy.com/home/returns/imgUpload',
|
|
|
file_post_name: 'fileData',
|
|
|
button_text: '<span class="btn_upload_text">上传图片</span>',
|
|
|
button_text_style: '.btn_upload_text{color: #ffffff;}',
|
...
|
...
|
|