flow.blade.php 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810
  1. <!DOCTYPE html>
  2. <html>
  3. <!-- Mirrored from www.zi-han.net/theme/hplus/login.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:18:23 GMT -->
  4. <head>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>引擎力-培养走向世界的企业</title>
  8. <meta name="keywords" content="引擎力后台">
  9. <meta name="description"
  10. content="引擎力定位于海外数字营销专家,用数据说话,引领外贸企业迈向全球化!拥有多项核心自主知识产权,一直在不断的发展和拓展我们的网络营销范围。拥有120余人海外推广团队,80%以上执创人员,5年以上专业外贸推广经验,为您的外贸网站量身定制打造高质量的流量及询盘。">
  11. <meta name="robots" content="noodp"/>
  12. <link rel="shortcut icon" href="{{asset('favicon.ico')}}">
  13. <link href="{{asset('css/bootstrap.min14ed.css')}}" rel="stylesheet">
  14. <link href="{{asset('css/font-awesome.min93e3.css')}}" rel="stylesheet">
  15. <style>
  16. * {
  17. font-family: "微软雅黑";
  18. }
  19. body {
  20. background: #f5f5f5;
  21. font-size: 62.5%;
  22. }
  23. @font-face {
  24. font-family: 'Acumin-Pro';
  25. src: url("/fonts/ACUMIN-PRO-CONDENSED-EXTRALIGHT-2.OTF");
  26. font-style: normal;
  27. font-weight: normal;
  28. }
  29. .fix:after {
  30. content: '';
  31. clear: both;
  32. display: block;
  33. }
  34. .fix:before {
  35. content: '';
  36. clear: both;
  37. display: block;
  38. }
  39. .sep-yql-header {
  40. width: 100%;
  41. background: url(/img/y-top-bgs.jpg) no-repeat center top;
  42. padding: 50px 0;
  43. }
  44. .sep-logo {
  45. display: block;
  46. width: 100%;
  47. text-align: center;
  48. margin-bottom: 9px;
  49. }
  50. .logo-texts {
  51. display: block;
  52. width: 100%;
  53. text-align: center;
  54. font-size: 44px;
  55. line-height: 1.5;
  56. color: #fff;
  57. font-weight: bold;
  58. }
  59. .footer-texts {
  60. display: block;
  61. width: 100%;
  62. text-align: center;
  63. font-size: 18px;
  64. line-height: 1.5;
  65. color: #fff;
  66. }
  67. .sep-container {
  68. width: 100%;
  69. max-width: 1300px;
  70. margin: 0 auto;
  71. }
  72. .sep-yql-body {
  73. width: 100%;
  74. padding: 38px 0 70px;
  75. }
  76. .sep-xmzl-boxs {
  77. width: 100%;
  78. }
  79. .sep-yql-footer {
  80. width: 100%;
  81. background: #fe8713;
  82. padding: 30px 0;
  83. }
  84. .sep-xwcgss-ul-boxs {
  85. width: 100%;
  86. }
  87. .sep-xwcgss-ul-boxs .xwcgss-lists {
  88. width: 100%;
  89. margin-bottom: 14px;
  90. position: relative;
  91. display: block;
  92. }
  93. .sep-xwcgss-ul-boxs .xwcgss-lists .xwcgss-table-boxs {
  94. display: none;
  95. }
  96. .sep-xwcgss-ul-boxs .xwcgss-lists.active .xwcgss-lists-titles {
  97. display: none;
  98. }
  99. .sep-xwcgss-ul-boxs .xwcgss-lists.active .xwcgss-table-boxs {
  100. display: block;
  101. }
  102. .sep-xwcgss-ul-boxs .xwcgss-lists.active .number-boxs {
  103. background-color: darkorange;
  104. }
  105. .sep-xwcgss-ul-boxs .xwcgss-lists.active .number-boxs::after {
  106. border-left-color: darkorange;
  107. }
  108. .sep-xwcgss-ul-boxs .xwcgss-lists:after {
  109. content: '';
  110. width: 1px;
  111. height: 100%;
  112. display: block;
  113. background: #e0e0e0;
  114. position: absolute;
  115. left: -30px;
  116. top: 36px;
  117. z-index: 1;
  118. }
  119. .sep-xwcgss-ul-boxs .xwcgss-lists:last-child:after {
  120. display: none;
  121. }
  122. .sep-xwcgss-ul-boxs .xwcgss-lists.ons:after {
  123. display: none;
  124. }
  125. .sep-xwcgss-ul-boxs .xwcgss-lists-titles {
  126. width: 100%;
  127. background: #fff;
  128. padding: 20px 78px;
  129. line-height: 32px;
  130. position: relative;
  131. }
  132. .sep-xwcgss-ul-boxs .titles-left {
  133. width: auto;
  134. font-size: 16px;
  135. color: #262626;
  136. float: left;
  137. }
  138. .sep-xwcgss-ul-boxs .titles-right {
  139. width: auto;
  140. font-size: 12px;
  141. color: #343434;
  142. float: right;
  143. min-width: 160px;
  144. }
  145. .sep-xwcgss-ul-boxs .i-boxs {
  146. display: block;
  147. width: 40px;
  148. height: 40px;
  149. position: absolute;
  150. right: 10px;
  151. top: 14px;
  152. cursor: pointer;
  153. }
  154. .sep-xwcgss-ul-boxs .i-boxs:after {
  155. content: '';
  156. display: block;
  157. width: 14px;
  158. height: 14px;
  159. border: 1px solid transparent;
  160. border-top-color: #a7a7a7;
  161. border-right-color: #a7a7a7;
  162. position: absolute;
  163. left: 50%;
  164. margin-left: -11px;
  165. top: 50%;
  166. margin-top: -7px;
  167. transform: rotate(45deg);
  168. }
  169. .sep-xwcgss-ul-boxs .number-boxs {
  170. display: block;
  171. width: 49px;
  172. height: 43px;
  173. background: #a7a7a7;
  174. text-transform: uppercase;
  175. font-size: 12px;
  176. color: #fff;
  177. z-index: 4;
  178. padding: 10px 8px;
  179. position: absolute;
  180. left: -33px;
  181. top: 50%;
  182. margin-top: -21px;
  183. line-height: normal;
  184. font-family: 'Acumin-Pro';
  185. }
  186. .sep-xwcgss-ul-boxs .number-boxs:after {
  187. content: '';
  188. display: block;
  189. width: 0;
  190. height: 0;
  191. border: 22px solid transparent;
  192. border-top-width: 21px;
  193. border-left-color: #a7a7a7;
  194. position: absolute;
  195. left: 100%;
  196. top: 0;
  197. z-index: 4;
  198. }
  199. .sep-xwcgss-ul-boxs .nw {
  200. display: block;
  201. width: auto;
  202. height: auto;
  203. position: absolute;
  204. left: 33px;
  205. top: 7px;
  206. line-height: normal;
  207. font-size: 27px;
  208. color: #fff;
  209. font-weight: normal;
  210. z-index: 10;
  211. text-transform: initial;
  212. font-family: 'Acumin-Pro';
  213. }
  214. table {
  215. width: 100%;
  216. border: none;
  217. }
  218. table tr {
  219. width: 100%;
  220. }
  221. table tr:nth-child(1) {
  222. background: #f08421;
  223. }
  224. table tr:nth-child(1) td {
  225. color: #fff;
  226. font-size: 16px;
  227. background: #f08421;
  228. border-color: #f39d4d;
  229. text-align: center;
  230. padding-left: 10px;
  231. }
  232. .xwcgss-table-boxs table tr:nth-child(1) td:nth-child(1) {
  233. width: 16.5%;
  234. }
  235. .xwcgss-table-boxs table tr:nth-child(1) td:nth-child(2) {
  236. width: 14.2%;
  237. }
  238. .xwcgss-table-boxs table tr:nth-child(1) td:nth-child(3) {
  239. width: 36%;
  240. }
  241. .xwcgss-table-boxs table tr:nth-child(1) td:nth-child(4) {
  242. width: 12%;
  243. }
  244. .xwcgss-table-boxs table tr:nth-child(1) td:nth-child(5) {
  245. width: 11%;
  246. }
  247. table td {
  248. background: #fff;
  249. text-align: left;
  250. font-size: 14px;
  251. color: #f08421;
  252. line-height: 28px;
  253. padding: 8px 10px;
  254. border-color: #eee;
  255. /*padding-left: 36px;*/
  256. }
  257. .gtj-ff-bold {
  258. font-weight: bold;
  259. font-size: 16px;
  260. }
  261. .gtj-centers {
  262. text-align: center;
  263. padding-left: 15px;
  264. }
  265. .sep-gzgh-boxs {
  266. display: block;
  267. width: 100%;
  268. padding: 36px 0 0;
  269. }
  270. .sep-gzgh-titles-boxs {
  271. display: block;
  272. width: 100%;
  273. text-align: center;
  274. font-size: 34px;
  275. color: #f08421;
  276. font-weight: bold;
  277. line-height: normal;
  278. margin-bottom: 26px;
  279. }
  280. .gzgh-boxs {
  281. background: #fff;
  282. padding: 46px 78px 54px;
  283. }
  284. .sep-gzgh-ul-boxs {
  285. width: 100%;
  286. }
  287. .sep-gzgh-ul-boxs .gzgh-lists {
  288. width: 100%;
  289. }
  290. .sep-gzgh-ul-boxs .gzgh-lists + .gzgh-lists {
  291. margin-top: 28px;
  292. }
  293. .sep-gzgh-ul-boxs table tr:nth-child(1) td {
  294. color: #fff;
  295. font-size: 16px;
  296. background: #f08421;
  297. border-color: #f39d4d;
  298. text-align: center;
  299. padding-left: 10px;
  300. width: 100%;
  301. }
  302. .sep-gzgh-ul-boxs table tr:nth-child(2) td {
  303. color: #f08421;
  304. font-size: 16px;
  305. text-align: center;
  306. padding-left: 10px;
  307. }
  308. .sep-gzgh-ul-boxs table tr td:nth-child(1) {
  309. width: 12%;
  310. }
  311. .sep-gzgh-ul-boxs table tr td:nth-child(2) {
  312. width: 33.4%;
  313. }
  314. .sep-gzgh-ul-boxs table tr td:nth-child(3) {
  315. width: 14.4%;
  316. }
  317. .sep-gzgh-ul-boxs table tr td {
  318. color: #262626;
  319. font-size: 14px;
  320. / / padding-left: 4 %;
  321. text-align: center;
  322. }
  323. .sep-gzgh-ul-boxs table tr.tr-lists {
  324. }
  325. .sep-gzgh-ul-boxs table tr.tr-lists.active {
  326. height: 0;
  327. overflow: hidden;
  328. display: none;
  329. }
  330. .sep-gzgh-ul-boxs table tr td:nth-child(1) {
  331. text-align: center;
  332. padding-left: 10px;
  333. }
  334. .sep-gzgh-ul-boxs table tr.lasts.ons .i-down-boxs {
  335. transform: rotate(180deg);
  336. }
  337. .sep-gzgh-ul-boxs table tr.ons .i-down-boxs:before {
  338. border-bottom-color: #f08421;
  339. border-right-color: #f08421;
  340. }
  341. .sep-gzgh-ul-boxs table tr.ons .i-down-boxs:after {
  342. border-bottom-color: #f08421;
  343. border-right-color: #f08421;
  344. }
  345. .sep-gzgh-ul-boxs table tr:hover .i-down-boxs:before {
  346. border-bottom-color: #f08421;
  347. border-right-color: #f08421;
  348. }
  349. .sep-gzgh-ul-boxs table tr:hover .i-down-boxs:after {
  350. border-bottom-color: #f08421;
  351. border-right-color: #f08421;
  352. }
  353. .i-down-boxs {
  354. display: inline-block;
  355. vertical-align: top;
  356. width: 28px;
  357. height: 28px;
  358. position: relative;
  359. }
  360. .i-down-boxs:before {
  361. content: '';
  362. display: inline-block;
  363. vertical-align: top;
  364. width: 12px;
  365. height: 12px;
  366. border: 2px solid transparent;
  367. border-bottom-color: #a5a5a5;
  368. border-right-color: #a5a5a5;
  369. position: absolute;
  370. left: 50%;
  371. margin-left: -6px;
  372. top: 50%;
  373. margin-top: -12px;
  374. transform: rotate(45deg);
  375. }
  376. .i-down-boxs:after {
  377. content: '';
  378. display: inline-block;
  379. vertical-align: top;
  380. width: 12px;
  381. height: 12px;
  382. border: 2px solid transparent;
  383. border-bottom-color: #a5a5a5;
  384. border-right-color: #a5a5a5;
  385. position: absolute;
  386. transform: rotate(45deg);
  387. left: 50%;
  388. margin-left: -6px;
  389. top: 50%;
  390. margin-top: -6px;
  391. }
  392. @media screen and (max-width: 1440px) {
  393. .sep-container {
  394. max-width: 1200px;
  395. }
  396. .logo-texts {
  397. font-size: 16px;
  398. }
  399. }
  400. @media screen and (max-width: 1360px) {
  401. .sep-container {
  402. max-width: 1100px;
  403. }
  404. }
  405. @media screen and (max-width: 1200px) {
  406. .sep-container {
  407. max-width: 80%;
  408. }
  409. table td {
  410. white-space: nowrap;
  411. }
  412. .xwcgss-table-boxs {
  413. overflow-x: scroll;
  414. }
  415. .gzgh-table-boxs {
  416. overflow-x: scroll;
  417. }
  418. }
  419. @media screen and (max-width: 812px) {
  420. .gzgh-boxs {
  421. padding: 30px 20px;
  422. }
  423. }
  424. @media screen and (max-width: 640px) {
  425. .sep-xwcgss-ul-boxs .xwcgss-lists-titles {
  426. padding: 20px 36px;
  427. padding-left: 20px;
  428. }
  429. .sep-xwcgss-ul-boxs .titles-right {
  430. min-width: 124px;
  431. }
  432. .sep-xwcgss-ul-boxs .i-boxs {
  433. right: 0;
  434. }
  435. .sep-gzgh-titles-boxs {
  436. font-size: 24px;
  437. }
  438. .sep-xwcgss-ul-boxs .number-boxs {
  439. width: 30px;
  440. padding: 10px 2px;
  441. }
  442. .sep-xwcgss-ul-boxs .nw {
  443. left: 24px;
  444. font-size: 20px;
  445. }
  446. .sep-xwcgss-ul-boxs .number-boxs:after {
  447. border-left-width: 12px;
  448. }
  449. .sep-xwcgss-ul-boxs .titles-left {
  450. font-size: 15px;
  451. }
  452. .sep-gzgh-ul-boxs table tr td {
  453. font-size: 14px;
  454. }
  455. .sep-gzgh-ul-boxs table tr:nth-child(2) td {
  456. font-size: 14px;
  457. }
  458. .sep-yql-body {
  459. padding: 36px 0;
  460. }
  461. .gtj-ff-bold {
  462. font-size: 14px;
  463. }
  464. .sep-yql-header {
  465. padding: 36px 0;
  466. }
  467. }
  468. </style>
  469. </head>
  470. <body>
  471. <div class="sep-yql-header">
  472. <a href="/" class="sep-logo">
  473. <img src="/img/y-top-logo.png" alt=""/>
  474. </a>
  475. <div class="logo-texts">
  476. {{$site->cn_title}}
  477. </div>
  478. {{--<div class="logo-texts">--}}
  479. {{--建站期流程--}}
  480. {{--</div>--}}
  481. </div>
  482. <div class="sep-yql-body">
  483. <div class="sep-xmzl-boxs fix">
  484. <div class="sep-container fix">
  485. <div class="sep-xwcgss-ul-boxs fix">
  486. @foreach($stageList as $stageInx=>$stage)
  487. @php
  488. $doneTimeList=[];
  489. $exceptDate='';
  490. $minFlowLen=0;
  491. foreach ($stage->infoList as $v){
  492. $exceptDate=$v->except_range_date;
  493. $detailList=$v->detail_list??[];
  494. $minFlowLen+= count($detailList);
  495. foreach ($detailList as $m) {
  496. if(!empty($m['flow_done_date'])){
  497. $doneTimeList[]=strtotime($m['flow_done_date']);
  498. }
  499. }
  500. }
  501. @endphp
  502. <div class="xwcgss-lists @if($stageInx==0) active @endif fix">
  503. <div class="xwcgss-lists-titles fix">
  504. <div class="titles-left">
  505. {{$stage->title}}
  506. </div>
  507. <div class="titles-right">
  508. @if($doneTimeList)
  509. 完成时间: {{date('Y.n.j',min($doneTimeList))}}-{{date('Y.n.j',max($doneTimeList))}}
  510. @else
  511. 预计时间: {{$exceptDate}}
  512. @endif
  513. </div>
  514. <div class="i-boxs">
  515. </div>
  516. <div class="number-boxs">
  517. STEP
  518. <div class="nw">
  519. {{$stageInx+1}}
  520. </div>
  521. <div class="lines"></div>
  522. </div>
  523. </div>
  524. <div class="xwcgss-table-boxs fix">
  525. <table border="" cellspacing="" cellpadding="">
  526. <tr>
  527. <td>建站步骤</td>
  528. <td>具体流程</td>
  529. <td>备 注</td>
  530. <td style="text-align: center">主对接人</td>
  531. <td>预计时间</td>
  532. <td>实际完成时间</td>
  533. </tr>
  534. @foreach($stage->infoList as $infoInx=>$info)
  535. @php $detailListLen= count($info->detail_list); @endphp
  536. @foreach($info->detail_list as $key=>$item)
  537. <tr>
  538. @if($infoInx==0 && $key==0)
  539. <td rowspan="{{$minFlowLen}}"
  540. class="gtj-ff-bold gtj-centers">{{$stage->title}}</td>
  541. @endif
  542. <td>{{$item['flow_name']}}</td>
  543. <td>{{$item['flow_remark']}}</td>
  544. <td style="text-align: center">@foreach(($item['duty_user']??[]) as $dutyUser)
  545. {{$mapUsers[$dutyUser]['nickname']??''}} &nbsp;
  546. @endforeach</td>
  547. @if($key==0)
  548. <td rowspan="{{$detailListLen}}"
  549. class="gtj-centers">{{$info->except_range_date}}</td>
  550. @endif
  551. <td class="gtj-centers">{{$item['flow_done_date']}}</td>
  552. </tr>
  553. @endforeach
  554. @endforeach
  555. </table>
  556. </div>
  557. <div class="number-boxs">
  558. STEP
  559. <div class="nw">
  560. {{$stageInx+1}}
  561. </div>
  562. <div class="lines"></div>
  563. </div>
  564. </div>
  565. @endforeach
  566. </div>
  567. </div>
  568. </div>
  569. <div class="sep-gzgh-boxs fix">
  570. <div class="sep-container fix">
  571. <div class="gzgh-boxs fix">
  572. <div class="sep-gzgh-titles-boxs fix">
  573. 工作规划与记录
  574. </div>
  575. <div class="sep-gzgh-ul-boxs fix">
  576. <div class="gzgh-lists fix">
  577. <div class="gzgh-table-boxs fix">
  578. <table border="" cellspacing="" cellpadding="">
  579. <tr>
  580. <td colspan="4">当周工作安排</td>
  581. </tr>
  582. <tr>
  583. <td class="gtj-centers" style="width: 20%">完成时间</td>
  584. <td class="gtj-centers" style="width: 20%">事 项</td>
  585. <td class="gtj-centers" style="width: 30%">人 员</td>
  586. <td class="gtj-centers" style="width: 30%">备 注</td>
  587. </tr>
  588. @foreach($nowPlanList as $item)
  589. <tr>
  590. <td class="gtj-centers">{{$item->done_date}}</td>
  591. <td class="gtj-centers">{{$item->title}}</td>
  592. <td class="gtj-centers">
  593. @foreach($item->usernameList as $value)
  594. {{$value}}<br>
  595. @endforeach
  596. </td>
  597. <td class="gtj-centers">{{$item->remark}}</td>
  598. </tr>
  599. @endforeach
  600. </table>
  601. </div>
  602. </div>
  603. <div class="gzgh-lists fix">
  604. <div class="gzgh-table-boxs fix">
  605. <table border="" cellspacing="" cellpadding="">
  606. <tr>
  607. <td colspan="4">下周工作安排</td>
  608. </tr>
  609. <tr>
  610. <td class="gtj-centers" style="width: 20%">预计时间</td>
  611. <td class="gtj-centers" style="width: 20%">事 项</td>
  612. <td class="gtj-centers" style="width: 30%">人 员</td>
  613. <td class="gtj-centers" style="width: 30%">备 注</td>
  614. </tr>
  615. @foreach($nextPlanList as $item)
  616. <tr>
  617. <td class="gtj-centers">{{$item->done_date}}</td>
  618. <td class="gtj-centers">{{$item->title}}</td>
  619. <td class="gtj-centers">
  620. @foreach($item->usernameList as $value)
  621. {{$value}}<br>
  622. @endforeach
  623. </td>
  624. <td class="gtj-centers">{{$item->remark}}</td>
  625. </tr>
  626. @endforeach
  627. </table>
  628. </div>
  629. </div>
  630. <div class="gzgh-lists fix">
  631. <div class="gzgh-table-boxs fix">
  632. <table border="" cellspacing="" cellpadding="">
  633. <tr>
  634. <td colspan="4">历史工作记录</td>
  635. </tr>
  636. <tr>
  637. <td style="width: 20%">完成时间</td>
  638. <td style="width: 20%">事 项</td>
  639. <td style="width: 30%">人 员</td>
  640. <td style="width: 30%">备 注</td>
  641. </tr>
  642. @foreach($historyPlanList as $inx=>$item)
  643. <tr @if($inx>2) class="tr-lists active" @endif>
  644. <td class="gtj-centers">{{$item->done_date}}</td>
  645. <td class="gtj-centers">{{$item->title}}</td>
  646. <td class="gtj-centers">
  647. @foreach($item->usernameList as $value)
  648. {{$value}}<br>
  649. @endforeach
  650. </td>
  651. <td class="gtj-centers">{{$item->remark}}</td>
  652. </tr>
  653. @endforeach
  654. @if($historyPlanList->count()>3)
  655. <tr class="lasts">
  656. <td colspan="4">
  657. <div class="i-down-boxs"></div>
  658. </td>
  659. </tr>
  660. @endif
  661. </table>
  662. </div>
  663. </div>
  664. </div>
  665. </div>
  666. </div>
  667. </div>
  668. </div>
  669. <div class="sep-yql-footer">
  670. <div class="sep-container fix">
  671. <div class="footer-texts">
  672. 浙江引擎力营销策划有限公司
  673. </div>
  674. </div>
  675. </div>
  676. <script src="{{asset('js/jquery.min.js?v=2.1.4')}}"></script>
  677. <script src="{{asset('js/bootstrap.min.js')}}"></script>
  678. <script>
  679. $(".sep-gzgh-ul-boxs .gzgh-lists").each(function () {
  680. $(this).find(".lasts").click(function () {
  681. var _this = $(this);
  682. if (!_this.hasClass("ons")) {
  683. _this.addClass("ons");
  684. _this.siblings(".tr-lists").removeClass("active");
  685. } else {
  686. _this.removeClass("ons");
  687. _this.siblings(".tr-lists").addClass("active");
  688. }
  689. });
  690. });
  691. $(".sep-xwcgss-ul-boxs .xwcgss-lists").each(function () {
  692. var _this1 = $(this);
  693. $(this).find(".i-boxs").click(function () {
  694. var _this = $(this);
  695. if (!_this.parent().parent(".xwcgss-lists").hasClass("active")) {
  696. _this.parent().parent(".xwcgss-lists").addClass("active");
  697. _this.parent().parent(".xwcgss-lists").siblings().removeClass("active");
  698. } else {
  699. _this.parent().parent(".xwcgss-lists").removeClass("active");
  700. }
  701. });
  702. });
  703. </script>
  704. </body>
  705. </html>