|
|
@@ -3,36 +3,38 @@
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
<head>
|
|
|
<title>短信内容详情</title>
|
|
|
+ <!-- ZUI 标准版压缩后的 CSS 文件 -->
|
|
|
+ <link rel="stylesheet" href="//cdn.bootcss.com/zui/1.8.1/css/zui.min.css">
|
|
|
|
|
|
+ <!-- ZUI Javascript 依赖 jQuery -->
|
|
|
+ <script src="//cdn.bootcss.com/zui/1.8.1/lib/jquery/jquery.js"></script>
|
|
|
+ <!-- ZUI 标准版压缩后的 JavaScript 文件 -->
|
|
|
+ <script src="//cdn.bootcss.com/zui/1.8.1/js/zui.min.js"></script>
|
|
|
</head>
|
|
|
<body>
|
|
|
-<div class="message-container">
|
|
|
- <div class="message-details">
|
|
|
- 当前接收号码:(+1)<?php echo $this->num;?>【仅展示最新5条短信,如果没有显示,请刷新几次】
|
|
|
- <?php
|
|
|
- foreach ($this->result as $item) {
|
|
|
+<header>
|
|
|
+ <h1>当前接收号码:(+1)<?php echo $this->num; ?>【仅展示最新5条短信,如果没有显示,请刷新几次】</h1>
|
|
|
+</header>
|
|
|
+<table class="table table-bordered table-striped">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th>电话号码</th>
|
|
|
+ <th>短信详情</th>
|
|
|
+ <th>接收时间</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <?php
|
|
|
+ foreach ($this->result as $item) {
|
|
|
?>
|
|
|
- <div style="text-align:left;border-bottom:2px solid #fff;padding:5px;margin-top:20px">
|
|
|
- <div class="title">
|
|
|
- <span style="padding:2px;display:inline-block;height:20px;line-height:18px;background:#449d44;color:#fff;border-radius:5px;text-align:center">
|
|
|
- <?php echo $item['date']; ?></span>
|
|
|
- <span style="padding:2px;display:inline-block;height:20px;line-height:18px;background:#fe4365;color:#fff;border-radius:5px;text-align:center">
|
|
|
- <span>来自:</span><span><?php echo $item['fromName']; ?></span>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- <div class="conters">
|
|
|
- 短信内容:
|
|
|
- <span style="margin-top:5px;padding:5px;display:inline-block;background:#3fb8af;color:#fff;border-radius:5px;text-align:left">
|
|
|
- <?php echo $item['content']; ?>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <hr>
|
|
|
+ <tr class="success">
|
|
|
+ <td><?php echo $item['fromName']; ?></td>
|
|
|
+ <td><?php echo $item['content']; ?></td>
|
|
|
+ <td><?php echo $item['date']; ?></td>
|
|
|
+ </tr>
|
|
|
<?php
|
|
|
- }
|
|
|
- ?>
|
|
|
- </div>
|
|
|
-
|
|
|
-</div>
|
|
|
+ }
|
|
|
+ ?>
|
|
|
+</table>
|
|
|
</body>
|
|
|
</html>
|