|
|
|
@ -28,7 +28,7 @@
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l"><span class="req">*</span>轮播二维码间隔时间(分钟):</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<input id="interval_min" type="text" name="interval_min" value="0">
|
|
|
|
|
<input id="interval_min" type="text" name="interval_min" value="0" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^0-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^0-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}">
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
@ -63,7 +63,7 @@
|
|
|
|
|
'onUploadComplete' : function(file, data) {
|
|
|
|
|
var res = eval('(' + data + ')');
|
|
|
|
|
var src = res.path;
|
|
|
|
|
$('#img').append('<img src=' + src + ' width="40%" height="40%"/>');
|
|
|
|
|
$('#img').append('<img src=' + src + ' width="150px" height="150px"/>');
|
|
|
|
|
$('#img').append('<input class="images" name="img['+ imgIndex +']" type="hidden" value="'+ src +'">');
|
|
|
|
|
imgIndex = imgIndex + 1;
|
|
|
|
|
// $('#img').html('<img src=' + src + ' width="40%" height="40%"/>')
|
|
|
|
@ -99,7 +99,7 @@
|
|
|
|
|
if (result.status == 1) {
|
|
|
|
|
layer.msg(result.message)
|
|
|
|
|
setTimeout(function() {
|
|
|
|
|
// window.location.href = "{:U('QrCodePromotion/linkLists')}";
|
|
|
|
|
window.location.href = "{:U('QrCodePromotion/linkLists', ['id' => $qp_id])}";
|
|
|
|
|
}, 200)
|
|
|
|
|
} else {
|
|
|
|
|
layer.msg(result.message)
|
|
|
|
|