.comment-con,.comment-detail,.small-image-wrapper,.small-video-cover{ margin-top: 20px; } .comment-title{ margin-bottom: 20px; color: green; } .small-image-wrapper{ margin-bottom: 20px; } .small-image-wrapper{ display: flex; flex-wrap: wrap; column-gap: 10px; row-gap: 10px; } .comment-txt img{ width: 20px; height: 20px; } .small-image-img{ width: 100%; height: 100%; margin-bottom: 20px; } #next-page,#prev-page{ cursor: pointer; } '; ?>
_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "include/header.html", 'smarty_include_vars' => array())); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?>
  • class="active">选中评论
  • class="active">剔除评论
  • class="active">全部评论
微博内容:
微博 张宝旬 录入:_tpl_vars['data']['created_at']; ?> 微博地址
_tpl_vars['data']['text']; ?>
_tpl_vars['data']['pic_arr']): ?>
_tpl_vars['data']['pic_arr']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['item']): ?>
图片 Small Image Small Image
_tpl_vars['data']['video_url']): ?>
视频 Video Cover ...丢了
_tpl_vars['comment_list']): ?>
评论内容:
_tpl_vars['comment_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']): ?>
_tpl_vars['key']+1; ?> ._tpl_vars['item']['screen_name']; ?> _tpl_vars['item']['comment_time']; ?> _tpl_vars['item']['source']; ?>
评论 _tpl_vars['item']['content']; ?> _tpl_vars['search_status_list'][$this->_tpl_vars['item']['is_search']]; ?>
_tpl_vars; $this->_smarty_include(array('smarty_include_tpl_file' => "include/footer.html", 'smarty_include_vars' => array())); $this->_tpl_vars = $_smarty_tpl_vars; unset($_smarty_tpl_vars); ?>
$(\'.index-nav-wrap-li\').click(function(){ var type = $(this).attr(\'type\') window.location.href = location.href.replace(/\\&search\\_type=(\\-)?\\d+/, \'\').replace(/\\&page=\\d+/, \'\') +\'&search_type=\'+type }) $(\'#page-numbers span\').click(function(){ var page = $(this).attr(\'page\') if(!page) return; location.href = location.href.replace(/\\&page=\\d+/, \'\') +\'&page=\'+page }) $(\'#next-page\').click(function(){ var page = parseInt($(\'#page-numbers span.pagActive\').attr(\'page\')) + 1 if(page > parseInt($(\'#last_page\').text())) return; location.href = location.href.replace(/\\&page=\\d+/, \'\') +\'&page=\'+page }) $(\'#prev-page\').click(function(){ var page = parseInt($(\'#page-numbers span.pagActive\').attr(\'page\')) - 1 if(page < 1) return; location.href = location.href.replace(/\\&page=\\d+/, \'\') +\'&page=\'+page }) $(\'#go-to-page\').click(function(){ var page = $(\'#jump-to-page\').val() if(page > parseInt($(\'#last_page\').text())) page = parseInt($(\'#last_page\').text()) if(page < 1) page = 1 location.href = location.href.replace(/\\&page=\\d+/, \'\') +\'&page=\'+page }) '; ?>