chore(sms): 更新sms
This commit is contained in:
@@ -46,7 +46,7 @@ class Message extends BaseShop
|
||||
$weapp_config = ( new WeappConfig() )->getWeappConfig($this->site_id)[ 'data' ][ 'value' ];
|
||||
$this->assign('weapp_config', $weapp_config);
|
||||
|
||||
|
||||
// 牛云短信余额查询
|
||||
if (addon_is_exit('niusms', $this->site_id)) {
|
||||
$sms_config = ( new NiuSmsConfig() )->getSmsConfig($this->site_id)[ 'data' ];
|
||||
if ($sms_config[ 'is_use' ]) {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
.layui-field-box {display:flex;flex-wrap:wrap;}
|
||||
/* 一行4个卡片时的排布 */
|
||||
@@ -24,15 +22,22 @@
|
||||
.block-list .block-title {display:flex;align-items:center;}
|
||||
.prompt-block {position:static;margin-left:10px;}
|
||||
.layui-layout-admin .layui-body .body-content {padding: 0;background: #f8f8f8}
|
||||
.sms-tips,.three-tips {padding:15px;margin:0;border:none;background:#FFEDD9;border-bottom:1px solid #f5f5f5;}
|
||||
.sms-tips,.three-tips {padding:15px;margin:0;border:none;border-bottom:1px solid #f5f5f5;}
|
||||
.sms-tips *,.three-tips * {margin-right:10px;}
|
||||
.three-tips {background:#fff;}
|
||||
.message-tips .tips:last-child {margin-bottom:20px;}
|
||||
.message-tips {margin-bottom:15px}
|
||||
</style>
|
||||
|
||||
|
||||
<div class="message-tips">
|
||||
{if isset($sms_num) && $sms_num < 500}
|
||||
<div class="tips sms-tips">
|
||||
<i class="iconfont icongantanhao text-color"></i>
|
||||
当前短信条数就剩{$sms_num}条了,赶快去充值吧!
|
||||
<a href="{:href_url('niusms://shop/sms/index', ['buy' => 1])}" class="text-color" target="_blank">立即充值</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{empty name="wechat_config"}
|
||||
<div class="tips three-tips">
|
||||
<i class="iconfont icongantanhao text-color"></i>
|
||||
@@ -61,7 +66,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 买家消息 -->
|
||||
<div class="layui-card card-common card-brief">
|
||||
<div class="layui-card card-common card-brief top content">
|
||||
<div class="layui-card-header">
|
||||
<span class="card-title">买家消息</span>
|
||||
</div>
|
||||
@@ -113,7 +118,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 卖家通知 -->
|
||||
<div class="layui-card card-common card-brief">
|
||||
<div class="layui-card card-common card-brief top content">
|
||||
<div class="layui-card-header">
|
||||
<span class="card-title">卖家通知 <a style="margin-left:20px;" class="text-color" href="{:href_url('shop/shopacceptmessage/lists')}">消息接收设置>>></a></span>
|
||||
</div>
|
||||
@@ -162,7 +167,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/html" id="settingLayer">
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">过期前提醒:</label>
|
||||
@@ -228,4 +232,3 @@
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 搜索框 -->
|
||||
<div class="single-filter-box top">
|
||||
<div class="single-filter-box">
|
||||
<div class="layui-form">
|
||||
<div class="layui-input-inline">
|
||||
<label class="layui-form-label">发送状态:</label>
|
||||
@@ -46,7 +42,6 @@
|
||||
</div>
|
||||
</script>
|
||||
|
||||
|
||||
<script>
|
||||
layui.use(['form', 'laytpl'], function() {
|
||||
var table,
|
||||
|
||||
Reference in New Issue
Block a user