|
|
@@ -288,7 +288,7 @@ TEXT;
|
|
|
}
|
|
|
$str .= "</div>";
|
|
|
} else {
|
|
|
- $str = "<view style='font-size:30upx;padding:20upx 0 20upx 0'>";
|
|
|
+ $str = "<div style='font-size:20px;padding:20px 0 20px 0'>";
|
|
|
foreach ($new as $item) {
|
|
|
$content = $item['content'];
|
|
|
$style = '';
|
|
|
@@ -296,11 +296,11 @@ TEXT;
|
|
|
$style .= 'font-weight:bold;';
|
|
|
}
|
|
|
if (isset($item['gap']) && $item['gap'] == 2) {
|
|
|
- $style .= 'margin-top:30upx;';
|
|
|
+ $style .= 'margin-top:30px;';
|
|
|
}
|
|
|
- $str .= '<view style="' . $style . '">' . $content . '</view>';
|
|
|
+ $str .= '<div style="' . $style . '">' . $content . '</div>';
|
|
|
}
|
|
|
- $str .= "</view>";
|
|
|
+ $str .= "</div>";
|
|
|
}
|
|
|
echo $str;
|
|
|
}
|