146 lines
8.4 KiB
PHP
146 lines
8.4 KiB
PHP
<div class="row-content am-cf">
|
||
<div class="row">
|
||
<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
|
||
<div class="widget am-cf">
|
||
<form id="my-form" class="am-form tpl-form-line-form" method="post">
|
||
<div class="widget-body">
|
||
<fieldset>
|
||
<div class="tips am-margin-top-sm am-margin-bottom-sm">
|
||
<div class="pre">
|
||
<p>
|
||
模板消息仅用于微信小程序向用户发送服务通知,因微信限制,每笔支付订单可允许向用户在7天内推送最多3条模板消息。
|
||
<a href="<?= url('store/setting.help/tplmsg') ?>" target="_blank">如何获取模板消息ID?</a>
|
||
</p>
|
||
</div>
|
||
</div>
|
||
<div class="widget-head am-cf">
|
||
<div class="widget-title am-fl">支付成功通知</div>
|
||
</div>
|
||
<div class="am-form-group">
|
||
<label class="am-u-sm-3 am-form-label form-require">
|
||
是否启用
|
||
</label>
|
||
<div class="am-u-sm-9">
|
||
<label class="am-radio-inline">
|
||
<input type="radio" name="tplMsg[payment][is_enable]" value="1"
|
||
data-am-ucheck
|
||
<?= $values['payment']['is_enable'] == '1' ? 'checked' : '' ?>
|
||
required>
|
||
开启
|
||
</label>
|
||
<label class="am-radio-inline">
|
||
<input type="radio" name="tplMsg[payment][is_enable]" value="0"
|
||
data-am-ucheck
|
||
<?= $values['payment']['is_enable'] == '0' ? 'checked' : '' ?>>
|
||
关闭
|
||
</label>
|
||
</div>
|
||
</div>
|
||
<div class="am-form-group">
|
||
<label class="am-u-sm-3 am-form-label form-require">
|
||
模板消息ID
|
||
<span class="tpl-form-line-small-title">Template ID</span>
|
||
</label>
|
||
<div class="am-u-sm-9">
|
||
<input type="text" class="tpl-form-input" name="tplMsg[payment][template_id]"
|
||
value="<?= $values['payment']['template_id'] ?>">
|
||
<div class="help-block am-margin-top-xs">
|
||
<small>模板编号AT0009,关键词 (订单编号、支付时间、订单金额、商品名称)</small>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="widget-head am-cf">
|
||
<div class="widget-title am-fl">订单发货通知</div>
|
||
</div>
|
||
<div class="am-form-group">
|
||
<label class="am-u-sm-3 am-form-label form-require">
|
||
是否启用
|
||
</label>
|
||
<div class="am-u-sm-9">
|
||
<label class="am-radio-inline">
|
||
<input type="radio" name="tplMsg[delivery][is_enable]" value="1"
|
||
data-am-ucheck
|
||
<?= $values['delivery']['is_enable'] == '1' ? 'checked' : '' ?>
|
||
required>
|
||
开启
|
||
</label>
|
||
<label class="am-radio-inline">
|
||
<input type="radio" name="tplMsg[delivery][is_enable]" value="0"
|
||
data-am-ucheck
|
||
<?= $values['delivery']['is_enable'] == '0' ? 'checked' : '' ?>>
|
||
关闭
|
||
</label>
|
||
</div>
|
||
</div>
|
||
<div class="am-form-group">
|
||
<label class="am-u-sm-3 am-form-label form-require">
|
||
模板消息ID
|
||
<span class="tpl-form-line-small-title">Template ID</span>
|
||
</label>
|
||
<div class="am-u-sm-9">
|
||
<input type="text" class="tpl-form-input" name="tplMsg[delivery][template_id]"
|
||
value="<?= $values['delivery']['template_id'] ?>">
|
||
<small>模板编号AT0007,关键词 (订单编号、商品信息、收货人、收货地址、物流公司、物流单号)</small>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="widget-head am-cf">
|
||
<div class="widget-title am-fl">售后状态通知</div>
|
||
</div>
|
||
<div class="am-form-group">
|
||
<label class="am-u-sm-3 am-form-label form-require">
|
||
是否启用
|
||
</label>
|
||
<div class="am-u-sm-9">
|
||
<label class="am-radio-inline">
|
||
<input type="radio" name="tplMsg[refund][is_enable]" value="1"
|
||
data-am-ucheck
|
||
<?= $values['refund']['is_enable'] == '1' ? 'checked' : '' ?>
|
||
required>
|
||
开启
|
||
</label>
|
||
<label class="am-radio-inline">
|
||
<input type="radio" name="tplMsg[refund][is_enable]" value="0"
|
||
data-am-ucheck
|
||
<?= $values['refund']['is_enable'] == '0' ? 'checked' : '' ?>>
|
||
关闭
|
||
</label>
|
||
</div>
|
||
</div>
|
||
<div class="am-form-group">
|
||
<label class="am-u-sm-3 am-form-label form-require">
|
||
模板消息ID
|
||
<span class="tpl-form-line-small-title">Template ID</span>
|
||
</label>
|
||
<div class="am-u-sm-9">
|
||
<input type="text" class="tpl-form-input" name="tplMsg[refund][template_id]"
|
||
value="<?= $values['refund']['template_id'] ?>">
|
||
<small>模板编号AT0553,关键词 (售后类型、状态、订单号、商品名称、申请时间、申请原因)</small>
|
||
</div>
|
||
</div>
|
||
<div class="am-form-group">
|
||
<div class="am-u-sm-9 am-u-sm-push-3 am-margin-top-lg">
|
||
<button type="submit" class="j-submit am-btn am-btn-secondary">提交
|
||
</button>
|
||
</div>
|
||
</div>
|
||
</fieldset>
|
||
</div>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<script>
|
||
$(function () {
|
||
|
||
/**
|
||
* 表单验证提交
|
||
* @type {*}
|
||
*/
|
||
$('#my-form').superForm();
|
||
|
||
});
|
||
</script>
|