CoreThink主题开发(九)使用H-ui开发博客主题之用户个人主页
2016-05-09 12:48
549 查看
感谢H-ui、感谢CoreThink!
效果图:
这里使用table布局
/Theme/Blog/User/Index/home.html
效果图:
这里使用table布局
/Theme/Blog/User/Index/home.html
<extend name="$_home_public_layout"/> <block name="main"> <br><br> <div class="container"> <table class="table"> <thead> <tr> <td ><a href="{:U('User/Talk/index', array('to_uid' => $user_info['id']))}" class="btn btn-success radius"><i style="font-size: medium" class="Hui-iconfont"></i> 发私信</a></td> <td class="text-c"> <div class="maskWraper round" style="width:100px; height:100px; border:solid 1px"> <img src="{$user_info.avatar|get_cover='avatar'}" width="100px" height="100px" > <div class="maskBar text-c"> {$user_info.nickname} </div> </div> </td> <?php if ($follow_status) :?> <td> <button type="button" class="btn btn-secondary radius ajax-follow" url="{:U('User/Follow/add', array('uid' => $user_info['id']))}"> <i style="font-size: medium" class="Hui-iconfont"></i> 已关注 </button> </td> <?php else :?> <td><button type="button" class="btn btn-secondary radius ajax-follow" url="{:U('User/Follow/add', array('uid' => $user_info['id']))}"> <i style="font-size: medium" class="Hui-iconfont"></i> 加关注 </button></td> <?php endif; ?> <td class="text-r"><a>个性签名:{$user_info.summary}</a></td> </tr> </thead> </table> </div> </block> <block name="script"> <script type="text/javascript"> $(function(){ $.Huihover('.maskWraper'); }); </script> </block>
相关文章推荐
- corethink功能模块探索开发(一)根据已有模块推测目录结构
- corethink功能模块探索开发(二)让这个模块可安装
- corethink功能模块探索开发(三)让这个模块可见
- corethink功能模块探索开发(四)让这个模块跑起来
- corethink功能模块探索开发(五)开启这个模块的配置
- corethink功能模块探索开发(七)模块数据库脚本
- corethink功能模块探索开发(八)净化后台首页的系统信息
- corethink功能模块探索开发(十)前台显示公告列表
- corethink功能模块探索开发(十一)后台查询数据列表
- corethink功能模块探索开发(十二)后台添加自定义按钮
- CoreThink开发(十三)增加页面加载动画
- CoreThink开发(十二)更改默认出错异常页防止暴露敏感数据
- CoreThink开发(十一)首页控制器判断移动设备还是PC并做相应处理
- CoreThink基础模块结构、主题,开源地址
- drupal8 自定义主题开发步骤
- 基于jQueryUI和Corethink实现百度的搜索提示功能
- jsp页面从session和request域中取数据小结
- Android 中的消息模型(Message,MessageQueue,handle,looper)
- Codeforces 670E - Correct Bracket Sequence Editor 链表
- 64-Unique Binary Search Trees