project_launch_2.html 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781
  1. <!--主体内容-->
  2. <style>
  3. textarea{ resize:none;}
  4. body{
  5. font-family: "Microsoft Yahei", "微软雅黑";
  6. box-sizing: border-box;
  7. }
  8. .clearfix {
  9. clear: both;
  10. }
  11. .section{
  12. margin: 0 auto;
  13. width: 1040px;
  14. min-height: 1845px;
  15. background: #fff;
  16. padding: 30px 20px 0 20px;
  17. overflow: hidden;
  18. text-align: center;
  19. border: 1px solid #dcdcdc;
  20. }
  21. .instruction{
  22. padding-bottom: 20px;
  23. text-align: left;
  24. border-bottom: 2px solid #ef613b;
  25. }
  26. .instruction span:first-child{
  27. font-size: 18px;
  28. color: #1e1e1e;
  29. }
  30. .instruction span:last-child{
  31. font-size: 14px;
  32. color: #797979;
  33. }
  34. .choose .chooseNav{
  35. margin: 30px 0 36px 0;
  36. }
  37. .choose .chooseNav span{
  38. margin-right: -10px;
  39. display: inline-block;
  40. height: 30px;
  41. width: 150px;
  42. line-height: 30px;
  43. font-size: 14px;
  44. color: #fff;
  45. }
  46. .choose .chooseNav span.step1{
  47. background: url(static/images/step01.png)no-repeat center center;
  48. }
  49. .choose .chooseNav span.step2{
  50. margin-right: -13px;
  51. background: url(static/images/step02-1.png)no-repeat center center;
  52. }
  53. .choose .chooseNav span.step2.active{
  54. background: url(static/images/step02-2.png)no-repeat center center;
  55. }
  56. .choose .chooseNav span.step3{
  57. background: url(static/images/step03-1.png)no-repeat center center;
  58. }
  59. .choose .chooseNav span.step3.active{
  60. background: url(static/images/step03-2.png)no-repeat center center;
  61. }
  62. .choose .chooseDetail .detail .message{
  63. position: relative;
  64. margin: 0 auto;
  65. margin-bottom: 30px;
  66. width: 980px;
  67. height: 46px;
  68. line-height: 46px;
  69. text-align: left;
  70. background: #eeeeee;
  71. }
  72. .choose .chooseDetail .detail .message span{
  73. margin-left: 25px;
  74. font-size: 18px;
  75. font-weight: bold;
  76. color: #505050;
  77. }
  78. .choose .chooseDetail .detail .message span:before{
  79. content: '';
  80. position: absolute;
  81. top: 0;
  82. left: 0;
  83. width: 10px;
  84. height: 46px;
  85. background: #ff6000;
  86. }
  87. .form .form-group{
  88. margin-bottom: 22px;
  89. line-height: 34px;
  90. }
  91. .form .form-group label{
  92. margin-right: 60px;
  93. width: 80px;
  94. font-size: 16px;
  95. font-weight: normal;
  96. color: #505050;
  97. }
  98. .form .form-group input[type='text']{
  99. padding-left: 5px;
  100. width: 325px;
  101. height: 34px;
  102. border-radius: 0;
  103. }
  104. .form .form-group span.help-txt{
  105. margin-left: 10px;
  106. font-size: 12px;
  107. color: #969696;
  108. }
  109. .form .form-group div.sort{
  110. width: 800px;
  111. text-align: left;
  112. }
  113. .form .form-group div.sort span{
  114. margin: 0 20px 20px 0;
  115. padding: 0 13px;
  116. display: inline-block;
  117. height: 34px;
  118. line-height: 34px;
  119. font-size: 16px;
  120. color: #313131;
  121. border: 2px solid #dcdcdc;
  122. cursor: pointer;
  123. }
  124. .form .form-group div.sort span.active,.form .form-group div.sort span:hover{
  125. border: 2px solid #ed6216;
  126. }
  127. .form .form-group select{
  128. padding-left: 5px;
  129. width: 130px;
  130. height: 34px;
  131. cursor: pointer;
  132. }
  133. .form .form-groups .fl span{
  134. margin: 0 15px;
  135. font-size: 14px;
  136. color: #313131;
  137. }
  138. .form .form-group textarea{
  139. padding-left: 5px;
  140. width: 680px;
  141. height: 130px;
  142. }
  143. .form .form-group span.txt{
  144. margin-top: 10px;
  145. font-size: 12px;
  146. color: #979797;
  147. display: inline-block;
  148. text-align: left;
  149. width: 670px;
  150. line-height: 20px;
  151. }
  152. .form .form-group input.valid{
  153. padding-left: 5px;
  154. width: 130px;
  155. height: 34px;
  156. }
  157. .form .form-group div.valida{
  158. text-align: left;
  159. padding-left: 140px;
  160. }
  161. .form .form-group div.valida span{
  162. display: inline-block;
  163. width: 120px;
  164. height: 40px;
  165. }
  166. .form .form-group div.valida a{
  167. margin-left: 5px;
  168. font-size: 12px;
  169. color: #2a5bfb;
  170. }
  171. .form .text-left{
  172. margin-left: 140px;
  173. }
  174. .form .text-left .agree{
  175. margin-top: -7px;
  176. }
  177. .form .text-left .agree span{
  178. margin: 0 10px;
  179. font-size: 12px;
  180. color: #777;
  181. }
  182. .form .text-left .agree a{
  183. font-size: 12px;
  184. color: #2a5bfb;
  185. }
  186. .form .text-left a.btn{
  187. margin-bottom: 60px;
  188. display: inline-block;
  189. width: 160px;
  190. height: 34px;
  191. font-size: 16px;
  192. color: #fff;
  193. text-align: center;
  194. border-radius: 3px;
  195. background: #ff7624;
  196. border: none;
  197. outline: none;
  198. }
  199. .form .text-left a.btn:hover{
  200. background: #be3b1b;
  201. }
  202. /*项目详情*/
  203. .detail .list-item{
  204. margin-bottom: 40px;
  205. }
  206. .detail .list-item:first-child{
  207. margin-top: 60px;
  208. }
  209. .detail .list-item span.fl{
  210. padding-left: 20px;
  211. font-size: 16px;
  212. color: #515151;
  213. }
  214. .detail .list-item div.fl{
  215. margin-left: 65px;
  216. text-align: left;
  217. width: 770px;
  218. }
  219. .detail .list-item div.fl p{
  220. font-size: 16px;
  221. color: #505050;
  222. }
  223. .detail .list-item div.fl .computer{
  224. position: relative;
  225. margin-top: 22px;
  226. }
  227. .detail .list-item div.fl .computer span{
  228. display: inline-block ;
  229. width: 80px;
  230. font-size: 16px;
  231. color: #505050;
  232. }
  233. .detail .list-item div.fl .computer button {
  234. margin: 0 10px 0 35px;
  235. width: 110px;
  236. height: 34px;
  237. line-height: 34px;
  238. font-size: 16px;
  239. color: #505050;
  240. border: 1px solid #dcdcdc;
  241. border-radius: 3px;
  242. background: -webkit-linear-gradient(top, #fdfdfd 0%,#dadada 100%);
  243. background: -o-linear-gradient(top, #fdfdfd 0%,#dadada 100%);
  244. background: -ms-linear-gradient(top, #fdfdfd 0%,#dadada 100%);
  245. background: linear-gradient(to bottom, #fdfdfd 0%,#dadada 100%);
  246. }
  247. .detail .list-item div.fl .computer input[type='file']{
  248. position: absolute;
  249. top: 6px;
  250. left: 110px;
  251. width: 110px;
  252. height: 34px;
  253. opacity: 0;
  254. outline: none;
  255. }
  256. .detail .list-item div.fl .computer em{
  257. font-style: normal;
  258. font-size: 12px;
  259. color: #969696;
  260. }
  261. .detail .list-item div.fl .showImg{
  262. margin: 16px 0 0 120px;
  263. width: 180px;
  264. height: 180px;
  265. }
  266. .detail .list-item div.fl .showImg img{
  267. width: 180px;
  268. height: 180px;
  269. }
  270. .detail .list-item div.fl .showImg .hover-show{
  271. position: absolute;
  272. bottom: 0;
  273. width: 180px;
  274. height: 180px;
  275. line-height: 32px;
  276. background: rgba(0,0,0,.5);
  277. display: none;
  278. }
  279. .detail .list-item div.fl .showImg:hover .hover-show{
  280. display: block;
  281. /*height: 180px;*/
  282. /*transition: height .5s ease-out;*/
  283. }
  284. .detail .list-item div.fl .showImg .hover-show .fa:before{
  285. font-size: 18px;
  286. color: #fff;
  287. }
  288. .detail .list-item div.fl .showImg .hover-show .fa-trash:before{
  289. margin-right: 5px;
  290. position: absolute;
  291. top: 5px;
  292. right: 5px;
  293. z-index: 10000;
  294. cursor: pointer;
  295. }
  296. .detail .list-item div.fl .showImg .hover-show a{
  297. position: absolute;
  298. top: 74px;
  299. left: 70px;
  300. font-size: 16px;
  301. color: #fff;
  302. }
  303. .detail .list-item div.fl .phone{
  304. position: relative;
  305. }
  306. .detail .list-item div.fl .phone select{
  307. margin: 0 10px 0 20px;
  308. width: 180px;
  309. height: 34px;
  310. cursor: pointer;
  311. }
  312. .detail .list-item div.fl .phone em{
  313. position: absolute;
  314. top: 0;
  315. right: 55px;
  316. display: inline-block;
  317. width: 430px;
  318. }
  319. .detail .list-item div.fl .upload{
  320. margin-top: 10px;
  321. position: relative;
  322. background: url(static/images/plus.png) no-repeat center center;
  323. margin-left: 104px;
  324. width: 180px;
  325. height: 180px;
  326. border: 1px dashed #dcdcdc;
  327. }
  328. .detail .list-item div.fl .upload input[type='file']{
  329. position: absolute ;
  330. top: 0;
  331. left: 0;
  332. width: 100%;
  333. height: 100%;
  334. outline: none;
  335. opacity: 0;
  336. cursor: pointer;
  337. }
  338. .detail .list-item div.fl .uploadImg button{
  339. margin-left: -15px;
  340. }
  341. .detail .list-item div.fl .uploadImg input[type='file']{
  342. top: 0;
  343. left: -14px;
  344. opacity: 0;
  345. outline: none;
  346. }
  347. .detail .list-item div.fl span.intro{
  348. font-size: 12px;
  349. color: #979797;
  350. }
  351. .detail .list-item div.fl .item{
  352. margin-top: 22px;
  353. }
  354. .detail .list-item div.fl .item span{
  355. margin: 5px 35px 0 0;
  356. padding-left: 0;
  357. width: 70px;
  358. text-align:left;
  359. font-size: 16px;
  360. color: #515151;
  361. }
  362. .detail .list-item div.fl .item input[type='text']{
  363. padding-left: 15px;
  364. width: 325px;
  365. height: 34px;
  366. font-size: 16px;
  367. color: #969696;
  368. border-radius: 0;
  369. }
  370. .detail .list-item div.fl .items{
  371. position: relative;
  372. }
  373. .detail .list-item div.fl .items{
  374. position: relative;
  375. }
  376. .detail .list-item div.fl .items .button{
  377. position: relative;
  378. margin-left: -40px;
  379. width: 580px;
  380. }
  381. .detail .list-item div.fl .items .button button{
  382. margin: 0 10px 0 40px;
  383. width: 110px;
  384. height: 34px;
  385. line-height: 34px;
  386. font-size: 16px;
  387. color: #505050;
  388. border: 1px solid #dcdcdc;
  389. border-radius: 3px;
  390. background: -webkit-linear-gradient(top, #fdfdfd 0%,#dadada 100%);
  391. background: -o-linear-gradient(top, #fdfdfd 0%,#dadada 100%);
  392. background: -ms-linear-gradient(top, #fdfdfd 0%,#dadada 100%);
  393. background: linear-gradient(to bottom, #fdfdfd 0%,#dadada 100%);
  394. }
  395. .detail .list-item div.fl .items .button input[type='file']{
  396. padding-left: 15px;
  397. position: absolute;
  398. top: 7px;
  399. left: 40px;
  400. opacity: 0;
  401. width: 110px;
  402. outline: none;
  403. }
  404. .detail .list-item div.fl .item textarea{
  405. padding-left: 15px;
  406. width: 585px;
  407. height: 100px;
  408. font-size: 16px;
  409. color: #505050;
  410. }
  411. .detail .list-item .simple textarea{
  412. padding-left: 15px;
  413. width: 690px;
  414. height: 100px;
  415. font-size: 16px;
  416. color: #505050;
  417. }
  418. .detail .list-item .simple span{
  419. margin-top: 10px;
  420. font-size: 12px;
  421. color: #979797;
  422. }
  423. .detail .list-item .simple .note-editable ol,.detail .list-item .simple .note-editable ul{
  424. padding-left: 20px;
  425. }
  426. .detail .list-item .introduce{
  427. width: 780px;
  428. border: 1px solid #dcdcdc;
  429. }
  430. .detail .list-item .introduce .intro-header{
  431. width: 100%;
  432. height: 54px;
  433. line-height: 54px;
  434. background: -webkit-linear-gradient(top, #fff 0%,#dadada 100%);
  435. background: -o-linear-gradient(top, #fff 0%,#dadada 100%);
  436. background: -ms-linear-gradient(top, #fff 0%,#dadada 100%);
  437. background: linear-gradient(to bottom, #fff 0%,#dadada 100%);
  438. }
  439. .detail .list-item .introduce .intro-header span{
  440. font-size: 16px;
  441. color: #323232;
  442. }
  443. .detail .list-item .introduce .intro-header span img{
  444. margin-left: 30px;
  445. }
  446. .detail .list-item .introduce .intro-header span em{
  447. margin-left: 8px;
  448. font-size: 16px;
  449. color: #323232;
  450. font-style: normal;
  451. }
  452. .detail .list-item .introduce .intro-body{
  453. padding: 23px 20px 30px 20px;
  454. }
  455. .detail .list-item .introduce .intro-body p{
  456. font-size: 18px;
  457. font-weight: bold ;
  458. color: #323232;
  459. }
  460. .detail .list-item .introduce .intro-body span{
  461. margin-top: 15px;
  462. font-size: 14px;
  463. line-height: 21px;
  464. color: #505050;
  465. }
  466. .detail .list-item div.submitButton{
  467. margin: 34px 0 37px 148px;
  468. overflow: hidden;
  469. width: 850px;
  470. }
  471. .detail .list-item .submitButton div{
  472. float: left;
  473. }
  474. .detail .list-item .submitButton div button:first-child{
  475. margin-right: 25px;
  476. width: 160px;
  477. height: 34px;
  478. line-height: 34px;
  479. font-size: 16px;
  480. color: #fff;
  481. background: #ff7624;
  482. border-radius: 3px;
  483. border: none;
  484. outline: none;
  485. }
  486. .detail .list-item .submitButton div button:first-child:hover{
  487. background: #be3b1b;
  488. }
  489. .detail .list-item .submitButton div button:last-child{
  490. margin-right: 347px;
  491. width: 110px;
  492. height: 34px;
  493. line-height: 34px;
  494. font-size: 16px;
  495. color: #ff7624;
  496. background: #fff;
  497. border: 1px solid #ff7624;
  498. border-radius: 3px;
  499. outline: none;
  500. }
  501. .detail .list-item .submitButton a{
  502. display: inline-block;
  503. width: 130px;
  504. height: 34px;
  505. line-height: 34px;
  506. font-size: 16px;
  507. color: #fff;
  508. text-align: center;
  509. background: #a0a0a0;
  510. border-radius: 3px;
  511. border: none;
  512. outline: none;
  513. }
  514. .detail .list-item .submitButton a:first-child{
  515. margin-right: 25px;
  516. width: 160px;
  517. background: #ff7624;
  518. }
  519. /*完成提交*/
  520. .detail .complete{
  521. margin: 60px auto 30px auto;
  522. text-align: center;
  523. }
  524. .detail .complete img{
  525. margin: -15px 20px 0 0;
  526. width: 45px;
  527. height: 45px;
  528. }
  529. .detail .complete span{
  530. font-size: 30px;
  531. font-weight: bold;
  532. color: #47b260;
  533. }
  534. .detail .txt-intro{
  535. margin-bottom: 34px;
  536. font-size: 12px;
  537. color: #969696;
  538. }
  539. .detail .look button{
  540. width: 140px;
  541. height: 34px;
  542. line-height: 34px;
  543. font-size: 16px;
  544. color: #fff;
  545. background: #ff7624;
  546. border-radius: 3px;
  547. border: none;
  548. outline: none;
  549. }
  550. .detail .look button:hover{
  551. background: #be3b1b;
  552. }
  553. .detail a.return{
  554. display: inherit;
  555. margin: 20px 0 60px 0;
  556. font-size: 16px;
  557. color: #1968f9;
  558. }
  559. </style>
  560. <!-- loading start -->
  561. <div class="loading in" ng-class="{'in': loading}"><i></i></div>
  562. <!-- loading end -->
  563. <div class="content-wrapper" style="min-height: 924px;; z-index: 50;">
  564. <!-- Main content -->
  565. <section class="content">
  566. <div class="section">
  567. <div class="instruction"><span>公益项目申请</span><span>(以下所有信息均为必填项)</span></div>
  568. <div class="choose">
  569. <div class="chooseNav">
  570. <span class="step1 active">1、基本信息</span>
  571. <span class="step2 active">2、项目详情</span>
  572. <span class="step3">3、完成提交</span>
  573. </div>
  574. <form name="detailForm">
  575. <div class="chooseDetail">
  576. <!--项目详情-->
  577. <div class="detail">
  578. <div class="list-item clearfix">
  579. <span class="fl">项目主图</span>
  580. <div class="fl">
  581. <p>(为了让您的项目在不同终端下均能正常展示,请分别上传PC端和手机端的主图)</p>
  582. <div class="computer">
  583. <span>PC端主图</span>
  584. <button type="button">上传图片</button>
  585. <input type="file" ng-multiple="false" id="pcImg" accept="image/*" onchange='angular.element(this).scope().fileChanged(this, 0)'>
  586. <em>(最能代表项目的焦点图,图片尺寸不小于500*280px,支持jpg,gif,png格式,不超过10MB)</em>
  587. <div ng-if="null != pcImgUrl" class="showImg">
  588. <img src="{{pcImgUrl}}">
  589. <span class="hover-show">
  590. <em class="delete" title="删除" ng-click="clearFile('pcImg')"><em class="fa fa-2x fa-trash"></em></em>
  591. <a ng-click="showImg('pcImg')" title="点击查看大图"><em class="fa fa-search" style="margin-right: 5px;"></em>查看</a>
  592. </span>
  593. </div>
  594. <span class="error" ng-show="submited && pcImgUrl == null && project.pcImg == null">*请上传PC端主图</span>
  595. </div>
  596. <div class="computer">
  597. <span>手机端主图</span>
  598. <button>上传图片</button>
  599. <input type="file" ng-multiple="false" id="mobileImg" accept="image/*" onchange='angular.element(this).scope().fileChanged(this, 1)'>
  600. <em>(最能代表项目的焦点图,图片尺寸不小于500*280px,支持jpg,gif,png格式,不超过10MB)</em>
  601. <div ng-if="null != mobileImgUrl" class="showImg">
  602. <img src="{{mobileImgUrl}}">
  603. <span class="hover-show">
  604. <em class="delete" title="删除" ng-click="clearFile('mobileImg')"><em class="fa fa-2x fa-trash"></em></em>
  605. <a ng-click="showImg('mobileImg')" title="点击查看大图"><em class="fa fa-search" style="margin-right: 5px;"></em>查看</a>
  606. </span>
  607. </div>
  608. <span class="error" ng-show="submited && mobileImgUrl == null && project.mobileImg == null">*请上传手机端主图</span>
  609. </div>
  610. </div>
  611. </div>
  612. <div class="list-item clearfix" style="margin-top: -20px;">
  613. <span class="fl" style="margin-top: 30px;">手机列表图</span>
  614. <div class="fl">
  615. <div class="computer uploadImg">
  616. <button>上传图片</button>
  617. <input type="file" ng-multiple="false" id="mobileListImg" accept="image/*" onchange='angular.element(this).scope().fileChanged(this, 2)'>
  618. <em>(最能代表项目的焦点图,图片尺寸不小于500*375像素以上,支持jpg,gif,png格式,不超过10MB)</em>
  619. <div ng-if="null != mobileListImgUrl" class="showImg" style="margin-left: -15px;">
  620. <img src="{{mobileListImgUrl}}">
  621. <span class="hover-show">
  622. <em class="delete" title="删除" ng-click="clearFile('mobileListImg')"><em class="fa fa-2x fa-trash"></em></em>
  623. <a ng-click="showImg('mobileListImg')" title="点击查看大图"><em class="fa fa-search" style="margin-right: 5px;"></em>查看</a>
  624. </span>
  625. </div>
  626. <span class="error" ng-show="submited && mobileListImgUrl == null && project.mobileListImg == null">*请上传手机列表图</span>
  627. </div>
  628. </div>
  629. </div>
  630. <div class="list-item clearfix">
  631. <span class="fl">发起人介绍</span>
  632. <div class="fl" style="margin: 5px 0 0 50px;">
  633. <span class="intro"></span>
  634. <div class="item clearfix">
  635. <span class="fl">姓名</span>
  636. <input type="text" class="form-control fl" name="projectPersonName" ng-maxlength="20" ng-model="project.personName" placeholder="不超过二十个字" required>
  637. <span class="error" ng-show="submited && detailForm.projectPersonName.$error.required">*姓名不能为空</span>
  638. <span class="error" ng-show="submited && detailForm.projectPersonName.$error.maxlength">*姓名字数过长</span>
  639. </div>
  640. <div class="item items clearfix">
  641. <span class="fl">头像</span>
  642. <div class="button fl">
  643. <button>上传图片</button>
  644. <input type="file" ng-multiple="false" id="logo" accept="image/*" onchange='angular.element(this).scope().fileChanged(this, 3)'>
  645. <em>(图片尺寸不小于500*500px,不超过2MB)</em>
  646. <div ng-if="null != logoUrl" class="showImg" style="margin-left: 40px;">
  647. <img src="{{logoUrl}}">
  648. <span class="hover-show">
  649. <em class="delete" title="删除" ng-click="clearFile('logo')"><em class="fa fa-2x fa-trash"></em></em>
  650. <a ng-click="showImg('logo')" title="点击查看大图"><em class="fa fa-search" style="margin-right: 5px;"></em>查看</a>
  651. </span>
  652. </div>
  653. <span class="error" ng-show="submited && logoUrl == null && project.logo == null">*请上传手机列表图</span>
  654. </div>
  655. </div>
  656. <div class="item clearfix">
  657. <span class="fl">工作单位</span>
  658. <input type="text" class="form-control fl" name="projectWorkunit" ng-model="project.workunit" ng-maxlength="20" placeholder="不超过二十个字" required/>
  659. <span class="error" ng-show="submited && detailForm.projectWorkunit.$error.required">*工作单位不能为空</span>
  660. <span class="error" ng-show="submited && detailForm.projectWorkunit.$error.maxlength">*工作单位字数过长</span>
  661. </div>
  662. <div class="item clearfix">
  663. <span class="fl">联系电话</span>
  664. <input type="text" class="form-control fl" name="projectPersonTel" ng-model="project.personTel" ng-maxlength="20" placeholder="填写联系电话" required/>
  665. <span class="error" ng-show="submited && detailForm.projectPersonTel.$error.required">*联系电话不能为空</span>
  666. <span class="error" ng-show="submited && detailForm.projectPersonTel.$error.maxlength">*联系电话过长</span>
  667. </div>
  668. <div class="item clearfix">
  669. <span class="fl">个人简介</span>
  670. <textarea name="projectSummary" id="" cols="30" rows="10" ng-model="project.summary" ng-maxlength="60" placeholder="不超过六十个字" required></textarea>
  671. <span class="error" ng-show="submited && detailForm.projectSummary.$error.required">*个人简介不能为空</span>
  672. <span class="error" ng-show="submited && detailForm.projectSummary.$error.maxlength">*个人简介过长</span>
  673. </div>
  674. </div>
  675. </div>
  676. <div class="list-item clearfix">
  677. <span class="fl">项目简介</span>
  678. <div class="fl simple">
  679. <textarea name="projectProSummary" cols="30" rows="10" ng-model="project.proSummary" ng-maxlength="27" placeholder="目的简单介绍,不超过27个字" required></textarea>
  680. <span class="error" ng-show="submited && detailForm.projectProSummary.$error.required">*项目简介不能为空</span>
  681. <span class="error" ng-show="submited && detailForm.projectProSummary.$error.maxlength">*项目简介过长</span>
  682. <br/>
  683. </div>
  684. </div>
  685. <div class="list-item clearfix">
  686. <span class="fl">项目介绍</span>
  687. <div class="fl simple">
  688. <summernote lang="zh-CN" ng-model="project.introduction" height="300px">
  689. 请填写介绍
  690. </summernote>
  691. <span class="error" ng-show="submited && project.introduction == null">*请填写项目介绍</span>
  692. </div>
  693. <div class="fl submitButton">
  694. <div class="sub">
  695. <button type="button" ng-click="saveDetail(project, true, detailForm.$invalid || !project.introduction ||
  696. (!pcImgUrl && !project.pcImg) || (!mobileImgUrl && !project.mobileImg) ||
  697. (!mobileListImgUrl && !project.mobileListImg) || (!logoUrl && !project.logo))">提交</button>
  698. <button type="button" ng-click="saveDetail(project, false)">保存草稿</button>
  699. </div>
  700. <a ui-sref="launchProject1">返回上一页</a>
  701. </div>
  702. </div>
  703. </div>
  704. </div>
  705. </form>
  706. </div>
  707. </div>
  708. </section>
  709. </div>
  710. <!--查看大图-->
  711. <div id="image-box" style="display: none;">
  712. <div class="x-close-wrap" title="关闭">
  713. <a href="javascript:void(0);">&times;</a>
  714. </div>
  715. <div class="x-floating-wrap"></div>
  716. <div class="x-floating">
  717. <img/>
  718. </div>
  719. </div>
  720. <script>
  721. $('.dropdown-toggle').click(function(){
  722. $(this).next('.dropdown-menu').toggle();
  723. })
  724. </script>
  725. <!--<script>-->
  726. <!--$('.right-nav').on('click', 'span', function () {-->
  727. <!--var index = $(this).index();-->
  728. <!--$(this).addClass('active').siblings().removeClass('active');-->
  729. <!--$('.right-list').eq(index).addClass('show').siblings().removeClass('show');-->
  730. <!--});-->
  731. <!--$(document).ready(function() {-->
  732. <!--$('#summernote').summernote({-->
  733. <!--lang: 'zh-CN',-->
  734. <!--placeholder: '请录入项目进项',-->
  735. <!--tabsize: 2,-->
  736. <!--width: 600,-->
  737. <!--height: 400,-->
  738. <!--callbacks: {-->
  739. <!--onImageUpload: function (files) { //the onImageUpload API-->
  740. <!--img = sendFile(files[0]);-->
  741. <!--}-->
  742. <!--}-->
  743. <!--});-->
  744. <!--});-->
  745. <!--function sendFile(file) {-->
  746. <!--var data = new FormData();-->
  747. <!--data.append("file", file);-->
  748. <!--console.log(data);-->
  749. <!--$.ajax({-->
  750. <!--data: data,-->
  751. <!--type: "POST",-->
  752. <!--url: '/projectconclude/upload',-->
  753. <!--cache: false,-->
  754. <!--contentType: false,-->
  755. <!--processData: false,-->
  756. <!--success: function(url) {-->
  757. <!--$("#summernote").summernote('insertImage', url, 'image name'); // the insertImage API-->
  758. <!--},-->
  759. <!--error:function(){-->
  760. <!--alert("上传失败!");-->
  761. <!--}-->
  762. <!--});-->
  763. <!--}-->
  764. <!--</script>-->