|
|
@@ -8,7 +8,7 @@ class AgreementClass extends BaseClass
|
|
|
{
|
|
|
|
|
|
//0 app 1网站 2H5
|
|
|
- public static function xhbRegister($type = 0)
|
|
|
+ public static function xhbRegister()
|
|
|
{
|
|
|
$html = <<<TEXT
|
|
|
_@@_为了更好地为您提供服务,请您仔细阅读《用户注册协议》(以下简称“本协议”)。在您开始使用本软件及相关服务之前,请您务必认真阅读并充分理解本协议,特别是涉及免除或者限制责任的条款、权利许可和信息使用的条款、同意开通和使用特殊单项服务的条款、法律适用和争议解决条款等。
|
|
|
@@ -50,20 +50,24 @@ TEXT;
|
|
|
$current['content'] = $item;
|
|
|
$new[] = $current;
|
|
|
}
|
|
|
- if ($type == 0) {
|
|
|
- return $new;
|
|
|
- } else {
|
|
|
- echo "<div style='font-size:35px;padding:20px 0 20px 0'>";
|
|
|
- foreach ($new as $item) {
|
|
|
- echo $item['content'] . "<br /><br />";
|
|
|
+ $str = "<div style='font-size:15px;padding:15px 0 15px 0'>";
|
|
|
+ foreach ($new as $item) {
|
|
|
+ $content = $item['content'];
|
|
|
+ $style = '';
|
|
|
+ if (isset($item['bold']) && $item['bold'] == 2) {
|
|
|
+ $style .= 'font-weight:bold;';
|
|
|
}
|
|
|
- echo "</div>";
|
|
|
- exit();
|
|
|
+ if (isset($item['gap']) && $item['gap'] == 2) {
|
|
|
+ $style .= 'margin-top:20px;';
|
|
|
+ }
|
|
|
+ $str .= '<div style="' . $style . '">' . $content . '</div>';
|
|
|
}
|
|
|
+ $str .= "</div>";
|
|
|
+ echo $str;
|
|
|
}
|
|
|
|
|
|
//0 电脑 1App
|
|
|
- public static function xhbPrivacy($type = 0)
|
|
|
+ public static function xhbPrivacy()
|
|
|
{
|
|
|
$html = <<<TEXT
|
|
|
本隐私政策仅适用于厦门中花汇信息科技有限公司的销花宝产品或服务。 最近更新日期:2022-03-26
|
|
|
@@ -272,36 +276,19 @@ TEXT;
|
|
|
$current['content'] = $item;
|
|
|
$new[] = $current;
|
|
|
}
|
|
|
- //0 电脑 1App
|
|
|
- if ($type == 0) {
|
|
|
- $str = "<div style='font-size:30px;padding:20px 0 20px 0'>";
|
|
|
- foreach ($new as $item) {
|
|
|
- $content = $item['content'];
|
|
|
- $style = '';
|
|
|
- if (isset($item['bold']) && $item['bold'] == 2) {
|
|
|
- $style .= 'font-weight:bold;';
|
|
|
- }
|
|
|
- if (isset($item['gap']) && $item['gap'] == 2) {
|
|
|
- $style .= 'margin-top:30px;';
|
|
|
- }
|
|
|
- $str .= '<div style="' . $style . '">' . $content . '</div>';
|
|
|
+ $str = "<div style='font-size:15px;padding:15px 0 15px 0'>";
|
|
|
+ foreach ($new as $item) {
|
|
|
+ $content = $item['content'];
|
|
|
+ $style = '';
|
|
|
+ if (isset($item['bold']) && $item['bold'] == 2) {
|
|
|
+ $style .= 'font-weight:bold;';
|
|
|
}
|
|
|
- $str .= "</div>";
|
|
|
- } else {
|
|
|
- $str = "<div style='font-size:15px;padding:15px 0 15px 0'>";
|
|
|
- foreach ($new as $item) {
|
|
|
- $content = $item['content'];
|
|
|
- $style = '';
|
|
|
- if (isset($item['bold']) && $item['bold'] == 2) {
|
|
|
- $style .= 'font-weight:bold;';
|
|
|
- }
|
|
|
- if (isset($item['gap']) && $item['gap'] == 2) {
|
|
|
- $style .= 'margin-top:20px;';
|
|
|
- }
|
|
|
- $str .= '<div style="' . $style . '">' . $content . '</div>';
|
|
|
+ if (isset($item['gap']) && $item['gap'] == 2) {
|
|
|
+ $style .= 'margin-top:20px;';
|
|
|
}
|
|
|
- $str .= "</div>";
|
|
|
+ $str .= '<div style="' . $style . '">' . $content . '</div>';
|
|
|
}
|
|
|
+ $str .= "</div>";
|
|
|
echo $str;
|
|
|
}
|
|
|
|