index.blade.php 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711
  1. @extends('admin/site/side_layout')
  2. @section('header_extend')
  3. <style>
  4. .ul-content {
  5. margin: 0;
  6. padding: 0;
  7. list-style-type: none;
  8. }
  9. .ul-content li {
  10. padding: 20px 10px 10px;
  11. display: none;
  12. }
  13. .ul-content .active {
  14. display: block;
  15. }
  16. .my-input {
  17. padding: 4px 2px;
  18. width: 100%;
  19. border-style: none;
  20. }
  21. .my-input2 {
  22. padding: 4px 2px;
  23. width: 100%;
  24. }
  25. .my-table {
  26. width: 100%;
  27. }
  28. .my-table td {
  29. border: 1px solid #E5E6E7;
  30. padding: 8px;
  31. }
  32. .my-table tr td:last-child {
  33. cursor: pointer;
  34. text-align: center;
  35. }
  36. .you-table {
  37. width: 100%;
  38. }
  39. .you-table td {
  40. padding: 8px;
  41. }
  42. .you-table tr td:last-child {
  43. width: 80px;
  44. cursor: pointer;
  45. text-align: center;
  46. }
  47. .you-table2 {
  48. width: 100%;
  49. }
  50. .you-table2 td {
  51. padding: 8px;
  52. }
  53. .you-table2 tr td:last-child {
  54. width: 180px;
  55. }
  56. .subInput {
  57. box-sizing: border-box;
  58. width: 92%;
  59. border: 1px dashed #999;
  60. padding: 4px 2px;
  61. margin-right: 5px;
  62. }
  63. </style>
  64. @endsection
  65. @section('right')
  66. {{--@php $scope=true; @endphp--}}
  67. <ul class="nav nav-tabs">
  68. @foreach(\App\Http\Models\PryOptimizeData::Type as $inx=>$val)
  69. <li @if($inx=="traffic") class="active" @endif ><a href="#">优化师数据分析[{{$val}}]</a></li>
  70. @endforeach
  71. <li id="seoItemLi"><a href="#">引擎力seo</a></li>
  72. <li><a href="#">年度分析总结</a></li>
  73. <li><a href="#">社交推广</a></li>
  74. </ul>
  75. <ul class="ul-content">
  76. @foreach(\App\Http\Models\PryOptimizeData::Type as $inx=>$val)
  77. <li @if($inx=="traffic") class="active" @endif >
  78. <table class="my-table">
  79. <caption style="font-size: 20px;font-weight: 600">固定话语</caption>
  80. <thead>
  81. <tr>
  82. <td>
  83. 内容
  84. </td>
  85. @if($scope)
  86. <td onclick="utils.addOptimizeDataScope('{{$inx}}')" style="width: 140px">
  87. 添加
  88. </td>
  89. @else
  90. <td>
  91. 选中点击下方添加
  92. </td>
  93. @endif
  94. </tr>
  95. </thead>
  96. <tbody id="{{$inx}}OptimizeDataScopeTBody">
  97. @foreach($optimizeDataScopeList[$inx]??[] as $item)
  98. <tr>
  99. <td>
  100. <input type="text" value="{{$item->content}}" class="my-input"
  101. name="optimizeDataScopeText" data-id="{{$item->id}}">
  102. </td>
  103. <td>
  104. <input type="checkbox" name="optimizeDataScopeCheck" style="margin-right: 5px">
  105. @if($scope)
  106. <a href="javascript:;" onclick="utils.delOptimizeDataScope(this)">删除</a>
  107. @endif
  108. </td>
  109. </tr>
  110. @endforeach
  111. </tbody>
  112. </table>
  113. @if($scope)
  114. <button type="button" class="btn btn-success" style="margin: 10px 0"
  115. onclick="utils.saveOptimizeDataScope('{{$inx}}')">保存
  116. </button>
  117. @endif
  118. <div style="font-size: 20px;font-weight: 600;margin-top: 20px">功能需求
  119. </div>
  120. <table class="you-table">
  121. <thead>
  122. <tr>
  123. <td></td>
  124. <td style="font-size: 18px;font-weight: 600" onclick="utils.addOptimizeData('{{$inx}}')">添加</td>
  125. </tr>
  126. </thead>
  127. <tbody id="{{$inx}}OptimizeTBody">
  128. @foreach($optimizeDataList[$inx]??[] as $item)
  129. <tr>
  130. <td><input type="text" class="my-input" style="border-style: hidden" value="{{$item->content}}" data-id="{{$item->id}}">
  131. </td>
  132. <td class="you-del">删除</td>
  133. </tr>
  134. @endforeach
  135. </tbody>
  136. </table>
  137. <div style="padding: 10px">
  138. <button class="btn btn-success" type="button" onclick="utils.saveOptimizeData('{{$inx}}')">保存
  139. </button>
  140. </div>
  141. </li>
  142. @endforeach
  143. <li>
  144. <table class="my-table">
  145. <caption style="font-size: 20px;font-weight: 600">固定选项</caption>
  146. <thead>
  147. <tr>
  148. <td>
  149. 内容
  150. </td>
  151. <td onclick="utils.addSeoItemScope()" style="width: 140px">
  152. 添加
  153. </td>
  154. </tr>
  155. </thead>
  156. <tbody id="seoItemScopeBody">
  157. @foreach($seoItemScopeList as $item)
  158. <tr>
  159. <td>
  160. <input type="text" class="my-input" name="seoItemInput" value="{{$item->content}}">
  161. <input type="hidden" name="seoItemId" value="{{$item->id}}">
  162. </td>
  163. <td>
  164. <a href="javascript:;" style="margin-left: 5px" onclick="utils.delSeoItemScope(this)">删除</a>
  165. </td>
  166. </tr>
  167. @endforeach
  168. </tbody>
  169. </table>
  170. @if($scope)
  171. <button type="button" class="btn btn-success" style="margin: 10px 0"
  172. onclick="utils.saveSeoItemScope()">保存
  173. </button>
  174. @endif
  175. <div>
  176. @php $checkedList=$seoItemSingle->checked_list??[] @endphp
  177. @foreach($seoItemScopeList as $item)
  178. <div style="margin: 5px;background-color: #fff5d4;padding: 5px;display: inline-block">
  179. <input type="checkbox" name="seo_item" value="{{$item->id}}"
  180. @if(in_array($item->id,$checkedList)) checked @endif> {{$item->content}}
  181. </div>
  182. @endforeach
  183. </div>
  184. <button class="btn btn-success" type="button" style="margin-top: 20px"
  185. onclick="utils.saveSeo()">保存
  186. </button>
  187. </li>
  188. <li>
  189. <table class="my-table">
  190. <caption style="font-size: 20px;font-weight: 600">固定话语</caption>
  191. <thead>
  192. <tr>
  193. <td>
  194. 内容
  195. </td>
  196. {{--@if($scope)--}}
  197. <td onclick="utils.addAnalyzeSummaryScope()" style="width: 140px">
  198. 添加
  199. </td>
  200. {{--@else--}}
  201. {{--<td>--}}
  202. {{--选中点击下方添加--}}
  203. {{--</td>--}}
  204. {{--@endif--}}
  205. </tr>
  206. </thead>
  207. <tbody id="analyzeSummaryScopeTBody">
  208. @foreach($analyzeSummaryScopeList as $item)
  209. <tr>
  210. <td>
  211. <input type="text" value="{{$item->content}}" class="my-input"
  212. name="analyzeSummaryScopeText" data-id="{{$item->id}}">
  213. </td>
  214. <td>
  215. <input type="checkbox" name="analyzeSummaryScopeCheck" style="margin-right: 5px">
  216. {{--@if($scope)--}}
  217. <a href="javascript:;" onclick="utils.delAnalyzeSummaryScope(this)">删除</a>
  218. {{--@endif--}}
  219. </td>
  220. </tr>
  221. @endforeach
  222. </tbody>
  223. </table>
  224. {{--@if($scope)--}}
  225. <button type="button" class="btn btn-success" style="margin: 10px 0"
  226. onclick="utils.saveAnalyzeSummaryScope()">保存
  227. </button>
  228. {{--@endif--}}
  229. <div style="font-size: 20px;font-weight: 600;margin-top: 20px">功能需求
  230. </div>
  231. <table class="you-table">
  232. <thead>
  233. <tr>
  234. <td></td>
  235. <td style="font-size: 18px;font-weight: 600" onclick="utils.addAnalyzeSummary()">添加</td>
  236. </tr>
  237. </thead>
  238. <tbody id="analyzeSummaryTBody">
  239. @foreach($analyzeSummaryList as $item)
  240. <tr>
  241. <td><input type="text" class="my-input" value="{{$item->content}}" data-id="{{$item->id}}"></td>
  242. <td class="you-del">删除</td>
  243. </tr>
  244. @endforeach
  245. </tbody>
  246. </table>
  247. <div style="padding: 10px">
  248. {{--<button class="btn btn-success" type="button" onclick="utils.saveOptimizeData('{{$inx}}')">保存</button>--}}
  249. {{--utils.saveOptimizeData('{{$inx}}')--}}
  250. <button class="btn btn-success" type="button" onclick="utils.saveAnalyzeSummary()">保存</button>
  251. </div>
  252. </li>
  253. <li>
  254. <table class="my-table">
  255. <thead>
  256. <tr>
  257. <td>facebook <input type="checkbox" name="facebook_hide"></td>
  258. <td>linkedIn <input type="checkbox" name="linkedIn_hide"></td>
  259. <td>twitter <input type="checkbox" name="twitter_hide"></td>
  260. <td>pin <input type="checkbox" name="pin_hide"></td>
  261. </tr>
  262. </thead>
  263. <tbody id="socialTBody">
  264. @for($i=1;$i<=12;$i++)
  265. <tr>
  266. <td><input type="number" name="facebook" class="form-control"></td>
  267. <td><input type="number" name="linkedIn" class="form-control"></td>
  268. <td><input type="number" name="twitter" class="form-control"></td>
  269. <td><input type="number" name="pin" class="form-control"></td>
  270. </tr>
  271. @endfor
  272. </tbody>
  273. </table>
  274. <div style="padding: 10px">
  275. <button class="btn btn-success" type="button" onclick="utils.saveSocial()">保存
  276. </button>
  277. </div>
  278. </li>
  279. </ul>
  280. @endsection
  281. @section('footer_extend')
  282. <script src="{{asset('js/plugins/layDate-v5.0.9/laydate/laydate.js')}}"></script>
  283. <script>
  284. var utils = {
  285. delOptimizeDataScope: function (_this) {
  286. $(_this).parent().parent().remove();
  287. },
  288. addOptimizeDataScope: function (type) {
  289. var tbody = "#" + type + "OptimizeDataScopeTBody";
  290. var str = '<tr>' +
  291. '<td>' +
  292. '<input type="text" value="" class="my-input" name="optimizeDataScopeText">' +
  293. '</td>' +
  294. '<td>' +
  295. '<input type="checkbox" name="optimizeDataScopeCheck" style="margin-right: 5px">' +
  296. '<a href="javascript:;" onclick="utils.delOptimizeDataScope(this)">删除</a>' +
  297. '</td>' +
  298. '</tr>';
  299. $(tbody).append(str);
  300. },
  301. saveOptimizeDataScope: function (type) {
  302. var dataList = [];
  303. var tbody = "#" + type + "OptimizeDataScopeTBody";
  304. $(tbody).find("[name=optimizeDataScopeText]").each(function () {
  305. var val = $(this).val();
  306. var id = $(this).data('id');
  307. if (val.length > 0) {
  308. dataList.push({
  309. id: id,
  310. content: val
  311. })
  312. }
  313. });
  314. var ajaxConfig = {
  315. url: '/admin/promote-year-optimize-data-scope-save',
  316. type: 'post',
  317. data: {
  318. dataList: dataList,
  319. type: type
  320. },
  321. success: function (result) {
  322. var resultDataList = result.data;
  323. var html = '';
  324. for (var i = 0; i < resultDataList.length; i++) {
  325. html += '<tr>' +
  326. ' <td><input type="text" value="' + resultDataList[i]['content'] + '" class="my-input" name="optimizeDataScopeText" data-id="' + resultDataList[i]['id'] + '">' +
  327. ' </td>' +
  328. ' <td>' +
  329. ' <input type="checkbox" name="optimizeDataScopeCheck" style="margin-right: 5px">' +
  330. ' <a href="javascript:;" onclick="utils.delOptimizeDataScope(this)">删除</a>' +
  331. ' </td>' +
  332. ' </tr>';
  333. }
  334. $(tbody).html(html);
  335. layer.msg("操作成功", {icon: 6, time: 1500});
  336. }
  337. };
  338. tips.ajax(ajaxConfig);
  339. },
  340. bindDate: function (that) {
  341. var routeTime = {
  342. type: 'date',
  343. elem: that
  344. };
  345. laydate.render(routeTime);
  346. },
  347. addOptimizeData: function (type) {
  348. var checkedScope = [];
  349. $("#" + type + "OptimizeDataScopeTBody tr").find("[name=optimizeDataScopeCheck]:checked").each(function () {
  350. checkedScope.push($(this).parent().prev().find("input").val())
  351. });
  352. if (checkedScope.length > 0) {
  353. for (var i = 0; i < checkedScope.length; i++) {
  354. utils.addHtml(checkedScope[i], type);
  355. }
  356. } else {
  357. utils.addHtml("", type);
  358. }
  359. },
  360. addHtml: function (text, type) {
  361. var str = '<tr>' +
  362. '<td><input type="text" class="my-input2" value="' + text + '"></td>' +
  363. '<td class="you-del">删除</td>' +
  364. '</tr>';
  365. $("#" + type + "OptimizeTBody").append(str)
  366. },
  367. saveOptimizeData: function (type) {
  368. var dataList = [];
  369. var tbody = "#" + type + "OptimizeTBody";
  370. $(tbody).find("input").each(function () {
  371. var val = $(this).val();
  372. var id = $(this).data('id');
  373. if (val.length > 0) {
  374. dataList.push({
  375. content: val,
  376. id: id
  377. })
  378. }
  379. });
  380. var ajaxConfig = {
  381. url: '/admin/promote-year-optimize-data-save/sites/' + "{{$siteId}}",
  382. type: 'post',
  383. data: {
  384. dataList: dataList,
  385. type: type
  386. },
  387. success: function (result) {
  388. var resultDataList = result.data;
  389. var html = '';
  390. for (var i = 0; i < resultDataList.length; i++) {
  391. html += '<tr>' +
  392. '<td><input type="text" class="my-input" value="' + resultDataList[i]['content'] + '" data-id="' + resultDataList[i]['id'] + '"></td>' +
  393. '<td class="you-del">删除</td>' +
  394. '</tr>';
  395. }
  396. $(tbody).html(html);
  397. layer.msg("操作成功", {icon: 6, time: 1500});
  398. }
  399. };
  400. tips.ajax(ajaxConfig);
  401. },
  402. saveSocial:function(){
  403. var facebook=[],twitter=[],linkedIn=[],pin=[];
  404. $("#socialTBody").find("[name=facebook]").each(function () {
  405. facebook.push($(this).val());
  406. });
  407. $("#socialTBody").find("[name=twitter]").each(function () {
  408. twitter.push($(this).val());
  409. });
  410. $("#socialTBody").find("[name=linkedIn]").each(function () {
  411. linkedIn.push($(this).val());
  412. });
  413. $("#socialTBody").find("[name=pin]").each(function () {
  414. pin.push($(this).val());
  415. });
  416. var ajaxConfig = {
  417. url: '/admin/promote-year-social-save/sites/' + "{{$siteId}}",
  418. type: 'post',
  419. data: {
  420. facebook: facebook,
  421. linkedIn: linkedIn,
  422. twitter: twitter,
  423. pin: pin,
  424. facebookHide: $("[name=facebook_hide]").prop('checked') ? 1 : 0,
  425. linkedInHide: $("[name=linkedIn_hide]").prop('checked') ? 1 : 0,
  426. twitterHide: $("[name=twitter_hide]").prop('checked') ? 1 : 0,
  427. pinHide: $("[name=pin_hide]").prop('checked') ? 1 : 0
  428. }
  429. };
  430. tips.ajax(ajaxConfig);
  431. },
  432. addSeoItemScope: function () {
  433. var str = '<tr>' +
  434. '<td><input type="text" class="my-input" name="seoItemInput" value=""> <input type="hidden" name="seoItemId" value="0">' +
  435. ' </td>' +
  436. ' <td>' +
  437. ' <a href="javascript:;" style="margin-left: 5px" onclick="utils.delSeoItemScope(this)">删除</a>' +
  438. ' </td>' +
  439. '</tr>';
  440. $("#seoItemScopeBody").append(str)
  441. },
  442. delSeoItemScope: function (_this) {
  443. $(_this).parent().parent().remove()
  444. },
  445. saveSeoItemScope: function () {
  446. var dataList = [];
  447. $("#seoItemScopeBody tr").each(function () {
  448. var seoItemInput = $(this).find("[name=seoItemInput]").val();
  449. var seoItemId = $(this).find("[name=seoItemId]").val();
  450. if (seoItemInput.length > 0) {
  451. dataList.push({
  452. content: seoItemInput,
  453. seoItemId: seoItemId
  454. })
  455. }
  456. });
  457. var ajaxConfig = {
  458. url: '/admin/promote-year-seo-item-scope-save',
  459. type: 'post',
  460. data: {
  461. dataList: dataList
  462. },
  463. success: function (result) {
  464. var config = {
  465. url: "/admin/promote-year-seo-item-scope",
  466. success: function (result) {
  467. var resultDataList = result.data;
  468. var str = '';
  469. for (var i = 0; i < resultDataList.length; i++) {
  470. str += '<tr>' +
  471. '<td><input type="text" class="my-input" name="seoItemInput" value="' + resultDataList[i]['content'] + '"> <input type="hidden" name="seoItemId" value="' + resultDataList[i]['id'] + '">' +
  472. ' </td>' +
  473. ' <td>' +
  474. ' <a href="javascript:;" style="margin-left: 5px" onclick="utils.delSeoItemScope(this)">删除</a>' +
  475. ' </td>' +
  476. '</tr>';
  477. }
  478. $("#seoItemScopeBody").html(str);
  479. layer.msg("操作成功", {icon: 6, time: 1500});
  480. }
  481. };
  482. tips.ajax(config)
  483. }
  484. };
  485. tips.ajax(ajaxConfig);
  486. },
  487. saveSeo: function () {
  488. var checkedItems = [];
  489. $("[name=seo_item]:checked").each(function () {
  490. checkedItems.push($(this).val())
  491. });
  492. var ajaxConfig = {
  493. url: '/admin/promote-year-seo-item-save/sites/' + "{{$siteId}}",
  494. type: 'post',
  495. data: {checked_list: checkedItems}
  496. };
  497. tips.ajax(ajaxConfig);
  498. },
  499. delAnalyzeSummaryScope: function (_this) {
  500. $(_this).parent().parent().remove();
  501. },
  502. addAnalyzeSummaryScope: function () {
  503. var str = '<tr>' +
  504. '<td>' +
  505. '<input type="text" value="" class="my-input" name="analyzeSummaryScopeText">' +
  506. '</td>' +
  507. '<td>' +
  508. '<input type="checkbox" name="analyzeSummaryScopeCheck" style="margin-right: 5px">' +
  509. '<a href="javascript:;" onclick="utils.delAnalyzeSummaryScope(this)">删除</a>' +
  510. '</td>' +
  511. '</tr>';
  512. $("#analyzeSummaryScopeTBody").append(str);
  513. },
  514. saveAnalyzeSummaryScope: function () {
  515. var dataList = [];
  516. var tbody = "#analyzeSummaryScopeTBody";
  517. $(tbody).find("[name=analyzeSummaryScopeText]").each(function () {
  518. var val = $(this).val();
  519. var id = $(this).data('id');
  520. if (val.length > 0) {
  521. dataList.push({
  522. id: id,
  523. content: val
  524. })
  525. }
  526. });
  527. var ajaxConfig = {
  528. url: '/admin/promote-year-analyze-summary-scope-save',
  529. type: 'post',
  530. data: {
  531. dataList: dataList
  532. },
  533. success: function (result) {
  534. var resultDataList = result.data;
  535. var html = '';
  536. for (var i = 0; i < resultDataList.length; i++) {
  537. html += '<tr>' +
  538. ' <td><input type="text" value="' + resultDataList[i]['content'] + '" class="my-input" name="analyzeSummaryScopeText" data-id="' + resultDataList[i]['id'] + '">' +
  539. ' </td>' +
  540. ' <td>' +
  541. ' <input type="checkbox" name="analyzeSummaryScopeCheck" style="margin-right: 5px">' +
  542. ' <a href="javascript:;" onclick="utils.delAnalyzeSummaryScope(this)">删除</a>' +
  543. ' </td>' +
  544. ' </tr>';
  545. }
  546. $(tbody).html(html);
  547. layer.msg("操作成功", {icon: 6, time: 1500});
  548. }
  549. };
  550. tips.ajax(ajaxConfig);
  551. },
  552. addAnalyzeSummary: function () {
  553. var checkedScope = [];
  554. $("#analyzeSummaryScopeTBody tr").find("[name=analyzeSummaryScopeCheck]:checked").each(function () {
  555. checkedScope.push($(this).parent().prev().find("input").val())
  556. });
  557. if (checkedScope.length > 0) {
  558. for (var i = 0; i < checkedScope.length; i++) {
  559. utils.addAnalyzeHtml(checkedScope[i]);
  560. }
  561. } else {
  562. utils.addAnalyzeHtml("");
  563. }
  564. },
  565. addAnalyzeHtml: function (text) {
  566. var str = '<tr>' +
  567. '<td><input type="text" class="my-input2" value="' + text + '"></td>' +
  568. '<td class="you-del">删除</td>' +
  569. '</tr>';
  570. $("#analyzeSummaryTBody").append(str)
  571. },
  572. saveAnalyzeSummary: function () {
  573. var dataList = [];
  574. var tbody = "#analyzeSummaryTBody";
  575. $(tbody).find("input").each(function () {
  576. var val = $(this).val();
  577. var id = $(this).data('id');
  578. if (val.length > 0) {
  579. dataList.push({
  580. content: val,
  581. id: id
  582. })
  583. }
  584. });
  585. var ajaxConfig = {
  586. url: '/admin/promote-year-analyze-summary-save/sites/' + "{{$siteId}}",
  587. type: 'post',
  588. data: {
  589. dataList: dataList
  590. },
  591. success: function (result) {
  592. var resultDataList = result.data;
  593. var html = '';
  594. for (var i = 0; i < resultDataList.length; i++) {
  595. html += '<tr>' +
  596. '<td><input type="text" class="my-input" value="' + resultDataList[i]['content'] + '" data-id="' + resultDataList[i]['id'] + '"></td>' +
  597. '<td class="you-del">删除</td>' +
  598. '</tr>';
  599. }
  600. $(tbody).html(html);
  601. layer.msg("操作成功", {icon: 6, time: 1500});
  602. }
  603. };
  604. tips.ajax(ajaxConfig);
  605. }
  606. };
  607. $(".nav-tabs>li").click(function () {
  608. var index = $(this).index();
  609. $(this).addClass("active");
  610. $(this).siblings().removeClass("active");
  611. $(".ul-content>li").eq(index).addClass("active").siblings().removeClass("active")
  612. });
  613. $(document).on('click', '.you-del', function () {
  614. $(this).parent().remove();
  615. });
  616. </script>
  617. @endsection