Browse Source

Update common.func.php

tags/6.2.0
叙述、别离 1 year ago
parent
commit
a9ff493b66
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/system/common.func.php

+ 1
- 1
src/system/common.func.php View File

@@ -19,7 +19,7 @@ define('ALERT_COLORS', array(
ALERT_LIGHT => array('#fefefe','#fdfdfe','#636464'),
ALERT_DARK => array('#d3d3d4','#bcbebf','#141619'),
));
define("ALERT_TPL", '<div style="width:98%;margin:0 auto"><div style="font-size:12px;margin:1rem auto;color:~color~;background:~background~;border-color:~border~;position:relative;padding:.75rem 1.25rem;border:1px solid transparent;border-radius:.2rem">~content~</div></div>');
define("ALERT_TPL", '<div style="position:relative;padding:.75rem 1.25rem;width:auto;font-size:12px;color:~color~;background:~background~;border-color:~border~;border:1px solid transparent;border-radius:.2rem">~content~</div>');
//$content:文档 $type:alert类型
function DedeAlert($content, $type = ALERT_PRIMARY)
{


Loading…
Cancel
Save