relativeDetails.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <ion-view style="background-color: #f2f2f2;">
  2. <div class="bar bar-header">
  3. <div class="button button-icon icon pus_blue" ng-click="goback()"></div>
  4. <button class="button button-icon icon goback" ng-click="goback()"></button>
  5. <h3 class="DockingTheme_h3 resource_h3" ng-bind="resource.title"></h3>
  6. <!--<button class="button ShengButton" ng-click="openShare()"></button>-->
  7. </div>
  8. <ion-content class="has-header push_detail_content" delegate-handle="calenderContent" style="background-color: #fff;">
  9. <p class="resoureDetailTitle" ng-bind="resource.title"></p>
  10. <h6 class="resoureDetailSubTitle" ng-if="resource.categoryname!=undefined&&resource.categoryname!=''">
  11. <span>行业:</span>
  12. <span ng-bind="resource.categoryname"></span>
  13. </h6>
  14. <!--高校详情库\人才-->
  15. <h6 class="resoureDetailSubTitle" ng-if="false"><span>领域:</span><span ng-bind="resource.category_zh"></span></h6>
  16. <h6 class="resourceBuilder">
  17. <span class="resourceBuilder-span-img" ng-if="resource.creatorUser.photo!=undefined&&resource.creator!=0"><img src="{{imgUrl+resource.creatorUser.photo}}" onerror="javascript:this.src='./img/admin_picter.jpg'"></span>
  18. <span class="resourceBuilder-span-img" ng-if="resource.creator==0"><img src="./img/icon.png" onerror="javascript:this.src='./img/admin_picter.jpg'"></span>
  19. <span class="resourceBuilder-span-theme">{{resource.creator!=0?resource.creatorUser.userName:'普适科技'}}<br><a href="#" ng-bind="resource.publishTime"></a></span>
  20. <span class="resourceBuilder-span-t" ng-click="focusUser()" ng-if="resource.ifhasfoucs==1&&resource.Focus&&resource.creator!=undefined&&resource.creator!=0">已关注</span>
  21. <span class="resourceBuilder-span-t" ng-click="focusUser()" ng-if="resource.ifhasfoucs==1&&!resource.Focus&&resource.creator!=undefined&&resource.creator!=0">+关注</span>
  22. </h6>
  23. <div class="addEnterP" ng-if="type=='6'">
  24. <img width="auto" height="55px" style="margin:20px auto;display: block;" ng-if="resource.logo!=undefined&&resource.logo!=''" ng-src="{{imgUrl+resource.logo}}" onerror="javascript:this.src='./img/admin_picter.jpg'">
  25. <h4 class="erterTitle" ng-bind="resource.contentorgname"></h4>
  26. <ul class="enterArea_ul">
  27. <li ng-if="resource.enterprisetypename!=undefined&&resource.enterprisetypename!=''"><span>类型:</span>{{resource.enterprisetypename}}<b>|</b></li>
  28. <li ng-if="resource.enterprisescalename!=undefined&&resource.enterprisescalename!=''"><span>规模:</span>{{resource.enterprisescalename}}<b>|</b></li>
  29. <li ng-if="resource.star_type_name!=undefined&&resource.star_type_name!=''"><span>高企认定:</span>{{resource.star_type_name}}</li>
  30. </ul>
  31. <div class="enterArea" ng-if="resource.domain!=undefined&&resource.domain!=''"><span>领域:</span><p>{{resource.domain}}</p></div>
  32. </div>
  33. <div class="addEnterP" ng-if="type=='8'">
  34. <img class="resourceDetailImg" ng-if="resource.logo!=undefined&&resource.logo!=''" ng-src="{{imgUrl+resource.logo}}" onerror="javascript:this.src='./img/admin_picter.jpg'">
  35. <h4 class="erterTitle" ng-bind="resource.contentexpertname"></h4>
  36. <ul class="enterArea_ul">
  37. <li ng-if="resource.sex!=undefined&&resource.sex!=0"><span>性别:</span>{{sex[resource.sex]}}<b>|</b></li>
  38. <li ng-if="resource.birthday!=undefined&&resource.birthday!=''"><span>年龄:</span>{{resource.birthday}}<b>|</b></li>
  39. <li ng-if="resource.academicdegreename!=undefined&&resource.academicdegreename!=''"><span>学位:</span>{{resource.academicdegreename}}</li>
  40. </ul>
  41. <div>
  42. <ul class="enterArea_ul" style="overflow: visible;">
  43. <li ng-if="resource.rank!=undefined&&resource.rank!=0"><span>职称:</span>{{resource.rank}}<b>|</b></li>
  44. <li ng-if="resource.domain!=undefined&&resource.domain!=''" style="position: relative;height: auto;">
  45. <span style="position: absolute;left: 0;top:0;width: 42px;">领域:</span>
  46. <p class="resourceArea_p">{{resource.domain}}</p>
  47. </li>
  48. </ul>
  49. </div>
  50. </div>
  51. <ion-scroll scroll="true" has-bouncing="true" direction="x" scrollbar-x="false" delegate-handle="scrollimage" class="photo_div" ng-show="imagelist.length>0;" style="overflow-x:hidden;overflow-y:hidden;">
  52. <a class="photo_img" ng-repeat="image in imagelist track by $index">
  53. <img ng-src="{{image.photo_name}}" width="100%" height="85" ng-click="shouBigImage($index)">
  54. <span class="photo_delect delect_cammer" ng-click="deletePhoto($index)"></span>
  55. </a>
  56. </ion-scroll>
  57. <!--成果库独有的-->
  58. <div class="resource_result_div">
  59. <h6 ng-if="(type=='1'||type=='2')&&resource.domain!=undefined&&resource.domain!=''"><span>领域&nbsp;:&nbsp;</span><b href="#" ng-bind="resource.domain"></b></h6>
  60. <h6 ng-if="type=='2'&&resource.proficiency!=undefined&&resource.proficiency!=0"><span>成熟度&nbsp;:&nbsp;</span><b ng-bind="chooesMaturity[resource.proficiency]"></b></h6>
  61. <h6 ng-if="type=='1'&&resource.capitalScale!=undefined"><span>投入预算&nbsp;:&nbsp;</span><b ng-bind="resource.capitalScale==-1?'面议':resource.capitalScale+'万元'"></b></h6>
  62. <h6 ng-if="(type=='1'||type=='2')&&resource.cooperationmodelname!=undefined&&resource.cooperationmodelname!=''"><span>合作模式&nbsp;:&nbsp;</span><b ng-bind="resource.cooperationmodelname"></b></h6>
  63. <h6 ng-if="type=='2'&&resource.isipr!=undefined&&resource.isipr!=-1"><span>知识产权&nbsp;:&nbsp;</span><b ng-bind="chooesRight[resource.isipr]"></b></h6>
  64. </div>
  65. <p class="detail_content" ng-bind-html="contenthtml">
  66. </p>
  67. <div class="detail_connectMessage">
  68. <h6 ng-if="type=='8'&&resource.schName!=undefined&&resource.schName!=''"><i class="ascription"></i><span ng-bind="resource.schName"></span></h6>
  69. <h6 ng-if="(type=='1'||type=='2')&&resource.orgName!=undefined&&resource.orgName!=''"><i class="ascription"></i><span ng-bind="resource.orgName"></span></h6>
  70. <h6 ng-if="type!='8'&&resource.contactor!=undefined&&resource.contactor!=''"><i class="connectP"></i><span ng-bind="resource.contactor"></span></h6>
  71. <h6 ng-if="resource.tel!=undefined&&resource.tel!=''" ng-click="openTel(resource.tel)"><i class="phoneT"></i><span ng-bind="resource.tel" style="color: #3385ff;"></span></h6>
  72. <h6 ng-if="resource.email!=undefined&&resource.email!=''"><i class="mailM"></i><span ng-bind="resource.email"></span></h6>
  73. <h6 ng-if="type=='6'&&resource.address!=undefined&&resource.address!=''"><i class="address"></i><span ng-bind="resource.address"></span></h6>
  74. </div>
  75. <!--点赞区域-->
  76. <p class="detail_connectLikes" ng-if="resource.ifhasfavour==1&&!resource.Like&&resource.favourcount!=undefined" ng-click="dianZan()"><span><i></i>{{resource.favourcount}}</span></p>
  77. <p class="detail_connectLikes resource_zan" ng-if="resource.ifhasfavour==1&&resource.Like&&resource.favourcount!=undefined" ng-click="dianZan()"><span><i></i>{{resource.favourcount}}</span></p>
  78. <!--相关资源-->
  79. <h6 style="position: relative;" ng-if="resource.ifhasmatch==1&&(relativerecord!=undefined||relativelist.length>0)">
  80. <span class="resource_relative">相关资源:</span>
  81. <span class="resource_relative_right" ng-click="getRelativeResource()"><i class="synUpload_blue"></i>换一换</span>
  82. </h6>
  83. <a class="item item-thumbnail-right item-text-wrap push_home_a resourceContent" style="min-height: 110px;width: 95%;"ng-if="resource.ifhasmatch==1" ng-repeat="relative in relativelist track by $index">
  84. <img ng-src="{{imgUrl+relative.logo}}" onerror="javascript:this.src='./img/admin_picter.jpg';" style="width: 74px;;height:65px;position: absolute;top: 15px;left:12px;">
  85. <div class="resourceList" ng-click="goRelativeResource(relative)">
  86. <h3 class="pus_h1 resourceH3 new_push_h1" style="height: 39px;line-height: 30px;" ng-bind="relative.title"></h3>
  87. <span class="ownerResource">发布者:<small ng-bind="relative.creatorname"></small></span>
  88. <p class="lab_sub" style="width: 100%;float:left;top:0px;">
  89. <span class="lab_one"><i></i><small ng-bind="relative.commcount"></small></span>
  90. <span class="lab_two"><i></i><small ng-bind="relative.visitcount"></small></span>
  91. <span class="lab_three"><span class="favourate"><i></i><small ng-bind="relative.favourcount"></small></span></span>
  92. <span class="lab_five" ng-bind="relative.publishTime"></span>
  93. </p>
  94. </div>
  95. <button class="resource_detail_button" ng-click="goResourceMatch(relative)" ng-if="relative.type == '1'">匹配更多需求>></button>
  96. <button class="resource_detail_button" ng-click="goResourceMatch(relative)" ng-if="relative.type == '2'">匹配更多成果>></button>
  97. <button class="resource_detail_button" ng-click="goResourceMatch(relative)" ng-if="relative.type == '6'">匹配更多企业>></button>
  98. <button class="resource_detail_button" ng-click="goResourceMatch(relative)" ng-if="relative.type == '8'">匹配更多人才>></button>
  99. </a>
  100. <a class="item item-thumbnail-right item-text-wrap push_home_a resourceContent" style="min-height: 110px;" ng-if="resource.ifhasmatch==1&&relativerecord!=undefined">
  101. <img ng-src="{{imgUrl+relativerecord.logo}}" onerror="javascript:this.src='./img/admin_picter.jpg';" style="width: 74px;;height:65px;position: absolute;top: 15px;left:12px;">
  102. <div class="resourceList" ng-click="goRelativeResource(relativerecord)">
  103. <h3 class="pus_h1 resourceH3 new_push_h1" style="height: 39px;line-height: 30px;" ng-bind="relativerecord.title"></h3>
  104. <span class="ownerResource">发布者:<small ng-bind="relativerecord.creatorname"></small></span>
  105. <p class="lab_sub" style="width: 100%;float:left;top:0px;">
  106. <span class="lab_one"><i></i><small ng-bind="relativerecord.commcount"></small></span>
  107. <span class="lab_two"><i></i><small ng-bind="relativerecord.visitcount"></small></span>
  108. <span class="lab_three"><span class="favourate"><i></i><small ng-bind="relativerecord.favourcount"></small></span></span>
  109. <span class="lab_five" ng-bind="relativerecord.conntime"></span>
  110. </p>
  111. </div>
  112. <button class="resource_detail_button" ng-click="goResourceMatch(relativerecord)">匹配更多记录>></button>
  113. </a>
  114. <!--热门评论-->
  115. <span id="all_discuss" style="background-color: #fff;border-top: .5px solid #e6e6e7;top: 15px;width: 92%;margin: 0 auto;" ng-if="resource.ifhascomm==1&&commentlist.length>0">
  116. <p style="font-size:14px;margin: 15px 0 15px;font-weight: 500;" ng-if="commentlist.length>0">热门评论</p>
  117. <a style="width: 100%;height:auto;display: block;overflow: hidden;" ng-repeat="comment in commentlist track by $index">
  118. <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})"/>
  119. <p class="content-node">{{comment.userName}}
  120. <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;">
  121. <b style="top:0px;left: -5px;">{{comment.favourcount}}</b>
  122. <span style=" width: 49px;position:absolute; right:34px; top:2px; color:transparent; text-align: left; height: 20px;line-height: 20px;">+1</span>
  123. </span>
  124. <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;">
  125. <b style="top:0px;left: -5px;">{{comment.favourcount}}</b>
  126. <span style=" width: 49px;position:absolute; right:34px; top:2px; color:transparent; text-align: left; height: 20px;line-height: 20px;">+1</span>
  127. </span>
  128. </p>
  129. <p class="content-node" style="margin: 12px 0;" ng-if="comment.commenttag!=undefined">
  130. <span class="discussCard {{comment.commenttag.color+'_bg'}}" ng-bind="comment.commenttag.name">合同签订</span>
  131. </p>
  132. <p class="comment-content" style="padding-left: 35px;width: 94%;text-align: justify;" ng-click="goCommentDetail(comment)" ng-bind="comment.content"></p>
  133. <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%;">
  134. <span class="photo_img" ng-repeat="image in comment.pic">
  135. <img src="{{imgUrl+image.photo_name}}" style="width:100%;height:85px;" class="back-img"/>
  136. </span>
  137. </ion-scroll>
  138. <span class="review_data" ng-click="goCommentDetail(comment)">{{comment.createTime}}<span>{{comment.replyNumber==0?'':comment.replyNumber+'条'}}回复&gt;</span></span>
  139. <span ng-click="delectToolDis(comment.id)" class="delectToolDis" ng-if="comment.userId == userid">删除</span>
  140. </a>
  141. <div ng-if="MoreComment" style="width: 100%;height:30px;line-height: 30px;position: relative;text-align: center;font-size: 12px;margin-bottom: 25px;">
  142. <span style="color:#2095ee; height: 100%;float: left;width: 110px;position:absolute;left: 35%;" ng-click="goCommentList()">继续查看更多评论></span>
  143. </div>
  144. </span>
  145. <!--暂无评论-->
  146. <div style="width: 100%;height:120px;position: relative;top:8px;" ng-if="resource.ifhascomm==1&&commentlist.length==0;" ng-click="hadSoft()">
  147. <i id="empty_discuss"></i>
  148. <p class="empty_p">暂无评论,点击抢沙发</p>
  149. </div>
  150. <!--没有权限去申请-->
  151. <div ng-if="resource.islock==1" class="null_zan null_authority">
  152. <span>没有权限</span>
  153. <a class="null_zan_a" ui-sref="resourceApply">去申请</a>
  154. </div>
  155. <br>
  156. <br>
  157. <br>
  158. </ion-content>
  159. <!--底部标签区域-->
  160. <div class="comment_bottom" ng-if="showComment">
  161. <label class="item-input-wrapper" ng-if="resource.ifhascomm==1">
  162. <input type="text" placeholder="写评论..." class="write_p" id="write_see" ng-focus="focus_write()">
  163. </label>
  164. <div>
  165. <button class="pus_button" ng-if="resource.ifhascomm==1" ng-click="goCommentList()">
  166. <span class="pin_lun">
  167. <!--<span ng-if="commentlist.length>0" ng-class="{'red-number':commentlist.length>0}" >{{commentlist.length}}</span>-->
  168. </span>
  169. </button>
  170. <span ng-if="resource.ifhasenshrine==1" id="five_xin" ng-class="{'five_xin':resource.Enshrine}" ng-click="collectResource()"></span>
  171. <span ng-if="resource.ifhasshare==1" id="z_fa" ng-click="openShare()"></span>
  172. </div>
  173. </div>
  174. <!--简单回复区域-->
  175. <ion-footer-bar ng-if="!showComment" class="comment_div" keyboard-attach style="height: 170px;">
  176. <textarea autofocus style="top:0;" class="my_comment" name="comment" placeholder="优质评论将会被优先展示" required ng-model="comment.content" ng-change="commentValue()"></textarea>
  177. <div id="commentform">
  178. <button class="comment_phone" ng-click="releaseComment()"></button>
  179. <button class="comment_submit" ng-style="commentNotnull" ng-click="publishComment();" ng-disabled="comment.content==undefined||comment.content.length==0;">发表</button>
  180. </div>
  181. </ion-footer-bar>
  182. <div ng-if="!showComment" class="comment_background" ng-click="hiddenComment()"></div>
  183. <!--图片放大区域-->
  184. <div id="rightDisplay" ng-if="bigImage" class="popover-backdrop" >
  185. <ion-slide-box auto-play="false" does-continue="false" show-pager="true" delegate-handle="slide_detail">
  186. <ion-slide ng-repeat="pic in imagelist track by $index" style="background-color:#000;">
  187. <img class="img-responsive bigimage" src="{{pic.original_name}}" ng-click="hideBigImage()"/>
  188. </ion-slide>
  189. </ion-slide-box>
  190. </div>
  191. <!--分享区域-->
  192. <div class="detail_ionicpop" ng-if="shareflg">
  193. <div class="closeShare" ng-click="closeShare()"></div>
  194. <div class="ionicPop_div">
  195. <ion-scroll direction="x" scrollbar-x="false" class="p_Chanel">
  196. <span class="share_path">分享到:</span>
  197. <a ng-click="shareMessage(3)"><i class="share_first"></i><span>微信朋友圈</span></a>
  198. <a ng-click="shareMessage(2)"><i class="share_second"></i><span>微信好友</span></a>
  199. <a ng-click="shareMessage(0)"><i class="share_third"></i><span>手机QQ</span></a>
  200. <a ng-click="shareMessage(1)"><i class="share_four"></i><span>QQ空间</span></a>
  201. </ion-scroll>
  202. <div class="cancelPop" ng-click="closeShare()">取消</div>
  203. </div>
  204. </div>
  205. </ion-view>