resourcePrivateDetails.html 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524
  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="openActionSheet()" ng-if="roler.isset"></button>
  7. </div>
  8. <ion-content class="has-header push_detail_content" delegate-handle="calenderContent" style="background-color: #fff;height: 100%;">
  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. <h6 class="resourceBuilder">
  15. <span class="resourceBuilder-span-img" ng-if="resource.creatorUser.photo!=undefined&&resource.creator!=0">
  16. <img ng-src="{{imgUrl+resource.creatorUser.photo | imgfilter}}" onerror="javascript:this.src='./img/admin_picter.jpg'">
  17. </span>
  18. <span class="resourceBuilder-span-img" ng-if="resource.creator==0">
  19. <img src="./img/icon.png" onerror="javascript:this.src='./img/admin_picter.jpg'">
  20. </span>
  21. <span class="resourceBuilder-span-theme">{{resource.creator!=0?resource.creatorUser.userName:'普适科技'}}<br><a href="#" ng-bind="resource.publishTime"></a></span>
  22. <span class="resourceBuilder-span-t" ng-click="focusUser()" ng-if="resource.ifhasfoucs==1&&resource.Focus&&resource.creator!=undefined&&resource.creator!=0&&resource.creator!=userid">已关注</span>
  23. <span class="resourceBuilder-span-t" ng-click="focusUser()" ng-if="resource.ifhasfoucs==1&&!resource.Focus&&resource.creator!=undefined&&resource.creator!=0&&resource.creator!=userid">+关注</span>
  24. </h6>
  25. <!--资源基本信息-->
  26. <div class="addEnterP">
  27. <img class="resourceDetailImg" ng-if="resource.logo!=undefined&&resource.logo!=''" ng-src="{{imgUrl+resource.logo | imgfilter}}" onerror="javascript:this.src='./img/admin_picter.jpg'">
  28. <h4 class="erterTitle" ng-bind="resource.title"></h4>
  29. <ul class="enterArea_ul">
  30. <li ng-if="resource.enterprisetypename!=undefined&&resource.enterprisetypename!=''"><span>类型:</span>{{resource.enterprisetypename}}<b>|</b></li>
  31. <li ng-if="resource.enterprisescalename!=undefined&&resource.enterprisescalename!=''"><span>规模:</span>{{resource.enterprisescalename}}<b>|</b></li>
  32. <li ng-if="resource.star_type_name!=undefined&&resource.star_type_name!=''"><span>高企认定:</span>{{resource.star_type_name}}</li>
  33. </ul>
  34. <div class="enterArea" ng-if="resource.domain!=undefined&&resource.domain!=''"><span>领域:</span><p>{{resource.domain}}</p></div>
  35. </div>
  36. <!--企业-->
  37. <div class="addEnterP" ng-if="type=='6'">
  38. <img class="resourceDetailImg" ng-if="resource.logo!=undefined&&resource.logo!=''" ng-src="{{imgUrl+resource.logo}}" onerror="javascript:this.src='./img/admin_picter.jpg'">
  39. <h4 class="erterTitle" ng-bind="resource.contentorgname"></h4>
  40. <ul class="enterArea_ul">
  41. <li ng-if="resource.enterprisetypename!=undefined&&resource.enterprisetypename!=''"><span>类型:</span>{{resource.enterprisetypename}}<b>|</b></li>
  42. <li ng-if="resource.enterprisescalename!=undefined&&resource.enterprisescalename!=''"><span>规模:</span>{{resource.enterprisescalename}}<b>|</b></li>
  43. <li ng-if="resource.star_type_name!=undefined&&resource.star_type_name!=''"><span>高企认定:</span>{{resource.star_type_name}}</li>
  44. </ul>
  45. <div class="enterArea" ng-if="resource.domain!=undefined&&resource.domain!=''"><span>领域:</span><p>{{resource.domain}}</p></div>
  46. </div>
  47. <!--高校-->
  48. <div class="addEnterP" ng-if="type=='7'">
  49. <img class="resourceDetailImg" ng-if="resource.logo!=undefined&&resource.logo!=''" ng-src="{{imgUrl+resource.logo}}" onerror="javascript:this.src='./img/admin_picter.jpg'">
  50. <h4 class="erterTitle" ng-bind="resource.contentorgname"></h4>
  51. <ul class="enterArea_ul">
  52. <li ng-if="resource.region!=undefined&&resource.region!=''"><span>地区:</span>{{resource.region}}<b>|</b></li>
  53. <li ng-if="resource.starTypeValue!=undefined&&resource.starTypeValue!=''"><span>学校类别:</span>{{resource.starTypeValue}}<b></b></li>
  54. </ul>
  55. </div>
  56. <!--人才-->
  57. <div class="addEnterP" ng-if="type=='8'">
  58. <img class="resourceDetailImg" ng-if="resource.logo!=undefined&&resource.logo!=''" ng-src="{{imgUrl+resource.logo}}" onerror="javascript:this.src='./img/admin_picter.jpg'">
  59. <h4 class="erterTitle" ng-bind="resource.contentexpertname"></h4>
  60. <ul class="enterArea_ul">
  61. <li ng-if="resource.sex!=undefined&&resource.sex!=0"><span>性别:</span>{{sex[resource.sex]}}<b>|</b></li>
  62. <li ng-if="resource.birthday!=undefined&&resource.birthday!=''"><span>年龄:</span>{{resource.birthday}}<b>|</b></li>
  63. <li ng-if="resource.academicdegreename!=undefined&&resource.academicdegreename!=''"><span>学位:</span>{{resource.academicdegreename}}</li>
  64. </ul>
  65. <div>
  66. <ul class="enterArea_ul" style="overflow: visible;">
  67. <li ng-if="resource.rank!=undefined&&resource.rank!=''"><span>职称:</span>{{resource.rank}}<b>|</b></li>
  68. <li ng-if="resource.domain!=undefined&&resource.domain!=''" style="position: relative;height: auto;">
  69. <span style="position: absolute;left: 0;top:0;width: 42px;">领域:</span>
  70. <p class="resourceArea_p">{{resource.domain}}</p>
  71. </li>
  72. </ul>
  73. </div>
  74. </div>
  75. <!--成果、需求-->
  76. <div class="resource_result_div">
  77. <h6 ng-if="(type=='1'||type=='2')&&resource.domain!=undefined&&resource.domain!=''"><span>领域&nbsp;:&nbsp;</span><b href="#" ng-bind="resource.domain"></b></h6>
  78. <h6 ng-if="type=='2'&&resource.proficiency!=undefined&&resource.proficiency!=0"><span>成熟度&nbsp;:&nbsp;</span><b ng-bind="chooesMaturity[resource.proficiency]"></b></h6>
  79. <h6 ng-if="type=='1'&&resource.capitalScale!=undefined"><span>投入预算&nbsp;:&nbsp;</span><b ng-bind="resource.capitalScale==-1?'面议':resource.capitalScale+'万元'"></b></h6>
  80. <h6 ng-if="(type=='1'||type=='2')&&resource.cooperationmodelname!=undefined&&resource.cooperationmodelname!=''"><span>合作模式&nbsp;:&nbsp;</span><b ng-bind="resource.cooperationmodelname"></b></h6>
  81. <h6 ng-if="type=='2'&&resource.isipr!=undefined&&resource.isipr!=-1"><span>知识产权&nbsp;:&nbsp;</span><b ng-bind="chooesRight[resource.isipr]"></b></h6>
  82. </div>
  83. <div>
  84. <p class="detail_content" ng-bind-html="contenthtml"> </p>
  85. <div class="detail_connectMessage">
  86. <h6 ng-if="type=='8'&&resource.schName!=undefined&&resource.schName!=''"><i class="ascription"></i><span ng-bind="resource.schName"></span></h6>
  87. <h6 ng-if="type=='1'&&resource.orgName!=undefined&&resource.orgName!=''" ng-click="goRelResource(resource)">
  88. <i class="ascription"></i><span ng-bind="resource.orgName" ng-class="{'relative_color':resource.resourceid!=undefined}"></span>
  89. </h6>
  90. <h6 ng-if="type=='2'&&resource.orgName!=undefined&&resource.orgName!=''"><i class="ascription"></i><span ng-bind="resource.orgName"></span></h6>
  91. <h6 ng-if="type=='2'&&resource.contactor!=undefined&&resource.contactor!=''" ng-click="goRelResource(resource)">
  92. <i class="connectP"></i><span ng-bind="resource.contactor" ng-class="{'relative_color':resource.resourceid!=undefined}"></span>
  93. </h6>
  94. <h6 ng-if="(type=='1'||type=='6'||type=='7')&&resource.contactor!=undefined&&resource.contactor!=''"><i class="connectP"></i><span ng-bind="resource.contactor"></span></h6>
  95. <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>
  96. <h6 ng-if="resource.email!=undefined&&resource.email!=''"><i class="mailM"></i><span ng-bind="resource.email"></span></h6>
  97. <h6 ng-if="(type=='7'||type=='6')&&resource.address!=undefined&&resource.address!=''"><i class="address"></i><span ng-bind="resource.address"></span></h6>
  98. <h6 ng-if="type=='7'&&resource.url!=undefined&&resource.url!=''"><i class="website"></i><span ng-bind="resource.url"></span></h6>
  99. </div>
  100. <!-- 资源详细模块-->
  101. <ul class="new_card_ul">
  102. <li ng-show="resource.ifhasexpertlist==1&&type=='7'&&signuplist.length>0">
  103. <span>人员</span>
  104. <em ng-bind="signuplist.length+'位'" style="right: 0;"></em>
  105. <!-- <i class="upCardArrowEm"></i>-->
  106. <div style="padding-left: 3%;border: none;">
  107. <a class="people_img" ng-repeat="signup in signuplist track by $index" ng-if="$index<tttindex" ng-click="goPersonResource(signup.map)">
  108. <img ng-src="{{imgUrl+signup.photo}}" onerror="javascript:this.src='./img/admin_picter.jpg';"/>
  109. <small ng-bind="signup.name"></small>
  110. </a>
  111. </div>
  112. <button type="button" class="people_button" ng-if="signuplist.length>5" ng-click="showMoreSignup()">查看更多</button>
  113. </li>
  114. </ul>
  115. <ul class="new_card_ul">
  116. <li ng-show="type=='8'&&researchfindinglist.length>0">
  117. <span>成果</span>
  118. <em ng-bind="researchfindinglist.length+'个'"></em>
  119. <i ng-click="openCard7()" class="openCard7"></i>
  120. <div style="padding-left: 0;border: none;" class="openCardDiv7">
  121. <div class="newCard_li_p" ng-repeat="research in researchfindinglist track by $index" ng-click="goRelResource(research)">
  122. <span ng-bind="research.researchfindingname" ng-class="{'relative_color':research.resourceid!=undefined}"></span>
  123. <!--<p ng-bind="research.researchdetail"></p>-->
  124. </div>
  125. </div>
  126. </li>
  127. <li ng-show="resource.ifhasresearchfinding==1&&type=='7'&&technicalinfolist.length>0">
  128. <span>成果</span>
  129. <em ng-bind="technicalinfolist.length+'个'"></em>
  130. <i ng-click="openCard7()" class="openCard7"></i>
  131. <div style="padding-left: 0;border: none;" class="openCardDiv7">
  132. <div class="newCard_li_p" ng-repeat="research in technicalinfolist track by $index" ng-click="goPersonResource(research.map)">
  133. <span ng-bind="research.projectName" ng-class="{'relative_color':research.resourceid!=undefined}"></span>
  134. <!--<p ng-bind="research.researchdetail"></p>-->
  135. </div>
  136. </div>
  137. </li>
  138. <li ng-show="(type!='1'&&type!='7')&&intprolist.length>0">
  139. <span>专利</span>
  140. <em ng-bind="intprolist.length+'个'"></em>
  141. <i ng-click="openCard1()" class="openCard1"></i>
  142. <div style="padding-left: 0;border: none;" class="openCardDiv1">
  143. <div ng-repeat="intpro in intprolist track by $index">
  144. <h5 ng-bind="intpro.intellectualpropertyname"></h5>
  145. <h6>
  146. <b>申请号/专利号:</b>
  147. <small ng-bind="intpro.applicationnumber"></small>
  148. </h6>
  149. <h6>
  150. <b>主要完成人:</b>
  151. <a ng-bind="intpro.applyperson"></a>
  152. </h6>
  153. <h6 ng-if="intpro.applydate!=undefined&&intpro.applydate!=''">
  154. <b>申请日期:</b>
  155. <small ng-bind="intpro.applydate"></small>
  156. </h6>
  157. <h6 ng-if="intpro.licensedate!=undefined&&intpro.licensedate!=''">
  158. <b>授权日期:</b>
  159. <small>{{intpro.licensedate==undefined?'暂无':intpro.licensedate}}</small>
  160. </h6>
  161. </div>
  162. </div>
  163. </li>
  164. <li ng-show="resource.ifhasintellectualproperty==1&&type=='7'&&intellectualpropertylist.length>0">
  165. <span>专利</span>
  166. <em ng-bind="intellectualpropertylist.length+'个'"></em>
  167. <i ng-click="openCard1()" class="openCard1"></i>
  168. <div style="padding-left: 0;border: none;" class="openCardDiv1">
  169. <div ng-repeat="intpro in intellectualpropertylist track by $index">
  170. <h5 ng-bind="intpro.intellectualpropertyname"></h5>
  171. <h6>
  172. <b>申请号/专利号:</b>
  173. <small ng-bind="intpro.applicationnumber"></small>
  174. </h6>
  175. <h6>
  176. <b>主要完成人:</b>
  177. <a ng-bind="intpro.applyperson"></a>
  178. </h6>
  179. <h6 ng-if="intpro.applydate!=undefined&&intpro.applydate!=''">
  180. <b>申请日期:</b>
  181. <small ng-bind="intpro.applydate"></small>
  182. </h6>
  183. <h6 ng-if="intpro.licensedate!=undefined&&intpro.licensedate!=''">
  184. <b>授权日期:</b>
  185. <small>{{intpro.licensedate==undefined?'暂无':intpro.licensedate}}</small>
  186. </h6>
  187. </div>
  188. </div>
  189. </li>
  190. <li ng-show="type=='6'&&productlist.length>0">
  191. <span>产品</span>
  192. <em ng-bind="productlist.length+'个'"></em>
  193. <i ng-click="openCard2()" class="openCard2"></i>
  194. <div style="padding-left: 0;border: none;" class="openCardDiv2">
  195. <div class="newCard_li_p" ng-repeat="product in productlist track by $index">
  196. <span ng-bind="product.productname"></span>
  197. <p ng-bind="product.productdescription"></p>
  198. </div>
  199. </div>
  200. </li>
  201. <li ng-show="type=='6'&&techrequirementlist.length>0">
  202. <span>需求</span>
  203. <em ng-bind="techrequirementlist.length+'个'"></em>
  204. <i ng-click="openCard6()" class="openCard6"></i>
  205. <div style="padding-left: 0;border: none;" class="openCardDiv6">
  206. <div class="newCard_li_p" ng-repeat="tecreq in techrequirementlist track by $index" ng-click="goRelResource(tecreq)">
  207. <span ng-bind="tecreq.techrequirementname" ng-class="{'relative_color':tecreq.resourceid!=undefined}"></span>
  208. <!--<p ng-bind="tecreq.techrequirementdetail"></p>-->
  209. </div>
  210. </div>
  211. </li>
  212. <li ng-show="type=='6'&&iurlist2.length>0">
  213. <span>科研项目</span>
  214. <em ng-bind="iurlist2.length+'个'"></em>
  215. <i ng-click="openCard4()" class="openCard4"></i>
  216. <div style="padding-left: 0;border: none;" class="openCardDiv4" ng-repeat="iur in iurlist2 track by $index">
  217. <div class="newCard_li_p">
  218. <span ng-bind="iur.productyear"></span>
  219. <p ng-bind="iur.productname"></p>
  220. </div>
  221. </div>
  222. </li>
  223. <li ng-show="type=='6'&&iurlist1.length>0">
  224. <span>产学研经历</span>
  225. <em ng-bind="iurlist1.length+'个'"></em>
  226. <i ng-click="openCard3()" class="openCard3"></i>
  227. <div style="padding-left: 0;border: none;" class="openCardDiv3" ng-repeat="iur in iurlist1 track by $index">
  228. <div class="newCard_li_p">
  229. <span ng-bind="iur.cooperateschool"></span>
  230. <p ng-bind="iur.cooperatedetail"></p>
  231. </div>
  232. </div>
  233. </li>
  234. <li ng-show="resource.ifhasspecialtylist==1&&type=='7'&&specialtylist.length>0">
  235. <span>特色专业</span>
  236. <em ng-bind="specialtylist.length+'个'"></em>
  237. <i ng-click="openCard8()" class="openCard8"></i>
  238. <div style="padding-left: 0;border: none;" class="openCardDiv8" ng-repeat="specialty in specialtylist track by $index">
  239. <div class="newCard_li_p">
  240. <span ng-bind="specialty.specialtyname"></span>
  241. <p ng-bind="specialty.itemkey"></p>
  242. </div>
  243. </div>
  244. </li>
  245. <li ng-show="resource.ifhaspaperlist==1&&type=='7'&&paperlist.length>0">
  246. <span>论文列表</span>
  247. <em ng-bind="paperlist.length+'个'"></em>
  248. <i ng-click="openCard9()" class="openCard9"></i>
  249. <div style="padding-left: 0;border: none;" class="openCardDiv9" ng-repeat="paper in paperlist track by $index">
  250. <div class="newCard_li_p">
  251. <span ng-bind="paper.title"></span>
  252. <p ng-bind="paper.itemkey"></p>
  253. </div>
  254. </div>
  255. </li>
  256. <li ng-show="resource.ifhascoopenterpriselist==1&&type=='7'&&coopenterpriselist.length>0">
  257. <span>已合作企业</span>
  258. <em ng-bind="coopenterpriselist.length+'个'"></em>
  259. <i ng-click="openCard10()" class="openCard10"></i>
  260. <div style="padding-left: 0;border: none;" class="openCardDiv10" ng-repeat="coopenterprise in coopenterpriselist track by $index" ng-click="goPersonResource(coopenterprise.map)">
  261. <div class="newCard_li_p">
  262. <a class="photo_img">
  263. <img ng-src="{{coopenterprise.logo}}" onerror="javascript:this.src='./img/admin_picter.jpg';"/>
  264. </a>
  265. <span ng-bind="coopenterprise.cooporgname"></span>
  266. </div>
  267. </div>
  268. </li>
  269. <li ng-show="resource.ifhasintentionalerpriselist==1&&type=='7'&&intentionalerpriselist.length>0">
  270. <span>意向企业</span>
  271. <em ng-bind="intentionalerpriselist.length+'个'"></em>
  272. <i ng-click="openCard11()" class="openCard11"></i>
  273. <div style="padding-left: 0;border: none;" class="openCardDiv11" ng-repeat="intentionalerprise in intentionalerpriselist track by $index" ng-click="goPersonResource(intentionalerprise.map)">
  274. <div class="newCard_li_p">
  275. <a class="photo_img">
  276. <img ng-src="{{intentionalerprise.logo}}" onerror="javascript:this.src='./img/admin_picter.jpg';"/>
  277. </a>
  278. <span ng-bind="intentionalerprise.intorgname"></span>
  279. </div>
  280. </div>
  281. </li>
  282. <li ng-show="resource.ifhasunivlablist==1&&type=='7'&&univlablist.length>0">
  283. <span>实验室</span>
  284. <em ng-bind="univlablist.length+'个'"></em>
  285. <i ng-click="openCard12()" class="openCard12"></i>
  286. <div style="padding-left: 0;border: none;" class="openCardDiv12" ng-repeat="univlab in univlablist track by $index">
  287. <div class="newCard_li_p">
  288. <span ng-bind="univlab.lab_name"></span>
  289. <p ng-bind="univlab.level"></p>
  290. </div>
  291. </div>
  292. </li>
  293. <li ng-show="resource.ifhasiur1list==1&&type=='7'&&iurlist3.length>0">
  294. <span>产学研中心</span>
  295. <em ng-bind="iurlist3.length+'个'"></em>
  296. <i ng-click="openCard13()" class="openCard13"></i>
  297. <div style="padding-left: 0;border: none;" class="openCardDiv13" ng-repeat="iur3 in iurlist3 track by $index">
  298. <div class="newCard_li_p">
  299. <span ng-bind="iur3.iurname"></span>
  300. <p ng-bind="iur3.domain"></p>
  301. </div>
  302. </div>
  303. </li>
  304. <li ng-show="resource.ifhascalendar==1&&type=='6'&&calendarlist.length>0">
  305. <span>历年申报项目</span>
  306. <em ng-bind="calendarlist.length+'个'"></em>
  307. <i ng-click="openCard14()" class="openCard14"></i>
  308. <div style="padding-left: 0;border: none;" class="openCardDiv14">
  309. <div ng-repeat="calendar in calendarlist track by $index">
  310. <h6>
  311. <b>项目年份:</b>
  312. <small ng-bind="calendar.year"></small>
  313. </h6>
  314. <h6>
  315. <b>项目名称:</b>
  316. <a ng-bind="calendar.name"></a>
  317. </h6>
  318. <h6 ng-if="calendar.money!=undefined&&calendar.money!=0">
  319. <b>项目金额:</b>
  320. <small ng-bind="calendar.money"></small>
  321. <b>(万元)</b>
  322. </h6>
  323. <h6 ng-if="calendar.description!=undefined&&calendar.description!=''">
  324. <b>项目简介:</b>
  325. <small ng-bind="calendar.description"></small>
  326. </h6>
  327. </div>
  328. </div>
  329. </li>
  330. </ul>
  331. <!--附件-->
  332. <ion-scroll scroll="true" has-bouncing="true" direction="x" scrollbar-x="false" delegate-handle="scrollimage" class="photo_div" ng-show="resource.ifhasdoclist==1&&orglibrarydoclist.length>0" style="overflow-x:hidden;overflow-y:hidden;">
  333. <div ng-repeat="doc in orglibrarydoclist track by $index">
  334. <a class="photo_img">
  335. <img ng-if="doc.doctype==1" ng-src="{{imgUrl+doc.photo_name}}" width="100%" height="85" ng-click="shouBigImage($index)">
  336. <img ng-if="doc.doctype!=1" src="./img/wordicon.png"/>
  337. <span ng-bind="doc.title"></span>
  338. </a>
  339. </div>
  340. </ion-scroll>
  341. <!--点赞区域-->
  342. <p class="detail_connectLikes" ng-if="resource.ifhasfavour==1&&!resource.Like&&resource.favourcount!=undefined" style="margin-top: 20px;" ng-click="dianZan()"><span><i></i>{{resource.favourcount}}</span></p>
  343. <p class="detail_connectLikes resource_zan" ng-if="resource.ifhasfavour==1&&resource.Like&&resource.favourcount!=undefined" style="margin-top: 20px;" ng-click="dianZan()"><span><i></i>{{resource.favourcount}}</span></p>
  344. <!--相关资源-->
  345. <h6 style="position: relative;" ng-if="resource.ifhasmatch==1&&(relativerecord!=undefined||relativelist.length>0)">
  346. <span class="resource_relative">相关资源:</span>
  347. <span class="resource_relative_right" ng-click="getRelativeResource()"><i class="synUpload_blue"></i>换一换</span>
  348. </h6>
  349. <a class="item item-thumbnail-right item-text-wrap push_home_a resourceContent" ng-if="resource.ifhasmatch==1" style="min-height: 110px;width: 95%;" ng-repeat="relative in relativelist track by $index">
  350. <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;">
  351. <div class="resourceList" ng-click="goRelativeResource(relative)">
  352. <h3 class="pus_h1 resourceH3 new_push_h1" style="height: 39px;line-height: 30px;" ng-bind="relative.title"></h3>
  353. <span class="ownerResource">发布者:<small ng-bind="relative.creatorname"></small></span>
  354. <p class="lab_sub" style="width: 100%;float:left;top:0px;">
  355. <span class="lab_one"><i></i><small ng-bind="relative.commcount"></small></span>
  356. <span class="lab_two"><i></i><small ng-bind="relative.visitcount"></small></span>
  357. <span class="lab_three"><span class="favourate"><i></i><small ng-bind="relative.favourcount"></small></span></span>
  358. <span class="lab_five" ng-bind="relative.publishTime"></span>
  359. </p>
  360. </div>
  361. <button class="resource_detail_button" ng-click="goResourceMatch(relative)" ng-if="relative.type == '1'">匹配更多需求>></button>
  362. <button class="resource_detail_button" ng-click="goResourceMatch(relative)" ng-if="relative.type == '2'">匹配更多成果>></button>
  363. <button class="resource_detail_button" ng-click="goResourceMatch(relative)" ng-if="relative.type == '6'">匹配更多企业>></button>
  364. <button class="resource_detail_button" ng-click="goResourceMatch(relative)" ng-if="relative.type == '8'">匹配更多人才>></button>
  365. </a>
  366. <a class="item item-thumbnail-right item-text-wrap push_home_a resourceContent" style="min-height: 110px;" ng-if="resource.ifhasmatch==1&&relativerecord!=undefined">
  367. <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;">
  368. <div class="resourceList" ng-click="goRelativeResource(relativerecord)">
  369. <h3 class="pus_h1 resourceH3 new_push_h1" style="height: 39px;line-height: 30px;" ng-bind="relativerecord.title"></h3>
  370. <span class="ownerResource">发布者:<small ng-bind="relativerecord.creatorname"></small></span>
  371. <p class="lab_sub" style="width: 100%;float:left;top:0px;">
  372. <span class="lab_one"><i></i><small ng-bind="relativerecord.commcount"></small></span>
  373. <span class="lab_two"><i></i><small ng-bind="relativerecord.visitcount"></small></span>
  374. <span class="lab_three"><span class="favourate"><i></i><small ng-bind="relativerecord.favourcount"></small></span></span>
  375. <span class="lab_five" ng-bind="relativerecord.conntime"><i></i><small></small></span>
  376. </p>
  377. </div>
  378. <button class="resource_detail_button" ng-click="goResourceMatch(relativerecord)">匹配更多记录>></button>
  379. </a>
  380. </div>
  381. <!--热门评论-->
  382. <span id="all_discuss" style="background-color: #fff;top: 15px;width: 92%;margin: 0 auto;" ng-if="resource.ifhascomm==1&&commentlist.length>0">
  383. <p style="font-size:14px;margin: 15px 0 15px;font-weight: 500;" ng-if="commentlist.length>0">热门评论</p>
  384. <a style="width: 100%;height:auto;display: block;overflow: hidden;" ng-repeat="comment in commentlist track by $index">
  385. <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})"/>
  386. <p class="content-node">{{comment.userName}}
  387. <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;">
  388. <b style="top:0px;left: -5px;">{{comment.favourcount}}</b>
  389. <span style=" width: 49px;position:absolute; right:34px; top:2px; color:transparent; text-align: left; height: 20px;line-height: 20px;">+1</span>
  390. </span>
  391. <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;">
  392. <b style="top:0px;left: -5px;">{{comment.favourcount}}</b>
  393. <span style=" width: 49px;position:absolute; right:34px; top:2px; color:transparent; text-align: left; height: 20px;line-height: 20px;">+1</span>
  394. </span>
  395. </p>
  396. <p class="content-node" style="margin: 12px 0;" ng-if="comment.commenttag!=undefined">
  397. <span class="discussCard {{comment.commenttag.color+'_bg'}}" ng-bind="comment.commenttag.name">合同签订</span>
  398. </p>
  399. <p class="comment-content" style="padding-left: 35px;width: 94%;text-align: justify;" ng-click="goCommentDetail(comment)" ng-bind="comment.content"></p>
  400. <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%;">
  401. <span class="photo_img" ng-repeat="image in comment.pic track by $index">
  402. <img src="{{imgUrl+image.photo_name}}" style="width:100%;height:85px;" class="back-img" ng-click="shouBigImage(comment.pic,$index)"/>
  403. </span>
  404. </ion-scroll>
  405. <span class="review_data" ng-click="goCommentDetail(comment)">{{comment.createTime}}<span>{{comment.replyNumber==0?'':comment.replyNumber+'条'}}回复&gt;</span></span>
  406. <span ng-click="delectToolDis(comment.id)" class="delectToolDis" ng-if="comment.userId == userid||roler.isedit">删除</span>
  407. </a>
  408. <div ng-if="MoreComment" style="width: 100%;height:30px;line-height: 30px;position: relative;text-align: center;font-size: 12px;margin-bottom: 25px;">
  409. <span style="color:#2095ee; height: 100%;float: left;width: 110px;position:absolute;left: 35%;" ng-click="goCommentList()">继续查看更多评论></span>
  410. </div>
  411. </span>
  412. <!--暂无评论-->
  413. <div style="width: 100%;height:120px;position: relative;top:8px;" ng-if="resource.ifhascomm==1&&commentlist.length==0" ng-click="hadSoft()">`
  414. <i id="empty_discuss"></i>
  415. <p class="empty_p">暂无评论,点击抢沙发</p>
  416. </div>
  417. <!--没有权限去申请-->
  418. <div ng-if="resource.islock==1&&viplevel==1" class="null_zan null_authority">
  419. <span>没有权限</span>
  420. <a class="null_zan_a" ng-click="goResourceApply()">去申请</a>
  421. </div>
  422. <br>
  423. <br>
  424. <br>
  425. <br>
  426. <br>
  427. </ion-content>
  428. <!--底部标签区域-->
  429. <div class="comment_bottom" ng-if="showComment">
  430. <label class="item-input-wrapper" ng-if="resource.ifhascomm==1">
  431. <input type="text" placeholder="写评论..." class="write_p" id="write_see" ng-focus="focus_write()">
  432. </label>
  433. <div>
  434. <button class="pus_button" ng-click="goCommentList()" ng-if="resource.ifhascomm==1">
  435. <span class="pin_lun">
  436. <!--<span ng-if="commentlist.length>0" ng-class="{'red-number':commentlist.length>0}" >{{commentlist.length}}</span>-->
  437. </span>
  438. </button>
  439. <span ng-if="resource.ifhasenshrine==1" id="five_xin" ng-class="{'five_xin':resource.Enshrine}" ng-click="collectResource()"></span>
  440. <span ng-if="resource.ifhasshare==1" id="z_fa" ng-click="openShare()"></span>
  441. </div>
  442. </div>
  443. <!--简单回复区域-->
  444. <ion-footer-bar ng-if="!showComment" class="comment_div" keyboard-attach style="height: 170px;">
  445. <textarea autofocus style="top:0;" class="my_comment" name="comment" placeholder="优质评论将会被优先展示" required ng-model="comment.content" ng-change="commentValue()"></textarea>
  446. <div id="commentform">
  447. <button class="comment_phone" ng-click="releaseComment()"></button>
  448. <button class="comment_submit" ng-style="commentNotnull" ng-click="publishComment();" ng-disabled="comment.content==undefined||comment.content.length==0;">发表</button>
  449. </div>
  450. </ion-footer-bar>
  451. <div ng-if="!showComment" class="comment_background" ng-click="hiddenComment()"></div>
  452. <!--图片放大区域-->
  453. <div id="rightDisplay" ng-show="bigImage" class="popover-backdrop" >
  454. <ion-slide-box auto-play="false" does-continue="false" show-pager="true" delegate-handle="slide_detail">
  455. <ion-slide ng-repeat="pic in commentpiclist track by $index" style="background-color:#000;">
  456. <div class="viewOldImg">
  457. <span ng-if="!pic.loadsource" ng-click="viewOldImg($index);">
  458. 查看原图
  459. <em ng-bind="'('+pic.source_size+')'"></em>
  460. </span>
  461. <span ng-if="pic.loadsource">
  462. 已完成
  463. </span>
  464. </div>
  465. <div class="loadImg" ng-click="loadImg(pic);"></div>
  466. <div class="pinch-zoom" style="width: 100%;height:100%;">
  467. <img class="img-responsive bigimage" ng-src="{{imgUrl+pic.original_name}}" ng-click="hideBigImage()"/>
  468. </div>
  469. </ion-slide>
  470. </ion-slide-box>
  471. </div>
  472. <!--分享区域-->
  473. <div class="detail_ionicpop" ng-if="shareflg">
  474. <div class="closeShare" ng-click="closeShare()"></div>
  475. <div class="ionicPop_div">
  476. <ion-scroll direction="x" scrollbar-x="false" class="p_Chanel">
  477. <span class="share_path">分享到:</span>
  478. <a ng-click="shareMessage(3)"><i class="share_first"></i><span>微信朋友圈</span></a>
  479. <a ng-click="shareMessage(2)"><i class="share_second"></i><span>微信好友</span></a>
  480. <a ng-click="shareMessage(0)"><i class="share_third"></i><span>手机QQ</span></a>
  481. <a ng-click="shareMessage(1)"><i class="share_four"></i><span>QQ空间</span></a>
  482. </ion-scroll>
  483. <div class="cancelPop" ng-click="closeShare()">取消</div>
  484. </div>
  485. </div>
  486. <!--关联跳转列表-->
  487. <script id="templates/moreresourcelist.html" type="text/ng-template">
  488. <div class="modal">
  489. <ion-content class="category-content" style="width:100%;margin: 0 auto;bottom: 0;">
  490. <div class="bar bar-header">
  491. <h4 class="self_release">
  492. 关联信息
  493. </h4>
  494. <span class="toolReleaseButton toolReleaseButton_blue" ng-click="hideModel()">取消</span>
  495. <!--<span class="icon ion-ios-close-empty model_hide" ng-click="closeModel()"></span>-->
  496. </div>
  497. <a class="item item-thumbnail-right item-text-wrap push_home_a resourceContent" ng-repeat="relative in moreresourcelist track by $index" style="min-height:96px !important;height: 96px;" ng-click="goRelativeResource(relative)">
  498. <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;">
  499. <div class="resourceList">
  500. <h3 class="pus_h1 resourceH3 new_push_h1" style="height: 39px;line-height: 30px;" ng-if="relative.type!=81">{{relative.title}}</h3>
  501. <h3 class="pus_h1 resourceH3 new_push_h1" style="height: 39px;line-height: 30px;" ng-if="relative.type==81">
  502. <span class="new_folder_span">{{relative.title}}</span>
  503. <b class="addlist_subtext addlist_subtext_on new_folder_flag" ng-if="relative.flag==1"></b>
  504. </h3>
  505. <span class="ownerResource">
  506. 发布者:<small>{{relative.creatorname}}</small>
  507. 所在库:<small>{{relative.classification}}</small>
  508. </span>
  509. <p class="lab_sub" style="width: 100%;float:left;top:0px;">
  510. <span class="lab_one"><i></i><small>{{relative.commcount}}</small></span>
  511. <span class="lab_two"><i></i><small>{{relative.visitcount}}</small></span>
  512. <span class="lab_three"><span class="favourate"><i></i><small>{{relative.favourcount}}</small></span></span>
  513. <span class="lab_five" ng-if="relative.publishTime!=undefined">{{relative.publishTime}}</span>
  514. <span class="lab_five" ng-if="relative.conntime!=undefined">{{relative.conntime}}</span>
  515. </p>
  516. </div>
  517. </a>
  518. </ion-content>
  519. </div>
  520. </script>
  521. </ion-view>