123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- <ion-view>
- <ion-header-bar align-title="center" class="bar-stable" style="background-color:#5babe6;">
- <div class="buttons" style="width:100%;">
- <form class="item-input-inset pus_ng" style="height: 35px;border-bottom: none;width:90%;padding-left: 2.5%;" ng-submit="searchResultByKey(key)" ng-click="search()">
- <div class="item-input-wrapper" id="pus_search" action="">
- <i class="icon ion-ios-search placeholder-icon" ng-click="search()"></i>
- <input type="search" placeholder="搜你想搜的" id="his_search" ng-model="key" ng-change="fixKey()" ng-focus="showFunc()" autofocus="autofocus" autocomplete="on"/>
- <i class="icon ion-close-circled placeholder-icon" style="vertical-align: middle;right:7px;" ng-click="clearSearch()" ng-if="key.length>0"></i>
- </div>
- </form>
- <button class="button button-clear cancel_search" ng-click="gobackback()">
- 取消
- </button>
- </div>
- </ion-header-bar>
- <ion-content has-bouncing="true" overflow-scroll="false" style="background-color:#ffffff;" delegate-handle="resourceSearchContent">
- <!--词库匹配-->
- <ul id="baidu_search" ng-if="key.length>0&&showbaidu">
- <li class="box_bai" ng-repeat="d in data" ng-click="searchResultByKey(d)">
- <i class="icon ion-ios-search placeholder-icon" style="margin-right:10px;" ></i>
- <a style="color: #2e2e2e;" ng-bind-html="d | highlight:key">{{d}}</a>
- </li>
- </ul>
- <!-- 附近页面-->
- <div style="z-index:5;">
- <div class="row my_row" ng-if="searchtype==0">
- <span class="col-demo main-select Search_tab cor_search" ng-class="{activity : choseTab==1}" ng-if="oldtabindex==1" ng-click="changeAct(1)" style="height: 118%;margin: 0 12px;">资源</span>
- <span class="col-demo main-select Search_tab cor_search" ng-class="{activity : choseTab==3}" ng-if="oldtabindex>2" ng-click="changeAct(3)" style="height: 118%;margin: 0 12px;">成果</span>
- <span class="col-demo main-select Search_tab cor_search" ng-class="{activity : choseTab==4}" ng-if="oldtabindex>2" ng-click="changeAct(4)" style="height: 118%;margin: 0 12px;">需求</span>
- <span class="col-demo main-select Search_tab cor_search" ng-class="{activity : choseTab==5}" ng-if="oldtabindex>2" ng-click="changeAct(5)" style="height: 118%;margin: 0 12px;">企业</span>
- <span class="col-demo main-select Search_tab cor_search" ng-class="{activity : choseTab==6}" ng-if="oldtabindex>2" ng-click="changeAct(6)" style="height: 118%;margin: 0 12px;">人才</span>
- <span class="col-demo main-select Search_tab cor_search" ng-class="{activity : choseTab==2}" ng-click="changeAct(2)" style="height: 118%;margin: 0px 15px;">用户</span>
- </div>
- </div>
- <div ng-if="searchtype==0">
- <!-- 资源库列表-->
- <div ng-if="choseTab==0">
- <div style="background-color:#f2f2f2;width: 100%;height:8px;" ng-if="resourcelibrarylist.length>0;"></div>
- <div class="list">
- <a class="item item-thumbnail-right item-text-wrap push_home_a" ng-repeat="reclib in resourcelibrarylist" ng-click="goResorceLibaryDetail(reclib)" style="height: 75.1px;">
- <img ng-src="img/resourceLibrary.png" style="width: 74px;height:65px;position: absolute;top: 15px;left:12px;" ng-if="reclib.fixtype==2">
- <img ng-src="img/Inbox.png" style="width: 74px;;height:65px;position: absolute;top: 15px;left:12px;" ng-if="reclib.fixtype==1">
- <div class="resourceList">
- <h3 class="pus_h1 resourceH3 new_push_h1"><span ng-bind-html="reclib.name"></span><span ng-if="reclib.fixtype==2" class="red-resourceNumber"></span></h3>
- <p class="lab_sub" style="width: 100%;float:left;top:4px;">
- <span class="lab_one"><i></i><small>{{reclib.commcount}}</small></span>
- <span class="lab_two"><i></i><small>{{reclib.visitcount}}</small></span>
- <span class="lab_three"><span class="favourate"><i></i><small>{{reclib.favourcount}}</small></span></span>
- <span class="lab_five"><i></i><small></small>{{reclib.updatetime}}</span>
- </p>
- </div>
- </a>
- </div>
- <div ng-if="resourcelibrarylist.length == 0 " style="width: 100%;height:120px;position: relative;top:75px;">
- <i class="emptySource" ></i>
- <p class="empty_p">无相关内容</p>
- </div>
- </div>
- <!-- 资源列表-->
- <div ng-if="choseTab==1||choseTab>2">
- <ion-list class="list resourcelistDiv" style="background-color: #fff;border-top: .5px solid #e6e6e7;display: block;position: relative;top:0px;">
- <ion-item class="item item-thumbnail-right item-text-wrap push_home_a resourceContent" ng-repeat="resource in resourcelist" style="height: 75.1px;">
- <span ng-class="{'pay_list_c2':true, 'love_input_on':resource.value}">
- <input type="radio" checked="" style="position:absolute;top:50%;left:-29px;z-index: 55;display:none;opacity: 0;" ng-model="resource.value">
- </span>
- <!--<a class="resource_wrap">-->
- <img ng-src="{{imgUrl+resource.logo}}" onerror="javascript:this.src='./img/admin_picter.jpg';" style="width: 74px;;height:65px;position: absolute;top: 15px;left:12px;">
- <div class="resourceList" ng-click="goResourceDetail(resource)">
- <h3 class="pus_h1 resourceH3 new_push_h1" style="height: 39px;line-height: 30px;" ng-bind-html="ttt(resource.title)"></h3>
- <span class="ownerResource">发布者:<small>{{resource.creatorname}}</small></span>
- <p class="lab_sub" style="width: 100%;float:left;top:0px;">
- <span class="lab_one"><i></i><small>{{resource.commcount}}</small></span>
- <span class="lab_two"><i></i><small>{{resource.visitcount}}</small></span>
- <span class="lab_three"><span class="favourate"><i></i><small>{{resource.favourcount}}</small></span></span>
- <span class="lab_five">{{resource.publishTime}}</span>
- </p>
- </div>
- <!--</a>-->
- <!--<ion-option-button class="button-assertive" ng-click="shareSheetAction()">分享</ion-option-button>-->
- </ion-item>
- <div ng-if="resourcelist.length == 0 " style="width: 100%;height:120px;position: relative;top:75px;">
- <i class="emptySource" ></i>
- <p class="empty_p">无相关内容</p>
- </div>
- </ion-list>
- </div>
- <!-- 用户列表-->
- <div ng-if="choseTab==2">
- <div class="list" ng-repeat="User in usersList track by $index" style="margin: 0;">
- <a class="item item-thumbnail-right item-text-wrap" style="border: none;border-bottom:1px solid #e8e8e8;width:94%;min-height: 70px;padding: 0;margin: 0 auto;" >
- <img ng-src="{{imgUrl+avaterPath+User.photo}}" onerror="javascript:this.src='./img/admin_picter.jpg';" style="width:50px;height:50px;position:relative;top:5px;left:0;border-radius: 50%;float: left;" ng-click="goPublisher(User)">
- <h3 class="pus_h2" ng-bind-html="User.userName | highlight:key"></h3>
- <p class="s_t1" >{{User.intro}}</p>
- <button class="my_searchButton search_concerned" ng-click="doFocus(User,$index)" ng-if="User.isFocus==2">关注 +</button>
- <button class="my_searchButton search_concerned w_User" ng-click="doFocus(User,$index)" ng-if="User.isFocus==1">已关注</button>
- </a>
- </div>
- <div ng-if="usersList.length == 0 " style="width: 100%;height:120px;position: relative;top:75px;">
- <i class="emptySource" ></i>
- <p class="empty_p">无相关内容</p>
- </div>
- </div>
- </div>
- <!--评论搜索列表-->
- <div ng-if="searchtype==1">
- <span id="all_discuss" style="background-color: #fff;top: 20px;width: 95%;margin: 0 auto;">
- <a style="width: 100%;height:auto;display: block;overflow: hidden;" ng-repeat="comment in commentlist track by $index">
- <img ng-src="{{imgUrl+comment.photo}}" onerror="javascript:this.src='./img/admin_picter.jpg';" style="border-radius: 50%;width:35px;height: 35px;float: left;position: relative;" ng-click="go('publisher',{Id:comment.userId})"/>
- <p class="content-node">{{comment.userName}}
- <span class="content-zan du_discuss" ng-if="!comment.Like" ng-click="content_zan(comment,$index);" style=" float: right;color:#979fac;width:auto;height: 25px;line-height:25px;text-indent: 28px;font-size: 14px;text-align:center;background-position:0 47%;display: inline-block;">
- <b style="top:0px;left: -5px;">{{comment.favourcount}}</b>
- <span style=" width: 49px;position:absolute; right:34px; top:2px; color:transparent; text-align: left; height: 20px;line-height: 20px;">+1</span>
- </span>
- <span class="content-zan du_discuss w_zan" ng-if="comment.Like" ng-click="content_zan(comment,$index);" style=" float: right;color:#979fac;width:auto;height: 25px;line-height:25px;text-indent: 28px;font-size: 14px;text-align:center;background-position:0 47%;display: inline-block;">
- <b style="top:0px;left: -5px;">{{comment.favourcount}}</b>
- <span style=" width: 49px;position:absolute; right:34px; top:2px; color:transparent; text-align: left; height: 20px;line-height: 20px;">+1</span>
- </span>
- </p>
- <p class="content-node" style="margin: 12px 0;" ng-if="comment.commenttag!=undefined">
- <span class="discussCard {{comment.commenttag.color+'_bg'}}" ng-bind="comment.commenttag.name"></span>
- </p>
- <p class="comment-content" style="padding-left: 35px;width: 94%;text-align: justify;" ng-click="goCommentDetail(comment)" ng-bind="comment.content"></p>
- <ion-scroll scroll="true" has-bouncing="true" direction="x" scrollbar-x="false" delegate-handle="scrollimage" class="photo_div" ng-show="comment.pic.length>0" style="overflow-x:hidden;overflow-y:hidden;width: 88%;">
- <span class="photo_img" ng-repeat="image in comment.pic">
- <img src="{{imgUrl+image.photo_name}}" style="width:100%;height:85px;" class="back-img"/>
- </span>
- </ion-scroll>
- <span class="review_data" ng-click="goCommentDetail(comment)">{{comment.createTime}}<span>{{comment.replyNumber==0?'':comment.replyNumber+'条'}}回复></span></span>
- <span ng-click="delectToolDis(comment.id)" class="delectToolDis" ng-if="comment.userId == userid||isedit">删除</span>
- </a>
- </span>
- </div>
- </div>
- <ion-infinite-scroll
- immediate-check="false"
- ng-if="hasmore[choseTab].isload"
- on-infinite="loadMore()"
- distance="10%" >
- </ion-infinite-scroll>
- </ion-content>
- </ion-view>
|