...
|
...
|
@@ -69,15 +69,11 @@ require('../plugins/jquery.qupload'); |
|
|
SWFUpload = window.SWFUpload,
|
|
|
upKey;
|
|
|
|
|
|
var $placeholder = $('[placeholder]');
|
|
|
|
|
|
if ($('.settled-apply-page').length < 0) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
if ($placeholder && $placeholder.length) {
|
|
|
$placeholder.placeholder();
|
|
|
}
|
|
|
$('[placeholder]').placeholder();
|
|
|
|
|
|
$otherBr = $('#other-brand-relation');
|
|
|
$otherNp = $('#other-new-period');
|
...
|
...
|
@@ -97,7 +93,13 @@ require('../plugins/jquery.qupload'); |
|
|
|
|
|
function initUpload(arr) {
|
|
|
$.each(arr, function(k, v) {
|
|
|
$('#' + v.dom).qupload({
|
|
|
var $dom = $('#' + v.dom);
|
|
|
|
|
|
if (!$dom.length) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
$dom.qupload({
|
|
|
uploadKey: upKey,
|
|
|
button_image_url: '',
|
|
|
button_text: '<span class="btn_upload_text">上传</span>',
|
...
|
...
|
|