🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 图文列表页 ![](https://box.kancloud.cn/2016-08-25_57be8e30b032c.png) 说明:导师咨询类APP。 源代码如下: helper_win.html ``` <!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/> <meta name="format-detection" content="telephone=no,email=no,date=no,address=no"> <title>职涯帮</title> <link rel="stylesheet" type="text/css" href="../../../css/aui.css" /> <style> .aui-bar { background: #3bafda; color: #ffffff } .aui-nav { background-color: none; } .aui-nav .aui-bar-tab { background-color: #fff; border-top:1px solid #eee; } .aui-nav .aui-bar-tab .aui-iconfont{ font-size: 26px !important; } .aui-nav .aui-bar-tab .aui-iconfont, .aui-nav .aui-bar-tab p { color: #a2a2a2; } </style> </head> <body> <header class="aui-bar aui-bar-nav" id="aui-header"> <span class="aui-iconfont aui-icon-left aui-pull-left" tapmode onclick="closeWin()"></span> <div class="aui-title" id="title">帮主</div> <a class="aui-pull-right" tapmode onclick="askAdd()"> 提问<span class="aui-iconfont aui-icon-right"></span> </a> </header> <footer class="aui-nav" id="aui-footer"> <ul class="aui-bar-tab"> <li class="active-info" id="helper_list" tapmode onclick="randomSwitchBtn(0,'helper_list')"> <span class="aui-iconfont aui-icon-crownfill"></span> <p>帮主</p> </li> <li id="ask_list" tapmode onclick="randomSwitchBtn(1,'ask_list')"> <span class="aui-iconfont aui-icon-commandfill"></span> <p>问答</p> </li> <li id="my" tapmode onclick="randomSwitchBtn(2,'my')"> <span class="aui-iconfont aui-icon-peoplefill"></span> <p>我的</p> </li> </ul> </footer> </body> <script type="text/javascript" src="../../../script/api.js"></script> <script type="text/javascript"> function askAdd(){ api.openWin({ name:'ask_add_win', url:'ask_add_win.html', delay:300 }) } function closeWin(){ api.closeWin({}); } apiready = function(){ api.parseTapmode(); var header = $api.byId('aui-header'); $api.fixStatusBar(header); openGroup(); }; function openGroup(){ var header = $api.byId('aui-header'); var headerPos = $api.offset(header); var body_h = $api.offset($api.dom('body')).h; var footer_h = $api.offset($api.byId('aui-footer')).h; api.openFrameGroup({ name: 'indexGroup', scrollEnabled: true, rect:{x:0, y:headerPos.h, w:'auto', h:body_h - headerPos.h - footer_h}, index: 0, frames: [{ name:'helper_list', url:'helper_list.html', vScrollBarEnabled:false, hScrollBarEnabled:false, bounces:false },{ name:'ask_list', url:'ask_list.html', vScrollBarEnabled:false, hScrollBarEnabled:false, bounces:false },{ name:'my', url:'my.html', vScrollBarEnabled:false, hScrollBarEnabled:false, bounces:false }] }, function (ret, err) { $api.removeCls($api.dom('#aui-footer li.active-info'),'active-info'); $api.addCls($api.byId(''+ret.name+''),'active-info'); }); } // 随意切换按钮 function randomSwitchBtn(index,name) { $api.removeCls($api.dom('#aui-footer li.active-info'),'active-info'); $api.addCls($api.byId(''+name+''),'active-info'); api.setFrameGroupIndex({ name: 'indexGroup', index: index }); } </script> </html> ``` helper_list.html ``` <!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/> <meta name="format-detection" content="telephone=no,email=no,date=no,address=no"> <title>帮主列表</title> <link rel="stylesheet" type="text/css" href="../../../css/aui.css"> <style type="text/css"> img.aui-img-object { border-radius: 50%; } .laud { font-size: 14px; color: #999; } p { margin: 5px 0 !important; display: table; } .helper-tag { color: #666666; font-size: 12px; } </style> </head> <body> <section class="aui-content"> <ul class="aui-list-view"> <li class="aui-list-view-cell aui-img" tapmode onclick="openHelperShow(1)"> <img class="aui-img-object aui-pull-left" src="image/a1.jpeg"> <div class="aui-img-body"> 流浪男 <div class="aui-pull-right laud"> <i class="aui-iconfont aui-icon-likefill"></i> 33 </div> <p class="helper-tag aui-text-warning"> AUI </p> <p class='aui-ellipsis-2'> 无论是大型企业还是初创企业甚至一个尚未启动的事业,如何进行品牌定位和设计,如何确定自己产品的品牌特性(Brand Identity),营销团队如何从0到1建立,传播和市场营销活动的设计策划逻辑是什么,企业在不同阶段应该选择什么样的传播策略,什么样的营销行动,有效性如何考量? </p> </div> </li> <li class="aui-list-view-cell aui-img" tapmode onclick="openHelperShow(1)"> <img class="aui-img-object aui-pull-left" src="image/a2.jpeg"> <div class="aui-img-body"> APICloud <div class="aui-pull-right laud"> <i class="aui-iconfont aui-icon-likefill"></i> 33 </div> <p class="helper-tag aui-text-warning"> 柚子科技 </p> <p class='aui-ellipsis-2'> 使用标准WEB技术开发跨平台APP;覆盖APP全生命周期,包括开发、API集成、测试、渠道打包、运营管理等 </p> </div> </li> <li class="aui-list-view-cell aui-img" tapmode onclick="openHelperShow(1)"> <img class="aui-img-object aui-pull-left" src="image/a1.jpeg"> <div class="aui-img-body"> 亿天洋 <div class="aui-pull-right laud"> <i class="aui-iconfont aui-icon-likefill"></i> 33 </div> <p class="helper-tag aui-text-warning"> 潍坊亿天洋网络科技有限公司 </p> <p class='aui-ellipsis-2'> 无论是大型企业还是初创企业甚至一个尚未启动的事业,如何进行品牌定位和设计,如何确定自己产品的品牌特性(Brand Identity),营销团队如何从0到1建立,传播和市场营销活动的设计策划逻辑是什么,企业在不同阶段应该选择什么样的传播策略,什么样的营销行动,有效性如何考量? </p> </div> </li> <li class="aui-list-view-cell aui-img" tapmode onclick="openHelperShow(1)"> <img class="aui-img-object aui-pull-left" src="image/a1.jpeg"> <div class="aui-img-body"> 流浪男 <div class="aui-pull-right laud"> <i class="aui-iconfont aui-icon-likefill"></i> 33 </div> <p class="helper-tag aui-text-warning"> AUI </p> <p class='aui-ellipsis-2'> 无论是大型企业还是初创企业甚至一个尚未启动的事业,如何进行品牌定位和设计,如何确定自己产品的品牌特性(Brand Identity),营销团队如何从0到1建立,传播和市场营销活动的设计策划逻辑是什么,企业在不同阶段应该选择什么样的传播策略,什么样的营销行动,有效性如何考量? </p> </div> </li> <li class="aui-list-view-cell aui-img" tapmode onclick="openHelperShow(1)"> <img class="aui-img-object aui-pull-left" src="image/a1.jpeg"> <div class="aui-img-body"> 流浪男 <div class="aui-pull-right laud"> <i class="aui-iconfont aui-icon-likefill"></i> 33 </div> <p class="helper-tag aui-text-warning"> AUI </p> <p class='aui-ellipsis-2'> 无论是大型企业还是初创企业甚至一个尚未启动的事业,如何进行品牌定位和设计,如何确定自己产品的品牌特性(Brand Identity),营销团队如何从0到1建立,传播和市场营销活动的设计策划逻辑是什么,企业在不同阶段应该选择什么样的传播策略,什么样的营销行动,有效性如何考量? </p> </div> </li> </ul> </section> </body> <script type="text/javascript" src="../../../script/api.js"></script> <script type="text/javascript"> apiready = function(){ api.parseTapmode(); api.setRefreshHeaderInfo({ visible: true, loadingImg: 'widget://tpl/jobteacher/image/refresh.png', bgColor: '#f4f4f4', textColor: '#666', textDown: '下拉刷新', textUp: '松开刷新', showTime: false }, function(ret, err){ api.refreshHeaderLoading(); setTimeout(function(){ api.refreshHeaderLoadDone(); },300) }); } function openHelperShow(helperId){ var delay = 0; if(api.systemType != 'ios'){ delay = 300; } api.openWin({ name:'helper_show_win', url:'helper_show_win.html', delay:delay }) } </script> </html> ```