|
1 | 1 | <div class="container " style="padding-top:70px;">
|
2 | 2 | <div class="row">
|
3 | 3 | <div class="col-md-10 col-md-offset-1">
|
4 |
| - <h3 id="pageName" pName="<%= people.name %>"><%= people.name %>的信息</h3> |
| 4 | + <h3 id="pageName" pName="{{name}}">{{name}}的信息</h3> |
5 | 5 | <div class="col-md-2">
|
6 |
| - <img src="/images/<%= people.info.pic.big %>" style="width:100%"/> |
| 6 | + <img ng-src="{{people.info.pic.big}}" style="width:100%"/> |
7 | 7 | </div>
|
8 | 8 | <div class="col-md-8">
|
9 |
| - <p isWatch="<%= locals.isWatch %>" id="watchP"> |
10 |
| - <button type="button" class="btn btn-info col-md-offset-4" ng-click="watchPeo()" id="watchOk">关注</button> |
11 |
| - <button type="button" class="btn btn-info col-md-offset-4" ng-click="unwatchPeo()" id="watchNo">取消关注</button> |
| 9 | + <p isWatch="iswatch" id="watchP" ng-hide="myself"> |
| 10 | + <button type="button" class="btn btn-info col-md-offset-4" ng-hide="iswatch" ng-click="watchPeo()" id="watchOk">关注</button> |
| 11 | + <button type="button" class="btn btn-info col-md-offset-4" ng-show="iswatch" ng-click="unwatchPeo()" id="watchNo">取消关注</button> |
12 | 12 | </p>
|
13 |
| - <p>特长:<span><%= people.info.Spec %></span></p> |
14 |
| - <p>兴趣:<span><%= people.info.interest %></span></p> |
| 13 | + <p>特长:<span> {{people.info.Spec }}</span></p> |
| 14 | + <p>兴趣:<span> {{people.info.interest }}</span></p> |
15 | 15 | </div>
|
16 | 16 |
|
17 | 17 | <div class="clearfix"></div>
|
18 | 18 | <h3>我的选择</h3>
|
19 |
| - <table class="table table-bordered table-hover table-condensed"> |
| 19 | + <table class="table table-bordered table-hover table-condensed" ng-controller="timeStock"> |
20 | 20 | <thead>
|
21 | 21 | <tr>
|
22 | 22 | <th>股票</th>
|
@@ -46,13 +46,12 @@ <h3>我的选择</h3>
|
46 | 46 | <ul class="nav nav-tabs" id="myTab">
|
47 | 47 | <li class="active"><a href="#home" data-toggle="tab">话题</a></li>
|
48 | 48 | <li><a href="#profile" data-toggle="tab">Profile</a></li>
|
49 |
| - <li><a href="#messages" data-toggle="tab" ng-click="watchTab()">关注(<%= people.watch.length %>)</a></li> |
50 |
| - <li><a href="#settings" data-toggle="tab" ng-click="fensTab()">粉丝(<%= people.beWatch.length %>)</a></li> |
| 49 | + <li><a href="#messages" data-toggle="tab" ng-click="watchTab()">关注({{ people.watch.length }})</a></li> |
| 50 | + <li><a href="#settings" data-toggle="tab" ng-click="fensTab()">粉丝({{ people.beWatch.length }})</a></li> |
51 | 51 | </ul>
|
52 | 52 |
|
53 | 53 | <div class="tab-content">
|
54 |
| - <div class="tab-pane active" id="home"> |
55 |
| - <%- include mode/mytopic %> |
| 54 | + <div class="tab-pane active" id="home" ng-include="'app/mode/mytopic.html'" ng-controller="mytopic"> |
56 | 55 | </div>
|
57 | 56 | <div class="tab-pane" id="profile">
|
58 | 57 | <ul class="list-group">
|
|
0 commit comments