|
@@ -899,12 +899,12 @@ class Sell
|
|
|
if (!$user) {
|
|
|
$user['username'] = '无';
|
|
|
}
|
|
|
- if (!$user['truename']) {
|
|
|
+ if (!isset($user['truename'])) {
|
|
|
$user['truename'] = $user['username'];
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- $html = '[基本信息]:<table class="layui-table"><thead><tr><th style="width:20%">项目</th><th style="width:80%">详情</th></tr> </thead><tbody>';
|
|
|
+ $html = '<div class="layui-col-md12"><div class="layui-card"><div class="layui-card-header">基本信息</div><div class="layui-card-body">';
|
|
|
+ $html .= '<table class="layui-table"><thead><tr><th style="width:20%">项目</th><th style="width:80%">详情</th></tr> </thead><tbody>';
|
|
|
|
|
|
$html .= '<tr>
|
|
|
<td>订单号</td>
|
|
@@ -962,11 +962,9 @@ class Sell
|
|
|
</tr>';
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- $html .= '</tbody></table>';
|
|
|
+ $html .= '</tbody></table></div></div>';
|
|
|
|
|
|
- $html .= '[商品清单]:';
|
|
|
+ $html .= '<div class="layui-card"><div class="layui-card-header">商品清单</div><div class="layui-card-body">';
|
|
|
|
|
|
$head = array('名称', '属性', '价格', '数量', '状态');
|
|
|
|
|
@@ -995,7 +993,7 @@ class Sell
|
|
|
$status,
|
|
|
);
|
|
|
}
|
|
|
- $html .= $this->table($head, $body);
|
|
|
+ $html .= $this->table($head, $body) . '</div></div>';
|
|
|
|
|
|
return $html;
|
|
|
}
|