|
| 1 | +<div class="container " style="padding-top:70px;" ng-controller="IndexCtrl"> |
| 2 | + <div class="row"> |
| 3 | + <div class="col-md-2"> |
| 4 | + <div class="list-group"> |
| 5 | + <a href="#" class="list-group-item active">Link</a> |
| 6 | + <a href="#" class="list-group-item">Link</a> |
| 7 | + <a href="#" class="list-group-item">Link</a> |
| 8 | + <a href="#" class="list-group-item">Link</a> |
| 9 | + <a href="#" class="list-group-item">Link</a> |
| 10 | + <a href="#" class="list-group-item">Link</a> |
| 11 | + <a href="#" class="list-group-item">Link</a> |
| 12 | + <a href="#" class="list-group-item">Link</a> |
| 13 | + <a href="#" class="list-group-item">Link</a> |
| 14 | + <a href="#" class="list-group-item">Link</a> |
| 15 | + </div> |
| 16 | + </div> |
| 17 | + <div class="col-md-7"> |
| 18 | + <div> |
| 19 | + <div class="col-sm-4"> |
| 20 | + <input type="text" class="form-control" id="stockUid" placeholder="代码"> |
| 21 | + </div> |
| 22 | + <button type="button" class="btn btn-primary" ng-click="search()">选择</button> |
| 23 | + </div> |
| 24 | + |
| 25 | + <h3>我的选择</h3> |
| 26 | + <table class="table table-bordered table-hover table-condensed"> |
| 27 | + <thead> |
| 28 | + <tr> |
| 29 | + <th>股票</th> |
| 30 | + <th>当前价</th> |
| 31 | + <th>涨跌额</th> |
| 32 | + <th>涨跌幅</th> |
| 33 | + <th>成交量</th> |
| 34 | + <th>市值</th> |
| 35 | + <th>操作</th> |
| 36 | + </tr> |
| 37 | + </thead> |
| 38 | + <tbody my-stock="<%= user.stock%>" id="stockList"> |
| 39 | + |
| 40 | + <!-- 第一层循环 --> |
| 41 | + |
| 42 | + <tr class="{{stock.zdBack}} {{stock.zdClass}}" ng-repeat="stock in stocks"> |
| 43 | + <td><a href="stock/{{stock.symbol}}">{{stock.name}}({{stock.symbol}})</a></td> |
| 44 | + <td>{{stock.current}}</td> |
| 45 | + <td>{{stock.change | number:2}}</td> |
| 46 | + <td>{{stock.percentage}}</td> |
| 47 | + <td>{{stock.volume}}万</td> |
| 48 | + <td>{{stock.marketCapital}}亿</td> |
| 49 | + <td><button type="button" class="btn btn-danger btn-xs" ng-click="delStock(stock)">删除</button></td> |
| 50 | + </tr> |
| 51 | + </tbody> |
| 52 | + </table> |
| 53 | + <h3>发布评论</h3> |
| 54 | + <textarea id="comment" ng-model="sayCom"></textarea> |
| 55 | + <button type="button" class="btn btn-primary navbar-right" ng-click="submitCom()">发布</button> |
| 56 | + |
| 57 | + <div class="clearfix"></div> |
| 58 | + |
| 59 | + <ul class="nav nav-tabs" id="myTab"> |
| 60 | + <li class="active"><a href="#home" data-toggle="tab">我的关注</a></li> |
| 61 | + <li><a href="#stock" data-toggle="tab" ng-click="aboutStockTopic()">我的股票</a></li> |
| 62 | + <li><a href="#profile" data-toggle="tab" ng-click="myTopic()">我的评论</a></li> |
| 63 | + <li><a href="#messages" data-toggle="tab" ng-click="atTopic()">@我</a></li> |
| 64 | + </ul> |
| 65 | + |
| 66 | + <div class="tab-content"> |
| 67 | + <div class="tab-pane active" id="home"> |
| 68 | + <%- include mode/topic %> |
| 69 | + </div> |
| 70 | + <div class="tab-pane" id="stock"> |
| 71 | + <%- include mode/aboutstocktopic %> |
| 72 | + </div> |
| 73 | + <div class="tab-pane" id="profile"> |
| 74 | + <%- include mode/mytopic %> |
| 75 | + </div> |
| 76 | + <div class="tab-pane" id="messages"> |
| 77 | + <%- include mode/atmetopic %> |
| 78 | + </div> |
| 79 | + </div> |
| 80 | + |
| 81 | + </div> |
| 82 | + <div class="col-md-3"> |
| 83 | + <h3>整体</h3> |
| 84 | + <ul class="nav nav-tabs" id="all"> |
| 85 | + <li class="active"><a href="#shanghai" data-toggle="tab">上海</a></li> |
| 86 | + <li><a href="#shengzheng" data-toggle="tab">深圳</a></li> |
| 87 | + </ul> |
| 88 | + |
| 89 | + <div class="tab-content"> |
| 90 | + <div class="tab-pane active" id="shanghai">...home</div> |
| 91 | + <div class="tab-pane" id="shengzheng">.profile..</div> |
| 92 | + </div> |
| 93 | + <h3>新闻</h3> |
| 94 | + <ul class="list-group"> |
| 95 | + <li class="list-group-item">Cras justo odio</li> |
| 96 | + </ul> |
| 97 | + |
| 98 | + <h3>热门</h3> |
| 99 | + <ul class="list-group"> |
| 100 | + <li class="list-group-item" ng-repeat="list in topList"> |
| 101 | + <a href="stock/{{ list.uid }}">{{ list.name }}({{ list.top }})</a> |
| 102 | + <button type="button" class="btn btn-danger btn-xs pull-right" ng-click="topWatch(list)" ng-show="{{list.haveWatch}}">关注</button> |
| 103 | + <span class="pull-right" ng-hide="{{list.haveWatch}}">已关注</span> |
| 104 | + </li> |
| 105 | + </ul> |
| 106 | + |
| 107 | + <h3>推荐</h3> |
| 108 | + <ul class="list-group"> |
| 109 | + <li>后台推荐1</li> |
| 110 | + <li>后台推荐1</li> |
| 111 | + <li>后台推荐1</li> |
| 112 | + </ul> |
| 113 | + |
| 114 | + <h3>推荐用户</h3> |
| 115 | + <ul class="list-group"> |
| 116 | + <li class="list-group-item" ng-repeat="people in peoples"> |
| 117 | + <a href="people/{{ people.name }}">{{ people.name }}({{ people.top }})</a> |
| 118 | + <button type="button" class="btn btn-danger btn-xs pull-right" ng-click="topPeople(people)" ng-hide="{{people.isWatch}}">关注</button> |
| 119 | + <span class="pull-right" ng-show="{{people.isWatch}}">已关注</span> |
| 120 | + </li> |
| 121 | + </ul> |
| 122 | + </div> |
| 123 | + </div> |
| 124 | +</div> |
| 125 | + |
| 126 | + |
| 127 | +<!-- <script src="js/underscore.js"></script> |
| 128 | +<script src="js/bigpipe.js"></script> |
| 129 | +<script src="js/tgy/topic.js"></script> |
| 130 | +<script src="js/tgy/index.js"></script> --> |
0 commit comments