customer.blade.php 88 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768
  1. @extends('admin/site/side_layout')
  2. @section('header_extend')
  3. <link href="{{asset('css/plugins/chosen/chosen.css')}}" rel="stylesheet">
  4. <link href="{{asset('css/plugins/switchery/switchery.css')}}" rel="stylesheet">
  5. <style>
  6. .xmxib-titles {
  7. display: block;
  8. width: 100%;
  9. text-align: center;
  10. background: #2a94e0;
  11. color: #fff;
  12. font-size: 24px;
  13. padding: 20px 0;
  14. }
  15. .lists-titles {
  16. display: block;
  17. width: 100%;
  18. text-align: center;
  19. background: #2e8fe0;
  20. color: #fff;
  21. font-size: 18px;
  22. padding: 10px 0;
  23. }
  24. .richtext table {
  25. width: 100%;
  26. }
  27. .richtext table tr td {
  28. padding: 8px 10px;
  29. border: solid 1px #d2d2d2;
  30. word-break: normal;
  31. font-size: 14px;
  32. text-align: center;
  33. }
  34. .input-groups {
  35. /* border-color: #fff; */
  36. }
  37. .richtext table tr td span {
  38. /* color: #e7eaec; */
  39. font-size: 14px;
  40. }
  41. .rights-texts {
  42. font-size: 14px;
  43. color: #ff0000;
  44. }
  45. .td-firsts {
  46. width: 25%;
  47. text-align: right !important;
  48. padding-right: 24px !important;
  49. }
  50. .td-twos {
  51. width: 18%;
  52. }
  53. .td-twos.ons {
  54. text-align: right !important;
  55. padding-right: 24px;
  56. }
  57. .td-threes {
  58. width: 33%;
  59. }
  60. .td-lasts {
  61. width: 20%;
  62. }
  63. .lists-boxs {
  64. display: block;
  65. width: 100%;
  66. text-align: center;
  67. }
  68. .lists-boxs.ons {
  69. text-align: left;
  70. }
  71. .lists {
  72. display: inline-block;
  73. width: auto;
  74. vertical-align: top;
  75. }
  76. .ibox-content {
  77. padding: 0px 12%;
  78. background-color: #fff;
  79. color: inherit;
  80. border-color: #e7eaec;
  81. -webkit-border-image: none;
  82. -o-border-image: none;
  83. border-image: none;
  84. border-style: solid solid none;
  85. border-width: 0 0;
  86. }
  87. .input-groups {
  88. width: 90%;
  89. padding: 2px 10px;
  90. font-size: 12px;
  91. /*color: #ccc;*/
  92. line-height: 20px;
  93. outline: none;
  94. border: none;
  95. }
  96. .tr-hides {
  97. display: none;
  98. }
  99. .btn-primary {
  100. background: #2a94e0;
  101. }
  102. .tabs-left {
  103. width: 16.6666%;
  104. position: fixed;
  105. left: 0;
  106. top: 0;
  107. }
  108. .btns {
  109. width: auto;
  110. border: none;
  111. background: #f3f3f3;
  112. text-transform: uppercase;
  113. border-radius: 4px;
  114. padding: 8px 28px;
  115. color: #1c1c1c;
  116. margin: 10px 0 36px;
  117. }
  118. .btns:hover {
  119. background: #2e8fe0;
  120. color: #fff;
  121. }
  122. .btn-primary.active, .btn-primary:active, .btn-primary:focus, .btn-primary:hover, .open .dropdown-toggle.btn-primary {
  123. background: #2a94e0 !important;
  124. }
  125. .page-tabs a.active i:hover, .page-tabs a.active:hover {
  126. background: #2a94e0 !important;
  127. }
  128. .btn-primary {
  129. background: #2a94e0 !important;
  130. }
  131. .kh-ul-boxs {
  132. padding: 20px 0 28px;
  133. }
  134. .kh-ul-boxs.ons {
  135. height: 104px;
  136. }
  137. .kh-ul-boxs.ons ul {
  138. margin-bottom: 0;
  139. width: 83.3333%;
  140. position: fixed;
  141. right: 0;
  142. top: 0;
  143. background: #fff;
  144. padding: 20px 0 0;
  145. z-index: 2000;
  146. }
  147. .kh-ul-boxs ul {
  148. list-style: none;
  149. text-align: center;
  150. }
  151. .kh-ul-boxs ul li {
  152. list-style: none;
  153. display: inline-block;
  154. vertical-align: top;
  155. padding: 0 20px;
  156. border: 1px solid #e6e6e6;
  157. margin: 10px 8px;
  158. background: #f3f3f3;
  159. color: #1c1c1c;
  160. border-radius: 6px;
  161. line-height: 24px;
  162. }
  163. .kh-ul-boxs ul li a {
  164. color: #1c1c1c;
  165. }
  166. .kh-ul-boxs ul li.active {
  167. background: #2a94e0;
  168. color: #fff;
  169. border-color: #2a94e0;
  170. }
  171. .kh-ul-boxs ul li.active a {
  172. color: #fff;
  173. }
  174. .kh-ul-boxs ul li:hover {
  175. background: #2a94e0;
  176. color: #fff;
  177. border-color: #2a94e0;
  178. }
  179. .kh-ul-boxs ul li:hover a {
  180. color: #fff;
  181. }
  182. .qus-boxs {
  183. display: inline-block;
  184. vertical-align: middle;
  185. position: relative;
  186. }
  187. .qus-boxs:after {
  188. content: '';
  189. display: block;
  190. width: 8px;
  191. height: 8px;
  192. border-radius: 6px;
  193. background: #fff;
  194. position: absolute;
  195. bottom: 30px;
  196. left: 100%;
  197. z-index: -1;
  198. }
  199. .qus-boxs .qus-texts {
  200. display: block;
  201. width: auto;
  202. position: absolute;
  203. bottom: 30px;
  204. left: 100%;
  205. background: #fff;
  206. border: 1px solid #e6e6e6;
  207. font-size: 12px;
  208. min-width: 180px;
  209. padding: 5px 10px;
  210. text-align: left;
  211. opacity: 0;
  212. border-radius: 6px;
  213. z-index: -1;
  214. }
  215. .qus-boxs .qus-texts:before {
  216. content: '';
  217. display: block;
  218. width: 15px;
  219. height: 1px;
  220. background: #e6e6e6;
  221. transform: rotate(-70deg);
  222. position: absolute;
  223. left: -11px;
  224. bottom: -2px;
  225. }
  226. .qus-boxs .qus-texts:after {
  227. content: '';
  228. display: block;
  229. width: 15px;
  230. height: 1px;
  231. background: #e6e6e6;
  232. transform: rotate(-40deg);
  233. position: absolute;
  234. left: -8px;
  235. bottom: -5px;
  236. }
  237. .qus-boxs:hover .qus-texts {
  238. opacity: 1;
  239. z-index: 99;
  240. }
  241. .qus-boxs:hover:after {
  242. z-index: 100;
  243. }
  244. .qus-boxs:hover .qus-texts:hover {
  245. opacity: 0;
  246. z-index: -1;
  247. }
  248. .qus-boxs i {
  249. color: #ff8214;
  250. }
  251. .tr-border-nones td {
  252. border: none !important;
  253. }
  254. .badge-warning, .label-warning {
  255. background-color: #2a94e0 !important;
  256. }
  257. .tabs-left ul li.active {
  258. background-color: #009688 !important;
  259. }
  260. .page-tabs a.active {
  261. background-color: #2a94e0 !important;
  262. }
  263. body {
  264. position: relative;
  265. }
  266. .qwes {
  267. color: #fff;
  268. background: #ff8214;
  269. font-size: 10px;
  270. display: inline-block;
  271. border-radius: 100%;
  272. width: 16px;
  273. height: 16px;
  274. line-height: 16px;
  275. vertical-align: top;
  276. }
  277. </style>
  278. @endsection
  279. @section('right')
  280. <div class="row">
  281. <div class="col-sm-12">
  282. <div class="ibox float-e-margins">
  283. <div class="xmxib-titles">
  284. 项 目 信 息 表
  285. <button class="btn btn-warning" type="button" onclick="units.url()">链接</button>
  286. </div>
  287. <div class="kh-ul-boxs">
  288. <ul>
  289. @hasAuth('customer-site-view')
  290. <li><a href="javascript:;">网站信息</a></li>
  291. @endHasAuth
  292. @hasAuth('customer-base-view')
  293. <li><a href="javascript:;">项目基础信息</a></li>
  294. @endHasAuth
  295. @hasAuth('customer-other-view')
  296. <li><a href="javascript:;">其他项目信息</a></li>
  297. @endHasAuth
  298. @hasAuth('customer-keyword-view')
  299. <li><a href="javascript:;">核心关键词</a></li>
  300. @endHasAuth
  301. @hasAuth('customer-market-view')
  302. <li><a href="javascript:;">营销发布人信息</a></li>
  303. @endHasAuth
  304. @hasAuth('customer-sns-view')
  305. <li><a href="javascript:;">SNS 社交资料</a></li>
  306. @endHasAuth
  307. </ul>
  308. </div>
  309. @hasAuth('customer-site-view')
  310. <div class="ibox-content">
  311. <form class="form-horizontal richtext" id="form1">
  312. <div class="lists-titles" id="site_info">网站信息</div>
  313. <table cellspacing="10px">
  314. <tr>
  315. <td class="td-firsts">
  316. 新域名注册
  317. <div class="qus-boxs">
  318. <i class="fa fa-question-circle" aria-hidden="true"></i>
  319. <div class="qus-texts">
  320. 如需重新注册,请填写意向域名
  321. </div>
  322. </div>
  323. </td>
  324. <td colspan="3">
  325. <div class="hide">
  326. 1. 选择是或者否
  327. 2. 是跳到意向域名填写(不填的,默认为听取引擎力域名建议)
  328. 3.否跳到旧域名信息填写
  329. </div>
  330. <div class="lists-boxs ">
  331. <div class="lists">
  332. 是:<input type="checkbox" class="checkboxs-ones"
  333. checked="checked"
  334. name="domain_type" value="1"/>
  335. </div>
  336. <div class="lists">
  337. 否:<input type="checkbox" class="checkboxs-twos" name="domain_type"
  338. value="2"/>
  339. </div>
  340. </div>
  341. </td>
  342. </tr>
  343. <tr class="tr-hides">
  344. <td class="td-firsts" rowspan="5">
  345. 旧域名信息
  346. <div class="qus-boxs">
  347. <i class="fa fa-question-circle" aria-hidden="true"></i>
  348. <div class="qus-texts">
  349. 如已有域名,请填写域名管理权限
  350. </div>
  351. </div>
  352. </td>
  353. <td class="td-twos">域名:</td>
  354. <td><input class="input-groups" type="text" name="old_domain"
  355. value="{{$additionData->old_domain??''}}"/></td>
  356. </tr>
  357. <tr class="tr-hides">
  358. <td class="td-twos">注册网址:</td>
  359. <td><input class="input-groups" type="text" name="old_url"
  360. value="{{$additionData->old_url??''}}"/></td>
  361. </tr>
  362. <tr class="tr-hides">
  363. <td class="td-twos">登陆账号:</td>
  364. <td><input class="input-groups" type="text" name="old_account"
  365. value="{{$additionData->old_account??''}}"/></td>
  366. </tr>
  367. <tr class="tr-hides">
  368. <td class="td-twos">密码:</td>
  369. <td><input class="input-groups" type="text" name="old_password"
  370. value="{{$additionData->old_password??''}}"/></td>
  371. </tr>
  372. <tr class="tr-hides">
  373. <td class="td-twos">域名到期时间:</td>
  374. <td><input class="input-groups" type="text" name="old_expired"
  375. value="{{$additionData->old_expired??''}}"/></td>
  376. </tr>
  377. <tr class="tr-hides-news">
  378. <td class="td-firsts">
  379. 新域名信息
  380. <div class="qus-boxs">
  381. <i class="fa fa-question-circle" aria-hidden="true"></i>
  382. <div class="qus-texts">
  383. 如已有域名,请填写域名管理权限
  384. </div>
  385. </div>
  386. </td>
  387. <td class="td-twos">域名:</td>
  388. <td><input class="input-groups" type="text" name="new_domain"
  389. value="{{$additionData->new_domain??''}}"/></td>
  390. </tr>
  391. <tr class="tr-hides">
  392. <td class="td-firsts " rowspan="3">
  393. 网站后台账号
  394. <div class="qus-boxs">
  395. <i class="fa fa-question-circle" aria-hidden="true"></i>
  396. <div class="qus-texts">
  397. 站内优化时需用到
  398. </div>
  399. </div>
  400. </td>
  401. <td class="td-twos">后台网址:</td>
  402. <td><input class="input-groups" type="text" name="site_url"
  403. value="{{$additionData->site_url??''}}"/></td>
  404. </tr>
  405. <tr class="tr-hides">
  406. <td class="td-twos">用户名:</td>
  407. <td><input class="input-groups" type="text" name="site_account"
  408. value="{{$additionData->site_account??''}}"/></td>
  409. </tr>
  410. <tr class="tr-hides">
  411. <td class="td-twos">密码:</td>
  412. <td><input class="input-groups" type="text" name="site_password"
  413. value="{{$additionData->site_password??''}}"/></td>
  414. </tr>
  415. <tr class="tr-hides">
  416. <td class="td-firsts" rowspan="5">
  417. FTP
  418. <div class="qus-boxs">
  419. <i class="fa fa-question-circle" aria-hidden="true"></i>
  420. <div class="qus-texts">
  421. ftp账号用于注册webmaster,GA等验证用,如为第三方平台,则后台管理即可
  422. </div>
  423. </div>
  424. </td>
  425. <td class="td-twos">FTP Username:</td>
  426. <td><input class="input-groups" type="text" name="ftp_account"
  427. value="{{$additionData->ftp_account??''}}"/></td>
  428. </tr>
  429. <tr class="tr-hides">
  430. <td class="td-twos">FTP 服务器:</td>
  431. <td><input class="input-groups" type="text" name="ftp_domain"
  432. value="{{$additionData->ftp_domain??''}}"/></td>
  433. </tr>
  434. <tr class="tr-hides">
  435. <td class="td-twos">登录密码:</td>
  436. <td><input class="input-groups" type="text" name="ftp_password"
  437. value="{{$additionData->ftp_password??''}}"/></td>
  438. </tr>
  439. <tr class="tr-hides">
  440. <td class="td-twos">连接端口</td>
  441. <td><input class="input-groups" type="text" name="ftp_port"
  442. value="{{$additionData->ftp_port??''}}"/></td>
  443. </tr>
  444. <tr class="tr-hides">
  445. <td class="td-twos">IP地址:</td>
  446. <td><input class="input-groups" type="text" name="ftp_ip"
  447. value="{{$additionData->ftp_ip??''}}"/></td>
  448. </tr>
  449. @hasAuth('customer-site-edit')
  450. <tr class="tr-border-nones">
  451. <td colspan="4">
  452. <button class="input-groups btns" type="button" onclick="units.addition()">
  453. 网站信息提交
  454. </button>
  455. </td>
  456. </tr>
  457. @endHasAuth
  458. </table>
  459. </form>
  460. </div>
  461. @endHasAuth
  462. @hasAuth('customer-base-view')
  463. <div class="ibox-content">
  464. <form method="get" class="form-horizontal richtext" id="enterpriseForm">
  465. <div class="lists-titles" id="project_base_info">项目基础信息</div>
  466. <table cellspacing="10px">
  467. <tr>
  468. <td class="td-firsts">
  469. 主要出口国家或市场(英文)<span>*</span>
  470. <div class="qus-boxs">
  471. <i class="fa fa-question-circle" aria-hidden="true"></i>
  472. <div class="qus-texts">
  473. 比如South East Asia, Middle East, America, Europe, Russia...
  474. </div>
  475. </div>
  476. </td>
  477. <td colspan="2"><input class="input-groups" type="text" name="export_region"
  478. value="{{$enterpriseData->export_region??''}}"/></td>
  479. </tr>
  480. <tr>
  481. <td class="td-firsts">
  482. 所属行业
  483. <div class="qus-boxs">
  484. <i class="fa fa-question-circle" aria-hidden="true"></i>
  485. <div class="qus-texts">
  486. 可参考B2B平台进行行业划分,比如alibaba.com,可备注多个行业
  487. </div>
  488. </div>
  489. </td>
  490. {{--<td colspan="2"><input class="input-groups" type="text" name="business" value="{{$enterpriseData->business??''}}" /></td>--}}
  491. <td colspan="2">
  492. <select name="business_id" title="" class="form-control"
  493. style="width: 200px;margin-left: 40px">
  494. <option value="">请选择所属行业</option>
  495. @foreach($businesses as $business)
  496. <option value="{{$business->id}}"
  497. @if(($enterpriseData->business_id??null)==$business->id) selected @endif>{{$business->title}}</option>
  498. @endforeach
  499. </select>
  500. </td>
  501. </tr>
  502. <tr>
  503. <td class="td-firsts">
  504. 公司类型
  505. <div class="qus-boxs">
  506. <i class="fa fa-question-circle" aria-hidden="true"></i>
  507. <div class="qus-texts">
  508. 厂商, 贸易商,零售商
  509. </div>
  510. </div>
  511. </td>
  512. {{--<td colspan="2"><input class="input-groups" type="text" name="company_type" value="{{$enterpriseData->company_type??''}}" /></td>--}}
  513. <td colspan="2">
  514. <select name="nature_type" title="" class="form-control"
  515. style="width: 200px;margin-left: 40px">
  516. <option value="">请选择公司类型</option>
  517. @foreach($natures as $nature)
  518. <option value="{{$nature['inx']}}"
  519. @if(($enterpriseData->nature_type??null)==$nature['inx']) selected @endif>{{$nature['val']}}</option>
  520. @endforeach
  521. </select>
  522. </td>
  523. </tr>
  524. <tr>
  525. <td class="td-firsts">
  526. 公司性质
  527. <div class="qus-boxs">
  528. <i class="fa fa-question-circle" aria-hidden="true"></i>
  529. <div class="qus-texts">
  530. 独资, 非营利,个体经营,合营企业,教育机构
  531. </div>
  532. </div>
  533. </td>
  534. <td colspan="2">
  535. <select name="company_nature" title="" class="form-control"
  536. style="width: 200px;margin-left: 40px">
  537. <option value="">请选择公司性质</option>
  538. <option value="1" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==1) selected @endif>独资</option>
  539. <option value="2" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==2) selected @endif>非营利</option>
  540. <option value="3" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==3) selected @endif>个体经营</option>
  541. <option value="4" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==4) selected @endif>合营企业</option>
  542. <option value="5" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==5) selected @endif>教育机构</option>
  543. <option value="6" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==6) selected @endif>上市公司</option>
  544. <option value="7" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==7) selected @endif>私人持股</option>
  545. <option value="8" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==8) selected @endif>政府机构</option>
  546. </select>
  547. </td>
  548. </tr>
  549. <tr>
  550. <td class="td-firsts">
  551. 公司规模
  552. <div class="qus-boxs">
  553. <i class="fa fa-question-circle" aria-hidden="true"></i>
  554. <div class="qus-texts">
  555. 0-1人, 2-10人,11-50人,51-200人,201-500人
  556. </div>
  557. </div>
  558. </td>
  559. <td colspan="2">
  560. <select name="company_size" title="" class="form-control" style="width: 200px;margin-left: 40px">
  561. <option value="">请选择公司规模</option>
  562. <option value="1" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==1) selected @endif>0-1人</option>
  563. <option value="2" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==2) selected @endif>2-10人</option>
  564. <option value="3" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==3) selected @endif>11-50人</option>
  565. <option value="4" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==4) selected @endif>51-200人</option>
  566. <option value="5" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==5) selected @endif>201-500人</option>
  567. <option value="6" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==6) selected @endif>501-1000人</option>
  568. <option value="7" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==7) selected @endif>1001-5000人</option>
  569. <option value="8" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==8) selected @endif>5001-10000人</option>
  570. </select>
  571. </td>
  572. </tr>
  573. <tr>
  574. <td class="td-firsts">
  575. 客户群体<span>*</span>
  576. <div class="qus-boxs">
  577. <i class="fa fa-question-circle" aria-hidden="true"></i>
  578. <div class="qus-texts">
  579. 请详细填写目标客户群体,比如XXX经销商,工厂,公司等
  580. </div>
  581. </div>
  582. </td>
  583. <td colspan="2">
  584. <textarea cols="5" rows="2" class="input-groups" type="text" name="customer_scope"
  585. >{{$enterpriseData->customer_scope??''}}</textarea>
  586. </td>
  587. </tr>
  588. <tr>
  589. <td class="td-firsts">品牌
  590. <div class="qus-boxs">
  591. <i class="fa fa-question-circle" aria-hidden="true"></i>
  592. <div class="qus-texts">
  593. 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
  594. </div>
  595. </div>
  596. </td>
  597. <td colspan="2"><input class="input-groups" type="text" name="brand"
  598. value="{{$enterpriseData->brand??''}}"/></td>
  599. </tr>
  600. <tr>
  601. <td class="td-firsts">
  602. 公司名称(中文)<span>*</span>
  603. <div class="qus-boxs">
  604. <i class="fa fa-question-circle" aria-hidden="true"></i>
  605. <div class="qus-texts">
  606. 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
  607. </div>
  608. </div>
  609. </td>
  610. <td colspan="2"><input class="input-groups" type="text" name="cn_title"
  611. value="{{$enterpriseData->cn_title??''}}"/></td>
  612. </tr>
  613. {{--<tr>--}}
  614. {{--<td class="td-firsts">公司简介(中文)<span>*</span>--}}
  615. {{--<div class="qus-boxs">--}}
  616. {{--<i class="fa fa-question-circle" aria-hidden="true"></i>--}}
  617. {{--<div class="qus-texts">--}}
  618. {{--公司基本信息,做一些B2B平台是会需要填写,请务必提供完整--}}
  619. {{--</div>--}}
  620. {{--</div>--}}
  621. {{--</td>--}}
  622. {{--<td colspan="2">--}}
  623. {{--<textarea cols="5" rows="8" class="input-groups" type="text" name="cn_profile"--}}
  624. {{-->{{$enterpriseData->cn_profile??''}}</textarea>--}}
  625. {{--</td>--}}
  626. {{--</tr>--}}
  627. <tr>
  628. <td class="td-firsts">公司名称(英文)<span>*</span>
  629. <div class="qus-boxs">
  630. <i class="fa fa-question-circle" aria-hidden="true"></i>
  631. <div class="qus-texts">
  632. 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
  633. </div>
  634. </div>
  635. </td>
  636. <td colspan="2"><input class="input-groups" type="text" name="en_title"
  637. value="{{$enterpriseData->en_title??''}}"/></td>
  638. </tr>
  639. <tr>
  640. <td class="td-firsts">公司标语(英文)<span>*</span>
  641. <div class="qus-boxs">
  642. <i class="fa fa-question-circle" aria-hidden="true"></i>
  643. <div class="qus-texts">
  644. 暂无
  645. </div>
  646. </div>
  647. </td>
  648. <td colspan="2">
  649. <textarea cols="5" rows="2" class="input-groups" type="text" name="en_slogan"
  650. >{{$enterpriseData->en_slogan??''}}</textarea>
  651. </td>
  652. </tr>
  653. <tr>
  654. <td class="td-firsts">公司简介(英文,150单词)<span>*</span>
  655. <div class="qus-boxs">
  656. <i class="fa fa-question-circle" aria-hidden="true"></i>
  657. <div class="qus-texts">
  658. 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
  659. </div>
  660. </div>
  661. </td>
  662. <td colspan="2">
  663. <textarea cols="5" rows="8" class="input-groups" type="text" name="en_profile"
  664. >{{$enterpriseData->en_profile??''}}</textarea>
  665. </td>
  666. </tr>
  667. <tr>
  668. <td class="td-firsts">公司地址(中文<span>*</span>
  669. <div class="qus-boxs">
  670. <i class="fa fa-question-circle" aria-hidden="true"></i>
  671. <div class="qus-texts">
  672. 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
  673. </div>
  674. </div>
  675. </td>
  676. <td colspan="2">
  677. <textarea cols="5" rows="2" class="input-groups" type="text" name="cn_address"
  678. >{{$enterpriseData->cn_address??''}}</textarea>
  679. </td>
  680. </tr>
  681. <tr>
  682. <td class="td-firsts">公司地址(英文<span>*</span>
  683. <div class="qus-boxs">
  684. <i class="fa fa-question-circle" aria-hidden="true"></i>
  685. <div class="qus-texts">
  686. 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
  687. </div>
  688. </div>
  689. </td>
  690. <td colspan="2">
  691. <textarea cols="5" rows="2" class="input-groups" type="text" name="en_address"
  692. >{{$enterpriseData->en_address??''}}</textarea>
  693. </td>
  694. </tr>
  695. <tr>
  696. <td class="td-firsts">公司成立时间<span>*</span>
  697. <div class="qus-boxs">
  698. <i class="fa fa-question-circle" aria-hidden="true"></i>
  699. <div class="qus-texts">
  700. 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
  701. </div>
  702. </div>
  703. </td>
  704. <td colspan="2"><input class="input-groups" type="text" name="setup_time"
  705. value="{{$enterpriseData->setup_time??''}}"/></td>
  706. </tr>
  707. <tr>
  708. <td class="td-firsts">邮编<span>*</span>
  709. <div class="qus-boxs">
  710. <i class="fa fa-question-circle" aria-hidden="true"></i>
  711. <div class="qus-texts">
  712. 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
  713. </div>
  714. </div>
  715. </td>
  716. <td colspan="2"><input class="input-groups" type="text" name="postcode"
  717. value="{{$enterpriseData->postcode??''}}"/></td>
  718. </tr>
  719. <tr>
  720. <td class="td-firsts">公司座机<span>*</span>
  721. <div class="qus-boxs">
  722. <i class="fa fa-question-circle" aria-hidden="true"></i>
  723. <div class="qus-texts">
  724. 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
  725. </div>
  726. </div>
  727. </td>
  728. <td colspan="2"><input class="input-groups" type="text" name="line_phone"
  729. value="{{$enterpriseData->line_phone??''}}"/></td>
  730. </tr>
  731. <tr>
  732. <td class="td-firsts">公司传真
  733. <div class="qus-boxs">
  734. <i class="fa fa-question-circle" aria-hidden="true"></i>
  735. <div class="qus-texts">
  736. 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
  737. </div>
  738. </div>
  739. </td>
  740. <td colspan="2"><input class="input-groups" type="text" name="fax"
  741. value="{{$enterpriseData->fax??''}}"/></td>
  742. </tr>
  743. <tr>
  744. <td class="td-firsts">公司邮箱<span>*</span>
  745. <div class="qus-boxs">
  746. <i class="fa fa-question-circle" aria-hidden="true"></i>
  747. <div class="qus-texts">
  748. 接收询盘邮箱,最好使用建站域名邮箱,如无,可先提前设置,一旦网站上线立即开通企业邮箱
  749. </div>
  750. </div>
  751. </td>
  752. <td colspan="2"><input class="input-groups" type="text" name="email"
  753. value="{{$enterpriseData->email??''}}"/></td>
  754. </tr>
  755. <tr class="bgs">
  756. <td class="td-firsts">发货期<span>*</span>
  757. <div class="qus-boxs">
  758. <i class="fa fa-question-circle" aria-hidden="true"></i>
  759. <div class="qus-texts">
  760. 以常规产品为例即可。做一些B2B 平台是会需要填写,请务必提供完整
  761. </div>
  762. </div>
  763. </td>
  764. <td colspan="2"><input class="input-groups" type="text" name="deliver_period"
  765. value="{{$enterpriseData->deliver_period??''}}"/></td>
  766. </tr>
  767. <tr class="bgs">
  768. <td class="td-firsts">供应量<span>*</span>
  769. <div class="qus-boxs">
  770. <i class="fa fa-question-circle" aria-hidden="true"></i>
  771. <div class="qus-texts">
  772. 以常规产品为例即可。做一些B2B 平台是会需要填写,请务必提供完整
  773. </div>
  774. </div>
  775. </td>
  776. <td colspan="2"><input class="input-groups" type="text" name="supply"
  777. value="{{$enterpriseData->supply??''}}"/></td>
  778. </tr>
  779. <tr class="bgs">
  780. <td class="td-firsts">最低供应量<span>*</span>
  781. <div class="qus-boxs">
  782. <i class="fa fa-question-circle" aria-hidden="true"></i>
  783. <div class="qus-texts">
  784. 以常规产品为例即可。做一些B2B 平台是会需要填写,请务必提供完整
  785. </div>
  786. </div>
  787. </td>
  788. <td colspan="2"><input class="input-groups" type="text" name="min_supply"
  789. value="{{$enterpriseData->min_supply??''}}"/></td>
  790. </tr>
  791. <tr class="bgs">
  792. <td class="td-firsts">价格区间<span>*</span>
  793. <div class="qus-boxs">
  794. <i class="fa fa-question-circle" aria-hidden="true"></i>
  795. <div class="qus-texts">
  796. 以常规产品为例即可。做一些B2B 平台是会需要填写,请务必提供完整
  797. </div>
  798. </div>
  799. </td>
  800. <td colspan="2"><input class="input-groups" type="text" name="price_range"
  801. value="{{$enterpriseData->price_range??''}}"/></td>
  802. </tr>
  803. <tr class="bgs">
  804. <td class="td-firsts">包装方式
  805. <div class="qus-boxs">
  806. <i class="fa fa-question-circle" aria-hidden="true"></i>
  807. <div class="qus-texts">
  808. 以常规产品为例即可。做一些B2B 平台是会需要填写,请务必提供完整
  809. </div>
  810. </div>
  811. </td>
  812. <td colspan="2"><input class="input-groups" type="text" name="packing_way"
  813. value="{{$enterpriseData->packing_way??''}}"/></td>
  814. </tr>
  815. <tr class="bgs">
  816. <td class="td-firsts">※支付方式
  817. <div class="qus-boxs">
  818. <i class="fa fa-question-circle" aria-hidden="true"></i>
  819. <div class="qus-texts">
  820. 以常规产品为例即可。做一些B2B 平台是会需要填写,请务必提供完整
  821. </div>
  822. </div>
  823. </td>
  824. <td colspan="2"><input class="input-groups" type="text" name="pay_way"
  825. value="{{$enterpriseData->pay_way??''}}"/></td>
  826. </tr>
  827. <tr>
  828. <td class="td-firsts" rowspan="5">聊天工具有的请填写
  829. <div class="qus-boxs">
  830. <i class="fa fa-question-circle" aria-hidden="true"></i>
  831. <div class="qus-texts">
  832. 主要用于网站在线聊天设计 如有,请提供
  833. </div>
  834. </div>
  835. </td>
  836. <td class="td-twos ons">Skype账号
  837. </td>
  838. <td><input class="input-groups" type="text" name="skype"
  839. value="{{$enterpriseData->skype??''}}"/></td>
  840. </tr>
  841. <tr>
  842. <td class="td-twos ons">Whatsapp手机号
  843. </td>
  844. <td><input class="input-groups" type="text" name="whats_app"
  845. value="{{$enterpriseData->whats_app??''}}"/></td>
  846. </tr>
  847. <tr>
  848. <td class="td-twos ons">Wechat 二维码
  849. </td>
  850. <td style="text-align: left">
  851. {{--<input class="input-groups" type="text" name="wechat"--}}
  852. {{--value="{{$enterpriseData->wechat??''}}"/>--}}
  853. <button type="button" class="btn btn-info" onclick="units.fileUpload(this)">上传二维码
  854. </button>
  855. <input type="file" style="display: none" onchange="units.uploadFile(this)">
  856. <span><img alt="image" class="img-circle"
  857. src="{{$enterpriseData->wechat??''}}"
  858. style="width: 64px;@if(empty($enterpriseData->wechat))display:none;@endif"
  859. id="wechatImg"></span>
  860. </td>
  861. </tr>
  862. <tr>
  863. <td class="td-twos ons">QQ
  864. </td>
  865. <td><input class="input-groups" type="text" name="qq"
  866. value="{{$enterpriseData->qq??''}}"/></td>
  867. </tr>
  868. <tr>
  869. <td class="td-twos ons">其他
  870. </td>
  871. <td>
  872. <textarea class="input-groups" type="text" rows="5"
  873. name="other">{{$enterpriseData->other??''}}</textarea>
  874. </td>
  875. </tr>
  876. @hasAuth('customer-base-edit')
  877. <tr class="tr-border-nones">
  878. <td colspan="4">
  879. <button class="input-groups btns" type="button" onclick="units.enterprise()">
  880. 项目基础信息保存
  881. </button>
  882. </td>
  883. </tr>
  884. @endHasAuth
  885. </table>
  886. </form>
  887. </div>
  888. @endHasAuth
  889. @hasAuth('customer-other-view')
  890. <div class="ibox-content">
  891. <form method="get" class="form-horizontal richtext" id="form3">
  892. <div class="lists-titles" id="other_project_info">其他项目信息</div>
  893. <table cellspacing="10px">
  894. <tr>
  895. <td class="td-firsts" rowspan="3">行业门户网站<span>*</span>
  896. <div class="qus-boxs">
  897. <i class="fa fa-question-circle" aria-hidden="true"></i>
  898. <div class="qus-texts">
  899. 中英文门户网站,用于之后软文撰写和博客引流,多多益善
  900. </div>
  901. </div>
  902. </td>
  903. <td colspan="2">
  904. <input class="input-groups" type="text" name="portal_sites"
  905. value="{{$stationData->portal_sites[0]??''}}"/></td>
  906. </tr>
  907. <tr>
  908. <td colspan="2"><input class="input-groups" type="text" name="portal_sites"
  909. value="{{$stationData->portal_sites[1]??''}}"/></td>
  910. </tr>
  911. <tr>
  912. <td colspan="2"><input class="input-groups" type="text" name="portal_sites"
  913. value="{{$stationData->portal_sites[2]??''}}"/></td>
  914. </tr>
  915. <tr>
  916. <td class="td-firsts" rowspan="4">
  917. 公司其他网站
  918. <div class="qus-boxs">
  919. <i class="fa fa-question-circle" aria-hidden="true"></i>
  920. <div class="qus-texts">
  921. 1. 避免重复内容影响SEO优化
  922. <br/>
  923. 2. 资源合理利用
  924. </div>
  925. </div>
  926. </td>
  927. <td class="td-threes">英文企业网站</td>
  928. <td><input class="input-groups" type="text" name="other_sites"
  929. value="{{$stationData->other_sites[0]??''}}"/></td>
  930. </tr>
  931. <tr>
  932. <td class="td-threes">中文企业网站</td>
  933. <td><input class="input-groups" type="text" name="other_sites"
  934. value="{{$stationData->other_sites[1]??''}}"/></td>
  935. </tr>
  936. <tr>
  937. <td class="td-threes">
  938. 阿里巴巴,全球资源,
  939. 其他B2B 平台
  940. </td>
  941. <td><input class="input-groups" type="text" name="other_sites"
  942. value="{{$stationData->other_sites[2]??''}}"/></td>
  943. </tr>
  944. <tr>
  945. <td class="td-threes">
  946. 其他相关网站
  947. </td>
  948. <td>
  949. <textarea class="input-groups" type="text" rows="5"
  950. name="other_sites">{{$stationData->other_sites[3]??''}}</textarea>
  951. </td>
  952. </tr>
  953. </table>
  954. <br>
  955. <table>
  956. <caption style="text-align: center">竞争对手网址根据套餐数填写<span>*</span>
  957. <div class="qus-boxs">
  958. <i class="fa fa-question-circle" aria-hidden="true"></i>
  959. <div class="qus-texts">
  960. 用于竞争对手分析, 了解其优化状况以及布局关键词
  961. </div>
  962. </div>
  963. </caption>
  964. <thead>
  965. <tr>
  966. <td>网址:</td>
  967. <td>竞争对手备注</td>
  968. <td></td>
  969. </tr>
  970. </thead>
  971. <tbody id="addRivalBody">
  972. @php $stationDataList=$stationData->compete_sites??[] @endphp
  973. @forelse($stationDataList as $item)
  974. <tr>
  975. <td>
  976. <input class="input-groups" type="text" name="compete_sites_url"
  977. value="{{$item['url']??''}}"/>
  978. </td>
  979. <td>
  980. <input class="input-groups" type="text" name="compete_sites_remark"
  981. value="{{$item['remark']??''}}"/>
  982. </td>
  983. <td onclick="units.rmRival(this)">
  984. <i class="fa fa-minus qwes" aria-hidden="true"></i>
  985. </td>
  986. </tr>
  987. @empty
  988. <tr>
  989. <td>
  990. <input class="input-groups" type="text" name="compete_sites_url"
  991. value=""/>
  992. </td>
  993. <td>
  994. <input class="input-groups" type="text" name="compete_sites_remark"
  995. value=""/>
  996. </td>
  997. <td onclick="units.rmRival(this)">
  998. <i class="fa fa-minus qwes" aria-hidden="true"></i>
  999. </td>
  1000. </tr>
  1001. <tr>
  1002. <td>
  1003. <input class="input-groups" type="text" name="compete_sites_url"
  1004. value=""/>
  1005. </td>
  1006. <td>
  1007. <input class="input-groups" type="text" name="compete_sites_remark"
  1008. value=""/>
  1009. </td>
  1010. <td onclick="units.rmRival(this)">
  1011. <i class="fa fa-minus qwes" aria-hidden="true"></i>
  1012. </td>
  1013. </tr>
  1014. @endforelse
  1015. </tbody>
  1016. <tbody>
  1017. <tr>
  1018. <td colspan="3" onclick="units.addRival()"><i class="fa fa-plus qwes"
  1019. aria-hidden="true"></i></td>
  1020. </tr>
  1021. </tbody>
  1022. <tfoot>
  1023. @hasAuth('customer-other-edit')
  1024. <tr class="tr-border-nones">
  1025. <td colspan="3">
  1026. <button class="input-groups btns" type="button" onclick="units.station()">
  1027. 其他项目信息保存
  1028. </button>
  1029. </td>
  1030. </tr>
  1031. @endHasAuth
  1032. </tfoot>
  1033. </table>
  1034. </form>
  1035. </div>
  1036. @endHasAuth
  1037. @hasAuth('customer-keyword-view')
  1038. <div class="ibox-content">
  1039. <form method="get" class="form-horizontal richtext" id="formKeyword">
  1040. <div class="lists-titles" id="key_word">核心关键词</div>
  1041. <table>
  1042. <thead>
  1043. <tr>
  1044. <td colspan="3">
  1045. 主要产品关键词<span>*</span>
  1046. <div class="qus-boxs">
  1047. <i class="fa fa-question-circle" aria-hidden="true"></i>
  1048. <div class="qus-texts">
  1049. 填写核心产品词。
  1050. </div>
  1051. </div>
  1052. <br/>
  1053. 核心关键词(英文)
  1054. </td>
  1055. <td></td>
  1056. </tr>
  1057. </thead>
  1058. <tbody id="keywordBody">
  1059. @php $keywordList=array_chunk($keywordData->keyword??[],3); @endphp
  1060. @forelse($keywordList as $items)
  1061. <tr>
  1062. @foreach($items as $val)
  1063. <td>
  1064. <input class="input-groups" type="text" name="keyword"
  1065. value="{{$val}}"/>
  1066. </td>
  1067. @endforeach
  1068. @php $diff=3-count($items); @endphp
  1069. @for ($i = 0; $i < $diff; $i++)
  1070. <td>
  1071. <input class="input-groups" type="text" name="keyword"
  1072. value=""/>
  1073. </td>
  1074. @endfor
  1075. <td onclick="units.rmKeyword(this)"><i class="fa fa-minus qwes"
  1076. aria-hidden="true"></i></td>
  1077. </tr>
  1078. @empty
  1079. <tr>
  1080. @for ($i = 0; $i < 3; $i++)
  1081. <td>
  1082. <input class="input-groups" type="text" name="keyword"
  1083. value=""/>
  1084. </td>
  1085. @endfor
  1086. <td onclick="units.rmKeyword(this)"><i class="fa fa-minus qwes"
  1087. aria-hidden="true"></i></td>
  1088. </tr>
  1089. <tr>
  1090. @for ($i = 0; $i < 3; $i++)
  1091. <td>
  1092. <input class="input-groups" type="text" name="keyword"
  1093. value=""/>
  1094. </td>
  1095. @endfor
  1096. <td onclick="units.rmKeyword(this)"><i class="fa fa-minus qwes"
  1097. aria-hidden="true"></i></td>
  1098. </tr>
  1099. @endforelse
  1100. </tbody>
  1101. <tbody>
  1102. <tr>
  1103. <td colspan="4" onclick="units.addKeyword()"><i class="fa fa-plus qwes"
  1104. aria-hidden="true"></i></td>
  1105. </tr>
  1106. </tbody>
  1107. <tfoot>
  1108. @hasAuth('customer-keyword-edit')
  1109. <tr class="tr-border-nones">
  1110. <td colspan="4" style="text-align: center">
  1111. <button class="input-groups btns" type="button" onclick="units.keyword()">
  1112. 关键词保存
  1113. </button>
  1114. </td>
  1115. </tr>
  1116. @endHasAuth
  1117. </tfoot>
  1118. </table>
  1119. </form>
  1120. </div>
  1121. @endHasAuth
  1122. @hasAuth('customer-market-view')
  1123. <div class="ibox-content">
  1124. <form method="get" class="form-horizontal richtext" id="marketerForm">
  1125. <div class="lists-titles" id="marketing_info">营销发布人信息</div>
  1126. <table cellspacing="10px">
  1127. <tr>
  1128. <td class="td-firsts">联系人英文姓、名
  1129. <div class="qus-boxs">
  1130. <i class="fa fa-question-circle" aria-hidden="true"></i>
  1131. <div class="qus-texts">
  1132. 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
  1133. </div>
  1134. </div>
  1135. </td>
  1136. <td colspan="2"><input class="input-groups" type="text" name="en_name"
  1137. value="{{$marketerData->en_name??''}}"/></td>
  1138. </tr>
  1139. <tr>
  1140. <td class="td-firsts">联系人简介(英文,100个单词左右,如公司职位,爱好,座右铭等)
  1141. <div class="qus-boxs">
  1142. <i class="fa fa-question-circle" aria-hidden="true"></i>
  1143. <div class="qus-texts">
  1144. 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
  1145. </div>
  1146. </div>
  1147. </td>
  1148. <td colspan="2"><input class="input-groups" type="text" name="en_profile"
  1149. value="{{$marketerData->en_profile??''}}"/></td>
  1150. </tr>
  1151. <tr>
  1152. <td class="td-firsts">联系人出生年月
  1153. <div class="qus-boxs">
  1154. <i class="fa fa-question-circle" aria-hidden="true"></i>
  1155. <div class="qus-texts">
  1156. 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
  1157. </div>
  1158. </div>
  1159. </td>
  1160. <td colspan="2"><input class="input-groups" type="text" name="birthday"
  1161. value="{{$marketerData->birthday??''}}"/></td>
  1162. </tr>
  1163. <tr>
  1164. <td class="td-firsts">联系人性别
  1165. <div class="qus-boxs">
  1166. <i class="fa fa-question-circle" aria-hidden="true"></i>
  1167. <div class="qus-texts">
  1168. 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
  1169. </div>
  1170. </div>
  1171. </td>
  1172. <td colspan="2"><input class="input-groups" type="text" name="sex_text"
  1173. value="{{$marketerData->sex_text??''}}"/></td>
  1174. </tr>
  1175. <tr>
  1176. <td class="td-firsts">联系人职位
  1177. <div class="qus-boxs">
  1178. <i class="fa fa-question-circle" aria-hidden="true"></i>
  1179. <div class="qus-texts">
  1180. 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
  1181. </div>
  1182. </div>
  1183. </td>
  1184. <td colspan="2"><input class="input-groups" type="text" name="position"
  1185. value="{{$marketerData->position??''}}"/></td>
  1186. </tr>
  1187. <tr>
  1188. <td class="td-firsts">联系人部门
  1189. <div class="qus-boxs">
  1190. <i class="fa fa-question-circle" aria-hidden="true"></i>
  1191. <div class="qus-texts">
  1192. 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
  1193. </div>
  1194. </div>
  1195. </td>
  1196. <td colspan="2"><input class="input-groups" type="text" name="department"
  1197. value="{{$marketerData->department??''}}"/></td>
  1198. </tr>
  1199. <tr>
  1200. <td class="td-firsts">联系人电话
  1201. <div class="qus-boxs">
  1202. <i class="fa fa-question-circle" aria-hidden="true"></i>
  1203. <div class="qus-texts">
  1204. 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
  1205. </div>
  1206. </div>
  1207. </td>
  1208. <td colspan="2"><input class="input-groups" type="text" name="contact"
  1209. value="{{$marketerData->contact??''}}"/></td>
  1210. </tr>
  1211. <tr>
  1212. <td rowspan="3" class="td-firsts">企业邮箱外链用(选填
  1213. <div class="qus-boxs">
  1214. <i class="fa fa-question-circle" aria-hidden="true"></i>
  1215. <div class="qus-texts">
  1216. 单独开通邮箱账号供优化服务公司用于某些平台的外链发布,比如B2B
  1217. </div>
  1218. </div>
  1219. </td>
  1220. <td class="td-twos">登陆地址:</td>
  1221. <td><input class="input-groups" type="text" name="enterprise_login_url"
  1222. value="{{$marketerData->enterprise_login_url??''}}"/></td>
  1223. </tr>
  1224. <tr>
  1225. <td class="td-twos">邮箱:</td>
  1226. <td><input class="input-groups" type="text" name="enterprise_email"
  1227. value="{{$marketerData->enterprise_email??''}}"/></td>
  1228. </tr>
  1229. <tr>
  1230. <td class="td-twos">密码:</td>
  1231. <td><input class="input-groups" type="text" name="enterprise_email_password"
  1232. value="{{$marketerData->enterprise_email_password??''}}"/></td>
  1233. </tr>
  1234. <tr>
  1235. <td rowspan="4" class="td-firsts"><span>Gmail*</span>
  1236. <div class="qus-boxs">
  1237. <i class="fa fa-question-circle" aria-hidden="true"></i>
  1238. <div class="qus-texts">
  1239. 此邮箱将用于外链发布,邮件往来请不要涉及公司重要信息,可供我司随意使用
  1240. </div>
  1241. </div>
  1242. </td>
  1243. <td class="td-twos">邮箱:</td>
  1244. <td><input class="input-groups" type="text" name="gmail_account"
  1245. value="{{$marketerData->gmail_account??''}}"/></td>
  1246. </tr>
  1247. <tr>
  1248. <td class="td-twos">密码:</td>
  1249. <td><input class="input-groups" type="text" name="gmail_password"
  1250. value="{{$marketerData->gmail_password??''}}"/></td>
  1251. </tr>
  1252. <tr>
  1253. <td class="td-twos">验证手机号码:</td>
  1254. <td><input class="input-groups" type="text" name="gmail_contact"
  1255. value="{{$marketerData->gmail_contact??''}}"/></td>
  1256. </tr>
  1257. <tr>
  1258. <td class="td-twos">辅助邮箱</td>
  1259. <td><input class="input-groups" type="text" name="gmail_assist"
  1260. value="{{$marketerData->gmail_assist??''}}"/></td>
  1261. </tr>
  1262. @hasAuth('customer-market-edit')
  1263. <tr class="tr-border-nones">
  1264. <td colspan="4">
  1265. <button class="input-groups btns" type="button" onclick="units.marketer()">
  1266. 营销平台信息保存
  1267. </button>
  1268. </td>
  1269. </tr>
  1270. @endHasAuth
  1271. </table>
  1272. </form>
  1273. </div>
  1274. @endHasAuth
  1275. @hasAuth('customer-sns-view')
  1276. <div class="ibox-content">
  1277. <form method="get" class="form-horizontal richtext" id="snsForm">
  1278. <div class="lists-titles" id="sns_material">
  1279. SNS 社交资料
  1280. <a style="margin-left: 20px;color: white" target="_blank" href="/admin/sites/customer/sns-export?siteId={{$siteId}}">下载</a>
  1281. </div>
  1282. <table cellspacing="10px">
  1283. <tr>
  1284. <td rowspan="3" class="td-firsts ons">Youtube</td>
  1285. <td class="td-twos">展示url地址:</td>
  1286. <td><input class="input-groups" type="text" name="youtube_url"
  1287. value="{{$snsData->youtube_url??''}}"/></td>
  1288. </tr>
  1289. <tr>
  1290. <td class="td-twos">用户名(登入邮箱):</td>
  1291. <td><input class="input-groups" type="text" name="youtube_account"
  1292. value="{{$snsData->youtube_account??''}}"/></td>
  1293. </tr>
  1294. <tr>
  1295. <td class="td-twos">密码:</td>
  1296. <td><input class="input-groups" type="text" name="youtube_password"
  1297. value="{{$snsData->youtube_password??''}}"/></td>
  1298. </tr>
  1299. <tr>
  1300. <td rowspan="4" class="td-firsts ons">Facebook</td>
  1301. <td class="td-twos">个人页面展示url地址:</td>
  1302. <td><input class="input-groups" type="text" name="facebook_my_url"
  1303. value="{{$snsData->facebook_my_url??''}}"/></td>
  1304. </tr>
  1305. <tr>
  1306. <td class="td-twos">企业page展示url地址:</td>
  1307. <td><input class="input-groups" type="text" name="facebook_url"
  1308. value="{{$snsData->facebook_url??''}}"/></td>
  1309. </tr>
  1310. <tr>
  1311. <td class="td-twos">用户名(登入邮箱):</td>
  1312. <td><input class="input-groups" type="text" name="facebook_account"
  1313. value="{{$snsData->facebook_account??''}}"/></td>
  1314. </tr>
  1315. <tr>
  1316. <td class="td-twos">密码:</td>
  1317. <td><input class="input-groups" type="text" name="facebook_password"
  1318. value="{{$snsData->facebook_password??''}}"/></td>
  1319. </tr>
  1320. <tr>
  1321. <td rowspan="3" class="td-firsts ons">Twitter</td>
  1322. <td class="td-twos">展示url地址:</td>
  1323. <td><input class="input-groups" type="text" name="twitter_url"
  1324. value="{{$snsData->twitter_url??''}}"/></td>
  1325. </tr>
  1326. <tr>
  1327. <td class="td-twos">用户名(登入邮箱):</td>
  1328. <td><input class="input-groups" type="text" name="twitter_account"
  1329. value="{{$snsData->twitter_account??''}}"/></td>
  1330. </tr>
  1331. <tr>
  1332. <td class="td-twos">密码:</td>
  1333. <td><input class="input-groups" type="text" name="twitter_password"
  1334. value="{{$snsData->twitter_password??''}}"/></td>
  1335. </tr>
  1336. <tr>
  1337. <td rowspan="4" class="td-firsts ons">Linkedin</td>
  1338. <td class="td-twos">个人页面展示url地址:</td>
  1339. <td><input class="input-groups" type="text" name="linkedin_my_url"
  1340. value="{{$snsData->linkedin_my_url??''}}"/></td>
  1341. </tr>
  1342. <tr>
  1343. <td class="td-twos">企业page展示url地址:</td>
  1344. <td><input class="input-groups" type="text" name="linkedin_url"
  1345. value="{{$snsData->linkedin_url??''}}"/></td>
  1346. </tr>
  1347. <tr>
  1348. <td class="td-twos">用户名(登入邮箱):</td>
  1349. <td><input class="input-groups" type="text" name="linkedin_account"
  1350. value="{{$snsData->linkedin_account??''}}"/></td>
  1351. </tr>
  1352. <tr>
  1353. <td class="td-twos">密码:</td>
  1354. <td><input class="input-groups" type="text" name="linkedin_password"
  1355. value="{{$snsData->linkedin_password??''}}"/></td>
  1356. </tr>
  1357. <tr>
  1358. <td rowspan="3" class="td-firsts ons">Pinterst</td>
  1359. <td class="td-twos">展示url地址:</td>
  1360. <td><input class="input-groups" type="text" name="pinterst_url"
  1361. value="{{$snsData->pinterst_url??''}}"/></td>
  1362. </tr>
  1363. <tr>
  1364. <td class="td-twos">用户名(登入邮箱):</td>
  1365. <td><input class="input-groups" type="text" name="pinterst_account"
  1366. value="{{$snsData->pinterst_account??''}}"/></td>
  1367. </tr>
  1368. <tr>
  1369. <td class="td-twos">密码:</td>
  1370. <td><input class="input-groups" type="text" name="pinterst_password"
  1371. value="{{$snsData->pinterst_password??''}}"/></td>
  1372. </tr>
  1373. @hasAuth('customer-sns-edit')
  1374. <tr class="tr-border-nones">
  1375. <td colspan="4">
  1376. <button class="input-groups btns" type="button" onclick="units.sns()">社交信息保存
  1377. </button>
  1378. </td>
  1379. </tr>
  1380. @endHasAuth
  1381. </table>
  1382. </form>
  1383. </div>
  1384. @endHasAuth
  1385. </div>
  1386. </div>
  1387. </div>
  1388. @endsection
  1389. @section('footer_extend')
  1390. <script src="{{asset('js/plugins/chosen/chosen.jquery.js')}}"></script>
  1391. <script src="{{asset('js/plugins/switchery/switchery.js')}}"></script>
  1392. <script src="{{asset('js/plugins/layDate-v5.0.9/laydate/laydate.js')}}"></script>
  1393. <script>
  1394. var units = {
  1395. addRival: function () {
  1396. var str = '<tr>' +
  1397. '<td><input class="input-groups" type="text" name="compete_sites_url" value=""/></td>' +
  1398. '<td><input class="input-groups" type="text" name="compete_sites_remark" value=""/></td>' +
  1399. '<td onclick="units.rmRival(this)"><i class="fa fa-minus qwes" aria-hidden="true"></i></td>' +
  1400. '</tr>';
  1401. $("#addRivalBody").append(str);
  1402. },
  1403. rmRival: function (_this) {
  1404. $(_this).parent().remove();
  1405. },
  1406. addKeyword: function () {
  1407. var str = '<tr>' +
  1408. '<td>' +
  1409. '<input class="input-groups" type="text" name="keyword" value=""/>' +
  1410. '</td>' +
  1411. '<td>' +
  1412. '<input class="input-groups" type="text" name="keyword" value=""/>' +
  1413. '</td>' +
  1414. '<td>' +
  1415. '<input class="input-groups" type="text" name="keyword" value=""/>' +
  1416. '</td>' +
  1417. '<td onclick="units.rmKeyword(this)"><i class="fa fa-minus qwes" aria-hidden="true"></i></td>' +
  1418. '</tr>';
  1419. $("#keywordBody").append(str);
  1420. },
  1421. rmKeyword: function (_this) {
  1422. $(_this).parent().remove();
  1423. },
  1424. siteId: '{{$siteId}}',
  1425. addition: function () {
  1426. var data = {addition: tips.getFormValues("#form1")};
  1427. data.act = 'addition';
  1428. var config = {url: '/admin/sites/' + units.siteId + '/customer', type: 'put', data: data};
  1429. tips.ajax(config);
  1430. },
  1431. keyword: function () {
  1432. var keyword = [];
  1433. $("[name=keyword]").each(function () {
  1434. if ($(this).val().length > 0) {
  1435. keyword.push($(this).val());
  1436. }
  1437. });
  1438. var data = {keyword: keyword};
  1439. data.act = 'keyword';
  1440. var config = {url: '/admin/sites/' + units.siteId + '/customer', type: 'put', data: data};
  1441. tips.ajax(config);
  1442. },
  1443. url: function () {
  1444. var config = {
  1445. url: '/admin/sites/customer-identify?siteId=' + units.siteId,
  1446. success: function (result) {
  1447. var str = 'https://admin.yinqingli.com/sites/customer-alone?identify=';
  1448. window.open(str + result.data);
  1449. }
  1450. };
  1451. tips.ajax(config);
  1452. },
  1453. station: function () {
  1454. var portal_sites = [], other_sites = [];
  1455. $("[name=portal_sites]").each(function () {
  1456. portal_sites.push($(this).val());
  1457. });
  1458. $("[name=other_sites]").each(function () {
  1459. other_sites.push($(this).val());
  1460. });
  1461. var compete_sites = [];
  1462. $("#addRivalBody").find("tr").each(function () {
  1463. var compete_sites_url = $(this).find("[name=compete_sites_url]").val();
  1464. var compete_sites_remark = $(this).find("[name=compete_sites_remark]").val()
  1465. if (compete_sites_url.length > 0 || compete_sites_remark.length > 0) {
  1466. compete_sites.push({
  1467. url: compete_sites_url,
  1468. remark: compete_sites_remark
  1469. });
  1470. }
  1471. });
  1472. var data = {
  1473. station: {
  1474. portal_sites: portal_sites,
  1475. other_sites: other_sites,
  1476. compete_sites: compete_sites
  1477. }
  1478. };
  1479. data.act = 'station';
  1480. var config = {url: '/admin/sites/' + units.siteId + '/customer', type: 'put', data: data};
  1481. tips.ajax(config);
  1482. },
  1483. enterprise: function () {
  1484. var data = {enterprise: tips.getFormValues("#enterpriseForm")};
  1485. data.enterprise.wechat = $("#wechatImg").attr('src');
  1486. data.act = 'enterprise';
  1487. var config = {url: '/admin/sites/' + units.siteId + '/customer', type: 'put', data: data};
  1488. tips.ajax(config);
  1489. },
  1490. marketer: function () {
  1491. var data = {marketer: tips.getFormValues("#marketerForm")};
  1492. data.act = 'marketer';
  1493. var config = {url: '/admin/sites/' + units.siteId + '/customer', type: 'put', data: data};
  1494. tips.ajax(config);
  1495. },
  1496. sns: function () {
  1497. var data = {sns: tips.getFormValues("#snsForm")};
  1498. data.act = 'sns';
  1499. var config = {url: '/admin/sites/' + units.siteId + '/customer', type: 'put', data: data};
  1500. tips.ajax(config);
  1501. },
  1502. fileUpload: function (_this) {
  1503. $(_this).next().trigger('click')
  1504. },
  1505. uploadFile: function (_this) {
  1506. var config = {
  1507. url: '/admin/tool/upload'
  1508. };
  1509. config.success = function (result) {
  1510. layer.msg(result.message, {icon: 6, time: 1500});
  1511. var img = $("#wechatImg");
  1512. img.attr('src', result.data.file_url);
  1513. img.css('display', '');
  1514. };
  1515. tips.fileUpload(_this, config);
  1516. }
  1517. };
  1518. var config = {".chosen-select": {}};
  1519. for (var selector in config) $(selector).chosen(config[selector]);
  1520. var jsSwitch = document.querySelector(".js-switch");
  1521. new Switchery(jsSwitch, {color: "#1AB394", size: 'small'});
  1522. $(document).on('click', '#save', function () {
  1523. var id = $(this).data('id');
  1524. var url = '/system/user';
  1525. var type = 'post';
  1526. if (id > 0) { //编辑
  1527. url += '/' + id;
  1528. type = 'put';
  1529. }
  1530. var data = tips.getFormValues('#form');
  1531. data.status = jsSwitch.checked ? 1 : 0;
  1532. var ajaxConfig = {
  1533. url: url,
  1534. type: type,
  1535. data: data,
  1536. success: function (result) {
  1537. layer.msg(result.message, {icon: 6, time: 3000}, function () {
  1538. tips.closeParentLayer();
  1539. window.parent.tips.tableRefresh('#table');
  1540. });
  1541. }
  1542. };
  1543. tips.ajax(ajaxConfig);
  1544. });
  1545. laydate.render({
  1546. elem: '#order_at', //指定元素
  1547. type: 'datetime'
  1548. });
  1549. @if(($additionData->domain_type??null)!=2) //第一次获取选中是
  1550. $(".tr-hides-news").show();
  1551. $(".tr-hides").hide();
  1552. $(".lists-boxs .lists .checkboxs-ones").attr("checked", "checked");
  1553. $(".lists-boxs .lists .checkboxs-twos").removeAttr("checked");
  1554. @else
  1555. $(".tr-hides-news").hide();
  1556. $(".tr-hides").show();
  1557. $(".lists-boxs .lists .checkboxs-twos").attr("checked", "checked");
  1558. $(".lists-boxs .lists .checkboxs-ones").removeAttr("checked");
  1559. @endif
  1560. $(".lists-boxs .lists .checkboxs-ones").click(function () {
  1561. $(".tr-hides-news").show();
  1562. $(".tr-hides").hide();
  1563. $(this).attr("checked", "checked");
  1564. $(".lists-boxs .lists .checkboxs-twos").removeAttr("checked");
  1565. });
  1566. $(".lists-boxs .lists .checkboxs-twos").click(function () {
  1567. $(".tr-hides-news").hide();
  1568. $(".tr-hides").show();
  1569. $(this).attr("checked", "checked");
  1570. $(".lists-boxs .lists .checkboxs-ones").removeAttr("checked");
  1571. });
  1572. $(window).scrollTop(0);
  1573. $(window).scroll(function () {
  1574. var scrollHeight = 100;
  1575. if ($(window).scrollTop() > scrollHeight) {
  1576. $(".kh-ul-boxs").addClass("ons");
  1577. } else {
  1578. $(".kh-ul-boxs").removeClass("ons");
  1579. }
  1580. ;
  1581. });
  1582. // $(".kh-ul-boxs ul li").click(function(){
  1583. // $(this).addClass("active").siblings().removeClass("active");
  1584. // });
  1585. $(".kh-ul-boxs ul li").click(function () {
  1586. var i = $(this).index();
  1587. $(this).addClass("active").siblings().removeClass("active");
  1588. var _he = 40;
  1589. if ($(window).width() < 769) {
  1590. _he = 40;
  1591. }
  1592. $(this).addClass("active").siblings().removeClass("active");
  1593. if (i == 0) {
  1594. var _height = document.getElementById("site_info").offsetTop - _he;
  1595. } else if (i == 1) {
  1596. var _height = document.getElementById("project_base_info").offsetTop - _he;
  1597. } else if (i == 2) {
  1598. var _height = document.getElementById("other_project_info").offsetTop - _he;
  1599. } else if (i == 3) {
  1600. var _height = document.getElementById("key_word").offsetTop - _he;
  1601. } else if (i == 4) {
  1602. var _height = document.getElementById("marketing_info").offsetTop - _he;
  1603. } else {
  1604. var _height = document.getElementById("sns_material").offsetTop - _he;
  1605. }
  1606. console.log(i);
  1607. console.log(_height);
  1608. $('html,body').animate({scrollTop: _height}, 1000);
  1609. });
  1610. </script>
  1611. @endsection