| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /www/data/wwwroot/2025_10_08_2/application/admin/template/shop/ |
Upload File : |
{include file="public/layout" /}
<body class="bodystyle ey-iframes-webkit" style="cursor: default; -moz-user-select: inherit;min-width:auto;background: #fff;">
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page" style="padding: 0;background-color:transparent;">
<div class="flexigrid">
<div class="mb20"> <textarea placeholder="请输入" id="order_remarks" style="width: 100%;height: 94px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;"></textarea> </div>
<div class="fr">
<!-- <a href="JavaScript:void(0);" onclick="closeIframes();" style="height: 20px; padding: 7px 19px;">取消</a> -->
<a href="JavaScript:void(0);" onclick="orderRemarks();" class="ncap-btn-big ncap-btn-green">确定</a>
</div>
</div>
<div class="remarks-list">
{volist name="$remarksList" id="vo"}
<div class="item">
<div class="line"></div>
<div class="time fr"> {$vo.times} {$vo.admin_name}</div>
<div class="remarks"> {$vo.remarks} </div>
</div>
{/volist}
</div>
</div>
<script type="text/javascript">
// 关闭自身弹窗
function closeIframes(isAjax) {
var parentObj = parent.layer.getFrameIndex(window.name);
if (parentObj) {
if (isAjax) {
parent.window.location.reload();
} else {
parent.layer.close(parentObj);
}
}
}
function orderRemarks() {
var order_id = {$order_id};
var order_remarks = $('#order_remarks').val();
if (!order_remarks || undefined == order_remarks) {
$('#order_remarks').focus();
layer.msg('请填写备注', {time: 1500});
return false;
}
layer_loading('正在处理');
$.ajax({
type: 'post',
url : "{:url('Shop/order_remarks')}",
data: {order_id: order_id, order_remarks: order_remarks, _ajax: 1},
dataType: 'json',
success: function(res) {
layer.closeAll();
if (1 == res.code) {
layer.msg(res.msg, {time: 1000}, function() {
closeIframes(true);
});
} else {
layer.alert(res.msg, {title: false, closeBtn: 0});
}
}
});
}
</script>