1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768 |
- @extends('admin/site/side_layout')
- @section('header_extend')
- <link href="{{asset('css/plugins/chosen/chosen.css')}}" rel="stylesheet">
- <link href="{{asset('css/plugins/switchery/switchery.css')}}" rel="stylesheet">
- <style>
- .xmxib-titles {
- display: block;
- width: 100%;
- text-align: center;
- background: #2a94e0;
- color: #fff;
- font-size: 24px;
- padding: 20px 0;
- }
- .lists-titles {
- display: block;
- width: 100%;
- text-align: center;
- background: #2e8fe0;
- color: #fff;
- font-size: 18px;
- padding: 10px 0;
- }
- .richtext table {
- width: 100%;
- }
- .richtext table tr td {
- padding: 8px 10px;
- border: solid 1px #d2d2d2;
- word-break: normal;
- font-size: 14px;
- text-align: center;
- }
- .input-groups {
- /* border-color: #fff; */
- }
- .richtext table tr td span {
- /* color: #e7eaec; */
- font-size: 14px;
- }
- .rights-texts {
- font-size: 14px;
- color: #ff0000;
- }
- .td-firsts {
- width: 25%;
- text-align: right !important;
- padding-right: 24px !important;
- }
- .td-twos {
- width: 18%;
- }
- .td-twos.ons {
- text-align: right !important;
- padding-right: 24px;
- }
- .td-threes {
- width: 33%;
- }
- .td-lasts {
- width: 20%;
- }
- .lists-boxs {
- display: block;
- width: 100%;
- text-align: center;
- }
- .lists-boxs.ons {
- text-align: left;
- }
- .lists {
- display: inline-block;
- width: auto;
- vertical-align: top;
- }
- .ibox-content {
- padding: 0px 12%;
- background-color: #fff;
- color: inherit;
- border-color: #e7eaec;
- -webkit-border-image: none;
- -o-border-image: none;
- border-image: none;
- border-style: solid solid none;
- border-width: 0 0;
- }
- .input-groups {
- width: 90%;
- padding: 2px 10px;
- font-size: 12px;
- /*color: #ccc;*/
- line-height: 20px;
- outline: none;
- border: none;
- }
- .tr-hides {
- display: none;
- }
- .btn-primary {
- background: #2a94e0;
- }
- .tabs-left {
- width: 16.6666%;
- position: fixed;
- left: 0;
- top: 0;
- }
- .btns {
- width: auto;
- border: none;
- background: #f3f3f3;
- text-transform: uppercase;
- border-radius: 4px;
- padding: 8px 28px;
- color: #1c1c1c;
- margin: 10px 0 36px;
- }
- .btns:hover {
- background: #2e8fe0;
- color: #fff;
- }
- .btn-primary.active, .btn-primary:active, .btn-primary:focus, .btn-primary:hover, .open .dropdown-toggle.btn-primary {
- background: #2a94e0 !important;
- }
- .page-tabs a.active i:hover, .page-tabs a.active:hover {
- background: #2a94e0 !important;
- }
- .btn-primary {
- background: #2a94e0 !important;
- }
- .kh-ul-boxs {
- padding: 20px 0 28px;
- }
- .kh-ul-boxs.ons {
- height: 104px;
- }
- .kh-ul-boxs.ons ul {
- margin-bottom: 0;
- width: 83.3333%;
- position: fixed;
- right: 0;
- top: 0;
- background: #fff;
- padding: 20px 0 0;
- z-index: 2000;
- }
- .kh-ul-boxs ul {
- list-style: none;
- text-align: center;
- }
- .kh-ul-boxs ul li {
- list-style: none;
- display: inline-block;
- vertical-align: top;
- padding: 0 20px;
- border: 1px solid #e6e6e6;
- margin: 10px 8px;
- background: #f3f3f3;
- color: #1c1c1c;
- border-radius: 6px;
- line-height: 24px;
- }
- .kh-ul-boxs ul li a {
- color: #1c1c1c;
- }
- .kh-ul-boxs ul li.active {
- background: #2a94e0;
- color: #fff;
- border-color: #2a94e0;
- }
- .kh-ul-boxs ul li.active a {
- color: #fff;
- }
- .kh-ul-boxs ul li:hover {
- background: #2a94e0;
- color: #fff;
- border-color: #2a94e0;
- }
- .kh-ul-boxs ul li:hover a {
- color: #fff;
- }
- .qus-boxs {
- display: inline-block;
- vertical-align: middle;
- position: relative;
- }
- .qus-boxs:after {
- content: '';
- display: block;
- width: 8px;
- height: 8px;
- border-radius: 6px;
- background: #fff;
- position: absolute;
- bottom: 30px;
- left: 100%;
- z-index: -1;
- }
- .qus-boxs .qus-texts {
- display: block;
- width: auto;
- position: absolute;
- bottom: 30px;
- left: 100%;
- background: #fff;
- border: 1px solid #e6e6e6;
- font-size: 12px;
- min-width: 180px;
- padding: 5px 10px;
- text-align: left;
- opacity: 0;
- border-radius: 6px;
- z-index: -1;
- }
- .qus-boxs .qus-texts:before {
- content: '';
- display: block;
- width: 15px;
- height: 1px;
- background: #e6e6e6;
- transform: rotate(-70deg);
- position: absolute;
- left: -11px;
- bottom: -2px;
- }
- .qus-boxs .qus-texts:after {
- content: '';
- display: block;
- width: 15px;
- height: 1px;
- background: #e6e6e6;
- transform: rotate(-40deg);
- position: absolute;
- left: -8px;
- bottom: -5px;
- }
- .qus-boxs:hover .qus-texts {
- opacity: 1;
- z-index: 99;
- }
- .qus-boxs:hover:after {
- z-index: 100;
- }
- .qus-boxs:hover .qus-texts:hover {
- opacity: 0;
- z-index: -1;
- }
- .qus-boxs i {
- color: #ff8214;
- }
- .tr-border-nones td {
- border: none !important;
- }
- .badge-warning, .label-warning {
- background-color: #2a94e0 !important;
- }
- .tabs-left ul li.active {
- background-color: #009688 !important;
- }
- .page-tabs a.active {
- background-color: #2a94e0 !important;
- }
- body {
- position: relative;
- }
- .qwes {
- color: #fff;
- background: #ff8214;
- font-size: 10px;
- display: inline-block;
- border-radius: 100%;
- width: 16px;
- height: 16px;
- line-height: 16px;
- vertical-align: top;
- }
- </style>
- @endsection
- @section('right')
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="xmxib-titles">
- 项 目 信 息 表
- <button class="btn btn-warning" type="button" onclick="units.url()">链接</button>
- </div>
- <div class="kh-ul-boxs">
- <ul>
- @hasAuth('customer-site-view')
- <li><a href="javascript:;">网站信息</a></li>
- @endHasAuth
- @hasAuth('customer-base-view')
- <li><a href="javascript:;">项目基础信息</a></li>
- @endHasAuth
- @hasAuth('customer-other-view')
- <li><a href="javascript:;">其他项目信息</a></li>
- @endHasAuth
- @hasAuth('customer-keyword-view')
- <li><a href="javascript:;">核心关键词</a></li>
- @endHasAuth
- @hasAuth('customer-market-view')
- <li><a href="javascript:;">营销发布人信息</a></li>
- @endHasAuth
- @hasAuth('customer-sns-view')
- <li><a href="javascript:;">SNS 社交资料</a></li>
- @endHasAuth
- </ul>
- </div>
- @hasAuth('customer-site-view')
- <div class="ibox-content">
- <form class="form-horizontal richtext" id="form1">
- <div class="lists-titles" id="site_info">网站信息</div>
- <table cellspacing="10px">
- <tr>
- <td class="td-firsts">
- 新域名注册
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 如需重新注册,请填写意向域名
- </div>
- </div>
- </td>
- <td colspan="3">
- <div class="hide">
- 1. 选择是或者否
- 2. 是跳到意向域名填写(不填的,默认为听取引擎力域名建议)
- 3.否跳到旧域名信息填写
- </div>
- <div class="lists-boxs ">
- <div class="lists">
- 是:<input type="checkbox" class="checkboxs-ones"
- checked="checked"
- name="domain_type" value="1"/>
- </div>
- <div class="lists">
- 否:<input type="checkbox" class="checkboxs-twos" name="domain_type"
- value="2"/>
- </div>
- </div>
- </td>
- </tr>
- <tr class="tr-hides">
- <td class="td-firsts" rowspan="5">
- 旧域名信息
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 如已有域名,请填写域名管理权限
- </div>
- </div>
- </td>
- <td class="td-twos">域名:</td>
- <td><input class="input-groups" type="text" name="old_domain"
- value="{{$additionData->old_domain??''}}"/></td>
- </tr>
- <tr class="tr-hides">
- <td class="td-twos">注册网址:</td>
- <td><input class="input-groups" type="text" name="old_url"
- value="{{$additionData->old_url??''}}"/></td>
- </tr>
- <tr class="tr-hides">
- <td class="td-twos">登陆账号:</td>
- <td><input class="input-groups" type="text" name="old_account"
- value="{{$additionData->old_account??''}}"/></td>
- </tr>
- <tr class="tr-hides">
- <td class="td-twos">密码:</td>
- <td><input class="input-groups" type="text" name="old_password"
- value="{{$additionData->old_password??''}}"/></td>
- </tr>
- <tr class="tr-hides">
- <td class="td-twos">域名到期时间:</td>
- <td><input class="input-groups" type="text" name="old_expired"
- value="{{$additionData->old_expired??''}}"/></td>
- </tr>
- <tr class="tr-hides-news">
- <td class="td-firsts">
- 新域名信息
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 如已有域名,请填写域名管理权限
- </div>
- </div>
- </td>
- <td class="td-twos">域名:</td>
- <td><input class="input-groups" type="text" name="new_domain"
- value="{{$additionData->new_domain??''}}"/></td>
- </tr>
- <tr class="tr-hides">
- <td class="td-firsts " rowspan="3">
- 网站后台账号
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 站内优化时需用到
- </div>
- </div>
- </td>
- <td class="td-twos">后台网址:</td>
- <td><input class="input-groups" type="text" name="site_url"
- value="{{$additionData->site_url??''}}"/></td>
- </tr>
- <tr class="tr-hides">
- <td class="td-twos">用户名:</td>
- <td><input class="input-groups" type="text" name="site_account"
- value="{{$additionData->site_account??''}}"/></td>
- </tr>
- <tr class="tr-hides">
- <td class="td-twos">密码:</td>
- <td><input class="input-groups" type="text" name="site_password"
- value="{{$additionData->site_password??''}}"/></td>
- </tr>
- <tr class="tr-hides">
- <td class="td-firsts" rowspan="5">
- FTP
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- ftp账号用于注册webmaster,GA等验证用,如为第三方平台,则后台管理即可
- </div>
- </div>
- </td>
- <td class="td-twos">FTP Username:</td>
- <td><input class="input-groups" type="text" name="ftp_account"
- value="{{$additionData->ftp_account??''}}"/></td>
- </tr>
- <tr class="tr-hides">
- <td class="td-twos">FTP 服务器:</td>
- <td><input class="input-groups" type="text" name="ftp_domain"
- value="{{$additionData->ftp_domain??''}}"/></td>
- </tr>
- <tr class="tr-hides">
- <td class="td-twos">登录密码:</td>
- <td><input class="input-groups" type="text" name="ftp_password"
- value="{{$additionData->ftp_password??''}}"/></td>
- </tr>
- <tr class="tr-hides">
- <td class="td-twos">连接端口</td>
- <td><input class="input-groups" type="text" name="ftp_port"
- value="{{$additionData->ftp_port??''}}"/></td>
- </tr>
- <tr class="tr-hides">
- <td class="td-twos">IP地址:</td>
- <td><input class="input-groups" type="text" name="ftp_ip"
- value="{{$additionData->ftp_ip??''}}"/></td>
- </tr>
- @hasAuth('customer-site-edit')
- <tr class="tr-border-nones">
- <td colspan="4">
- <button class="input-groups btns" type="button" onclick="units.addition()">
- 网站信息提交
- </button>
- </td>
- </tr>
- @endHasAuth
- </table>
- </form>
- </div>
- @endHasAuth
- @hasAuth('customer-base-view')
- <div class="ibox-content">
- <form method="get" class="form-horizontal richtext" id="enterpriseForm">
- <div class="lists-titles" id="project_base_info">项目基础信息</div>
- <table cellspacing="10px">
- <tr>
- <td class="td-firsts">
- 主要出口国家或市场(英文)<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 比如South East Asia, Middle East, America, Europe, Russia...
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="export_region"
- value="{{$enterpriseData->export_region??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts">
- 所属行业
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 可参考B2B平台进行行业划分,比如alibaba.com,可备注多个行业
- </div>
- </div>
- </td>
- {{--<td colspan="2"><input class="input-groups" type="text" name="business" value="{{$enterpriseData->business??''}}" /></td>--}}
- <td colspan="2">
- <select name="business_id" title="" class="form-control"
- style="width: 200px;margin-left: 40px">
- <option value="">请选择所属行业</option>
- @foreach($businesses as $business)
- <option value="{{$business->id}}"
- @if(($enterpriseData->business_id??null)==$business->id) selected @endif>{{$business->title}}</option>
- @endforeach
- </select>
- </td>
- </tr>
- <tr>
- <td class="td-firsts">
- 公司类型
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 厂商, 贸易商,零售商
- </div>
- </div>
- </td>
- {{--<td colspan="2"><input class="input-groups" type="text" name="company_type" value="{{$enterpriseData->company_type??''}}" /></td>--}}
- <td colspan="2">
- <select name="nature_type" title="" class="form-control"
- style="width: 200px;margin-left: 40px">
- <option value="">请选择公司类型</option>
- @foreach($natures as $nature)
- <option value="{{$nature['inx']}}"
- @if(($enterpriseData->nature_type??null)==$nature['inx']) selected @endif>{{$nature['val']}}</option>
- @endforeach
- </select>
- </td>
- </tr>
- <tr>
- <td class="td-firsts">
- 公司性质
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 独资, 非营利,个体经营,合营企业,教育机构
- </div>
- </div>
- </td>
- <td colspan="2">
- <select name="company_nature" title="" class="form-control"
- style="width: 200px;margin-left: 40px">
- <option value="">请选择公司性质</option>
- <option value="1" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==1) selected @endif>独资</option>
- <option value="2" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==2) selected @endif>非营利</option>
- <option value="3" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==3) selected @endif>个体经营</option>
- <option value="4" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==4) selected @endif>合营企业</option>
- <option value="5" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==5) selected @endif>教育机构</option>
- <option value="6" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==6) selected @endif>上市公司</option>
- <option value="7" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==7) selected @endif>私人持股</option>
- <option value="8" @if(!empty($enterpriseData->company_nature) && $enterpriseData->company_nature==8) selected @endif>政府机构</option>
- </select>
- </td>
- </tr>
- <tr>
- <td class="td-firsts">
- 公司规模
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 0-1人, 2-10人,11-50人,51-200人,201-500人
- </div>
- </div>
- </td>
- <td colspan="2">
- <select name="company_size" title="" class="form-control" style="width: 200px;margin-left: 40px">
- <option value="">请选择公司规模</option>
- <option value="1" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==1) selected @endif>0-1人</option>
- <option value="2" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==2) selected @endif>2-10人</option>
- <option value="3" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==3) selected @endif>11-50人</option>
- <option value="4" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==4) selected @endif>51-200人</option>
- <option value="5" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==5) selected @endif>201-500人</option>
- <option value="6" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==6) selected @endif>501-1000人</option>
- <option value="7" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==7) selected @endif>1001-5000人</option>
- <option value="8" @if(!empty($enterpriseData->company_size) && $enterpriseData->company_size==8) selected @endif>5001-10000人</option>
- </select>
- </td>
- </tr>
- <tr>
- <td class="td-firsts">
- 客户群体<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 请详细填写目标客户群体,比如XXX经销商,工厂,公司等
- </div>
- </div>
- </td>
- <td colspan="2">
- <textarea cols="5" rows="2" class="input-groups" type="text" name="customer_scope"
- >{{$enterpriseData->customer_scope??''}}</textarea>
- </td>
- </tr>
- <tr>
- <td class="td-firsts">品牌
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="brand"
- value="{{$enterpriseData->brand??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts">
- 公司名称(中文)<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="cn_title"
- value="{{$enterpriseData->cn_title??''}}"/></td>
- </tr>
- {{--<tr>--}}
- {{--<td class="td-firsts">公司简介(中文)<span>*</span>--}}
- {{--<div class="qus-boxs">--}}
- {{--<i class="fa fa-question-circle" aria-hidden="true"></i>--}}
- {{--<div class="qus-texts">--}}
- {{--公司基本信息,做一些B2B平台是会需要填写,请务必提供完整--}}
- {{--</div>--}}
- {{--</div>--}}
- {{--</td>--}}
- {{--<td colspan="2">--}}
- {{--<textarea cols="5" rows="8" class="input-groups" type="text" name="cn_profile"--}}
- {{-->{{$enterpriseData->cn_profile??''}}</textarea>--}}
- {{--</td>--}}
- {{--</tr>--}}
- <tr>
- <td class="td-firsts">公司名称(英文)<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="en_title"
- value="{{$enterpriseData->en_title??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts">公司标语(英文)<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 暂无
- </div>
- </div>
- </td>
- <td colspan="2">
- <textarea cols="5" rows="2" class="input-groups" type="text" name="en_slogan"
- >{{$enterpriseData->en_slogan??''}}</textarea>
- </td>
- </tr>
- <tr>
- <td class="td-firsts">公司简介(英文,150单词)<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2">
- <textarea cols="5" rows="8" class="input-groups" type="text" name="en_profile"
- >{{$enterpriseData->en_profile??''}}</textarea>
- </td>
- </tr>
- <tr>
- <td class="td-firsts">公司地址(中文<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2">
- <textarea cols="5" rows="2" class="input-groups" type="text" name="cn_address"
- >{{$enterpriseData->cn_address??''}}</textarea>
- </td>
- </tr>
- <tr>
- <td class="td-firsts">公司地址(英文<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2">
- <textarea cols="5" rows="2" class="input-groups" type="text" name="en_address"
- >{{$enterpriseData->en_address??''}}</textarea>
- </td>
- </tr>
- <tr>
- <td class="td-firsts">公司成立时间<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="setup_time"
- value="{{$enterpriseData->setup_time??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts">邮编<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="postcode"
- value="{{$enterpriseData->postcode??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts">公司座机<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="line_phone"
- value="{{$enterpriseData->line_phone??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts">公司传真
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="fax"
- value="{{$enterpriseData->fax??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts">公司邮箱<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 接收询盘邮箱,最好使用建站域名邮箱,如无,可先提前设置,一旦网站上线立即开通企业邮箱
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="email"
- value="{{$enterpriseData->email??''}}"/></td>
- </tr>
- <tr class="bgs">
- <td class="td-firsts">发货期<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 以常规产品为例即可。做一些B2B 平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="deliver_period"
- value="{{$enterpriseData->deliver_period??''}}"/></td>
- </tr>
- <tr class="bgs">
- <td class="td-firsts">供应量<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 以常规产品为例即可。做一些B2B 平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="supply"
- value="{{$enterpriseData->supply??''}}"/></td>
- </tr>
- <tr class="bgs">
- <td class="td-firsts">最低供应量<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 以常规产品为例即可。做一些B2B 平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="min_supply"
- value="{{$enterpriseData->min_supply??''}}"/></td>
- </tr>
- <tr class="bgs">
- <td class="td-firsts">价格区间<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 以常规产品为例即可。做一些B2B 平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="price_range"
- value="{{$enterpriseData->price_range??''}}"/></td>
- </tr>
- <tr class="bgs">
- <td class="td-firsts">包装方式
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 以常规产品为例即可。做一些B2B 平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="packing_way"
- value="{{$enterpriseData->packing_way??''}}"/></td>
- </tr>
- <tr class="bgs">
- <td class="td-firsts">※支付方式
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 以常规产品为例即可。做一些B2B 平台是会需要填写,请务必提供完整
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="pay_way"
- value="{{$enterpriseData->pay_way??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts" rowspan="5">聊天工具有的请填写
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 主要用于网站在线聊天设计 如有,请提供
- </div>
- </div>
- </td>
- <td class="td-twos ons">Skype账号
- </td>
- <td><input class="input-groups" type="text" name="skype"
- value="{{$enterpriseData->skype??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos ons">Whatsapp手机号
- </td>
- <td><input class="input-groups" type="text" name="whats_app"
- value="{{$enterpriseData->whats_app??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos ons">Wechat 二维码
- </td>
- <td style="text-align: left">
- {{--<input class="input-groups" type="text" name="wechat"--}}
- {{--value="{{$enterpriseData->wechat??''}}"/>--}}
- <button type="button" class="btn btn-info" onclick="units.fileUpload(this)">上传二维码
- </button>
- <input type="file" style="display: none" onchange="units.uploadFile(this)">
- <span><img alt="image" class="img-circle"
- src="{{$enterpriseData->wechat??''}}"
- style="width: 64px;@if(empty($enterpriseData->wechat))display:none;@endif"
- id="wechatImg"></span>
- </td>
- </tr>
- <tr>
- <td class="td-twos ons">QQ
- </td>
- <td><input class="input-groups" type="text" name="qq"
- value="{{$enterpriseData->qq??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos ons">其他
- </td>
- <td>
- <textarea class="input-groups" type="text" rows="5"
- name="other">{{$enterpriseData->other??''}}</textarea>
- </td>
- </tr>
- @hasAuth('customer-base-edit')
- <tr class="tr-border-nones">
- <td colspan="4">
- <button class="input-groups btns" type="button" onclick="units.enterprise()">
- 项目基础信息保存
- </button>
- </td>
- </tr>
- @endHasAuth
- </table>
- </form>
- </div>
- @endHasAuth
- @hasAuth('customer-other-view')
- <div class="ibox-content">
- <form method="get" class="form-horizontal richtext" id="form3">
- <div class="lists-titles" id="other_project_info">其他项目信息</div>
- <table cellspacing="10px">
- <tr>
- <td class="td-firsts" rowspan="3">行业门户网站<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 中英文门户网站,用于之后软文撰写和博客引流,多多益善
- </div>
- </div>
- </td>
- <td colspan="2">
- <input class="input-groups" type="text" name="portal_sites"
- value="{{$stationData->portal_sites[0]??''}}"/></td>
- </tr>
- <tr>
- <td colspan="2"><input class="input-groups" type="text" name="portal_sites"
- value="{{$stationData->portal_sites[1]??''}}"/></td>
- </tr>
- <tr>
- <td colspan="2"><input class="input-groups" type="text" name="portal_sites"
- value="{{$stationData->portal_sites[2]??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts" rowspan="4">
- 公司其他网站
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 1. 避免重复内容影响SEO优化
- <br/>
- 2. 资源合理利用
- </div>
- </div>
- </td>
- <td class="td-threes">英文企业网站</td>
- <td><input class="input-groups" type="text" name="other_sites"
- value="{{$stationData->other_sites[0]??''}}"/></td>
- </tr>
- <tr>
- <td class="td-threes">中文企业网站</td>
- <td><input class="input-groups" type="text" name="other_sites"
- value="{{$stationData->other_sites[1]??''}}"/></td>
- </tr>
- <tr>
- <td class="td-threes">
- 阿里巴巴,全球资源,
- 其他B2B 平台
- </td>
- <td><input class="input-groups" type="text" name="other_sites"
- value="{{$stationData->other_sites[2]??''}}"/></td>
- </tr>
- <tr>
- <td class="td-threes">
- 其他相关网站
- </td>
- <td>
- <textarea class="input-groups" type="text" rows="5"
- name="other_sites">{{$stationData->other_sites[3]??''}}</textarea>
- </td>
- </tr>
- </table>
- <br>
- <table>
- <caption style="text-align: center">竞争对手网址根据套餐数填写<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 用于竞争对手分析, 了解其优化状况以及布局关键词
- </div>
- </div>
- </caption>
- <thead>
- <tr>
- <td>网址:</td>
- <td>竞争对手备注</td>
- <td></td>
- </tr>
- </thead>
- <tbody id="addRivalBody">
- @php $stationDataList=$stationData->compete_sites??[] @endphp
- @forelse($stationDataList as $item)
- <tr>
- <td>
- <input class="input-groups" type="text" name="compete_sites_url"
- value="{{$item['url']??''}}"/>
- </td>
- <td>
- <input class="input-groups" type="text" name="compete_sites_remark"
- value="{{$item['remark']??''}}"/>
- </td>
- <td onclick="units.rmRival(this)">
- <i class="fa fa-minus qwes" aria-hidden="true"></i>
- </td>
- </tr>
- @empty
- <tr>
- <td>
- <input class="input-groups" type="text" name="compete_sites_url"
- value=""/>
- </td>
- <td>
- <input class="input-groups" type="text" name="compete_sites_remark"
- value=""/>
- </td>
- <td onclick="units.rmRival(this)">
- <i class="fa fa-minus qwes" aria-hidden="true"></i>
- </td>
- </tr>
- <tr>
- <td>
- <input class="input-groups" type="text" name="compete_sites_url"
- value=""/>
- </td>
- <td>
- <input class="input-groups" type="text" name="compete_sites_remark"
- value=""/>
- </td>
- <td onclick="units.rmRival(this)">
- <i class="fa fa-minus qwes" aria-hidden="true"></i>
- </td>
- </tr>
- @endforelse
- </tbody>
- <tbody>
- <tr>
- <td colspan="3" onclick="units.addRival()"><i class="fa fa-plus qwes"
- aria-hidden="true"></i></td>
- </tr>
- </tbody>
- <tfoot>
- @hasAuth('customer-other-edit')
- <tr class="tr-border-nones">
- <td colspan="3">
- <button class="input-groups btns" type="button" onclick="units.station()">
- 其他项目信息保存
- </button>
- </td>
- </tr>
- @endHasAuth
- </tfoot>
- </table>
- </form>
- </div>
- @endHasAuth
- @hasAuth('customer-keyword-view')
- <div class="ibox-content">
- <form method="get" class="form-horizontal richtext" id="formKeyword">
- <div class="lists-titles" id="key_word">核心关键词</div>
- <table>
- <thead>
- <tr>
- <td colspan="3">
- 主要产品关键词<span>*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 填写核心产品词。
- </div>
- </div>
- <br/>
- 核心关键词(英文)
- </td>
- <td></td>
- </tr>
- </thead>
- <tbody id="keywordBody">
- @php $keywordList=array_chunk($keywordData->keyword??[],3); @endphp
- @forelse($keywordList as $items)
- <tr>
- @foreach($items as $val)
- <td>
- <input class="input-groups" type="text" name="keyword"
- value="{{$val}}"/>
- </td>
- @endforeach
- @php $diff=3-count($items); @endphp
- @for ($i = 0; $i < $diff; $i++)
- <td>
- <input class="input-groups" type="text" name="keyword"
- value=""/>
- </td>
- @endfor
- <td onclick="units.rmKeyword(this)"><i class="fa fa-minus qwes"
- aria-hidden="true"></i></td>
- </tr>
- @empty
- <tr>
- @for ($i = 0; $i < 3; $i++)
- <td>
- <input class="input-groups" type="text" name="keyword"
- value=""/>
- </td>
- @endfor
- <td onclick="units.rmKeyword(this)"><i class="fa fa-minus qwes"
- aria-hidden="true"></i></td>
- </tr>
- <tr>
- @for ($i = 0; $i < 3; $i++)
- <td>
- <input class="input-groups" type="text" name="keyword"
- value=""/>
- </td>
- @endfor
- <td onclick="units.rmKeyword(this)"><i class="fa fa-minus qwes"
- aria-hidden="true"></i></td>
- </tr>
- @endforelse
- </tbody>
- <tbody>
- <tr>
- <td colspan="4" onclick="units.addKeyword()"><i class="fa fa-plus qwes"
- aria-hidden="true"></i></td>
- </tr>
- </tbody>
- <tfoot>
- @hasAuth('customer-keyword-edit')
- <tr class="tr-border-nones">
- <td colspan="4" style="text-align: center">
- <button class="input-groups btns" type="button" onclick="units.keyword()">
- 关键词保存
- </button>
- </td>
- </tr>
- @endHasAuth
- </tfoot>
- </table>
- </form>
- </div>
- @endHasAuth
- @hasAuth('customer-market-view')
- <div class="ibox-content">
- <form method="get" class="form-horizontal richtext" id="marketerForm">
- <div class="lists-titles" id="marketing_info">营销发布人信息</div>
- <table cellspacing="10px">
- <tr>
- <td class="td-firsts">联系人英文姓、名
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="en_name"
- value="{{$marketerData->en_name??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts">联系人简介(英文,100个单词左右,如公司职位,爱好,座右铭等)
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="en_profile"
- value="{{$marketerData->en_profile??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts">联系人出生年月
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="birthday"
- value="{{$marketerData->birthday??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts">联系人性别
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="sex_text"
- value="{{$marketerData->sex_text??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts">联系人职位
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="position"
- value="{{$marketerData->position??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts">联系人部门
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="department"
- value="{{$marketerData->department??''}}"/></td>
- </tr>
- <tr>
- <td class="td-firsts">联系人电话
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 此联系人信息用于外链发布 和社交注册,请尽量提供真实的信息,否则后续要是账号被封的话,无法提交审核找回账号。
- </div>
- </div>
- </td>
- <td colspan="2"><input class="input-groups" type="text" name="contact"
- value="{{$marketerData->contact??''}}"/></td>
- </tr>
- <tr>
- <td rowspan="3" class="td-firsts">企业邮箱外链用(选填
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 单独开通邮箱账号供优化服务公司用于某些平台的外链发布,比如B2B
- </div>
- </div>
- </td>
- <td class="td-twos">登陆地址:</td>
- <td><input class="input-groups" type="text" name="enterprise_login_url"
- value="{{$marketerData->enterprise_login_url??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">邮箱:</td>
- <td><input class="input-groups" type="text" name="enterprise_email"
- value="{{$marketerData->enterprise_email??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">密码:</td>
- <td><input class="input-groups" type="text" name="enterprise_email_password"
- value="{{$marketerData->enterprise_email_password??''}}"/></td>
- </tr>
- <tr>
- <td rowspan="4" class="td-firsts"><span>Gmail*</span>
- <div class="qus-boxs">
- <i class="fa fa-question-circle" aria-hidden="true"></i>
- <div class="qus-texts">
- 此邮箱将用于外链发布,邮件往来请不要涉及公司重要信息,可供我司随意使用
- </div>
- </div>
- </td>
- <td class="td-twos">邮箱:</td>
- <td><input class="input-groups" type="text" name="gmail_account"
- value="{{$marketerData->gmail_account??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">密码:</td>
- <td><input class="input-groups" type="text" name="gmail_password"
- value="{{$marketerData->gmail_password??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">验证手机号码:</td>
- <td><input class="input-groups" type="text" name="gmail_contact"
- value="{{$marketerData->gmail_contact??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">辅助邮箱</td>
- <td><input class="input-groups" type="text" name="gmail_assist"
- value="{{$marketerData->gmail_assist??''}}"/></td>
- </tr>
- @hasAuth('customer-market-edit')
- <tr class="tr-border-nones">
- <td colspan="4">
- <button class="input-groups btns" type="button" onclick="units.marketer()">
- 营销平台信息保存
- </button>
- </td>
- </tr>
- @endHasAuth
- </table>
- </form>
- </div>
- @endHasAuth
- @hasAuth('customer-sns-view')
- <div class="ibox-content">
- <form method="get" class="form-horizontal richtext" id="snsForm">
- <div class="lists-titles" id="sns_material">
- SNS 社交资料
- <a style="margin-left: 20px;color: white" target="_blank" href="/admin/sites/customer/sns-export?siteId={{$siteId}}">下载</a>
- </div>
- <table cellspacing="10px">
- <tr>
- <td rowspan="3" class="td-firsts ons">Youtube</td>
- <td class="td-twos">展示url地址:</td>
- <td><input class="input-groups" type="text" name="youtube_url"
- value="{{$snsData->youtube_url??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">用户名(登入邮箱):</td>
- <td><input class="input-groups" type="text" name="youtube_account"
- value="{{$snsData->youtube_account??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">密码:</td>
- <td><input class="input-groups" type="text" name="youtube_password"
- value="{{$snsData->youtube_password??''}}"/></td>
- </tr>
- <tr>
- <td rowspan="4" class="td-firsts ons">Facebook</td>
- <td class="td-twos">个人页面展示url地址:</td>
- <td><input class="input-groups" type="text" name="facebook_my_url"
- value="{{$snsData->facebook_my_url??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">企业page展示url地址:</td>
- <td><input class="input-groups" type="text" name="facebook_url"
- value="{{$snsData->facebook_url??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">用户名(登入邮箱):</td>
- <td><input class="input-groups" type="text" name="facebook_account"
- value="{{$snsData->facebook_account??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">密码:</td>
- <td><input class="input-groups" type="text" name="facebook_password"
- value="{{$snsData->facebook_password??''}}"/></td>
- </tr>
- <tr>
- <td rowspan="3" class="td-firsts ons">Twitter</td>
- <td class="td-twos">展示url地址:</td>
- <td><input class="input-groups" type="text" name="twitter_url"
- value="{{$snsData->twitter_url??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">用户名(登入邮箱):</td>
- <td><input class="input-groups" type="text" name="twitter_account"
- value="{{$snsData->twitter_account??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">密码:</td>
- <td><input class="input-groups" type="text" name="twitter_password"
- value="{{$snsData->twitter_password??''}}"/></td>
- </tr>
- <tr>
- <td rowspan="4" class="td-firsts ons">Linkedin</td>
- <td class="td-twos">个人页面展示url地址:</td>
- <td><input class="input-groups" type="text" name="linkedin_my_url"
- value="{{$snsData->linkedin_my_url??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">企业page展示url地址:</td>
- <td><input class="input-groups" type="text" name="linkedin_url"
- value="{{$snsData->linkedin_url??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">用户名(登入邮箱):</td>
- <td><input class="input-groups" type="text" name="linkedin_account"
- value="{{$snsData->linkedin_account??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">密码:</td>
- <td><input class="input-groups" type="text" name="linkedin_password"
- value="{{$snsData->linkedin_password??''}}"/></td>
- </tr>
- <tr>
- <td rowspan="3" class="td-firsts ons">Pinterst</td>
- <td class="td-twos">展示url地址:</td>
- <td><input class="input-groups" type="text" name="pinterst_url"
- value="{{$snsData->pinterst_url??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">用户名(登入邮箱):</td>
- <td><input class="input-groups" type="text" name="pinterst_account"
- value="{{$snsData->pinterst_account??''}}"/></td>
- </tr>
- <tr>
- <td class="td-twos">密码:</td>
- <td><input class="input-groups" type="text" name="pinterst_password"
- value="{{$snsData->pinterst_password??''}}"/></td>
- </tr>
- @hasAuth('customer-sns-edit')
- <tr class="tr-border-nones">
- <td colspan="4">
- <button class="input-groups btns" type="button" onclick="units.sns()">社交信息保存
- </button>
- </td>
- </tr>
- @endHasAuth
- </table>
- </form>
- </div>
- @endHasAuth
- </div>
- </div>
- </div>
- @endsection
- @section('footer_extend')
- <script src="{{asset('js/plugins/chosen/chosen.jquery.js')}}"></script>
- <script src="{{asset('js/plugins/switchery/switchery.js')}}"></script>
- <script src="{{asset('js/plugins/layDate-v5.0.9/laydate/laydate.js')}}"></script>
- <script>
- var units = {
- addRival: function () {
- var str = '<tr>' +
- '<td><input class="input-groups" type="text" name="compete_sites_url" value=""/></td>' +
- '<td><input class="input-groups" type="text" name="compete_sites_remark" value=""/></td>' +
- '<td onclick="units.rmRival(this)"><i class="fa fa-minus qwes" aria-hidden="true"></i></td>' +
- '</tr>';
- $("#addRivalBody").append(str);
- },
- rmRival: function (_this) {
- $(_this).parent().remove();
- },
- addKeyword: function () {
- var str = '<tr>' +
- '<td>' +
- '<input class="input-groups" type="text" name="keyword" value=""/>' +
- '</td>' +
- '<td>' +
- '<input class="input-groups" type="text" name="keyword" value=""/>' +
- '</td>' +
- '<td>' +
- '<input class="input-groups" type="text" name="keyword" value=""/>' +
- '</td>' +
- '<td onclick="units.rmKeyword(this)"><i class="fa fa-minus qwes" aria-hidden="true"></i></td>' +
- '</tr>';
- $("#keywordBody").append(str);
- },
- rmKeyword: function (_this) {
- $(_this).parent().remove();
- },
- siteId: '{{$siteId}}',
- addition: function () {
- var data = {addition: tips.getFormValues("#form1")};
- data.act = 'addition';
- var config = {url: '/admin/sites/' + units.siteId + '/customer', type: 'put', data: data};
- tips.ajax(config);
- },
- keyword: function () {
- var keyword = [];
- $("[name=keyword]").each(function () {
- if ($(this).val().length > 0) {
- keyword.push($(this).val());
- }
- });
- var data = {keyword: keyword};
- data.act = 'keyword';
- var config = {url: '/admin/sites/' + units.siteId + '/customer', type: 'put', data: data};
- tips.ajax(config);
- },
- url: function () {
- var config = {
- url: '/admin/sites/customer-identify?siteId=' + units.siteId,
- success: function (result) {
- var str = 'https://admin.yinqingli.com/sites/customer-alone?identify=';
- window.open(str + result.data);
- }
- };
- tips.ajax(config);
- },
- station: function () {
- var portal_sites = [], other_sites = [];
- $("[name=portal_sites]").each(function () {
- portal_sites.push($(this).val());
- });
- $("[name=other_sites]").each(function () {
- other_sites.push($(this).val());
- });
- var compete_sites = [];
- $("#addRivalBody").find("tr").each(function () {
- var compete_sites_url = $(this).find("[name=compete_sites_url]").val();
- var compete_sites_remark = $(this).find("[name=compete_sites_remark]").val()
- if (compete_sites_url.length > 0 || compete_sites_remark.length > 0) {
- compete_sites.push({
- url: compete_sites_url,
- remark: compete_sites_remark
- });
- }
- });
- var data = {
- station: {
- portal_sites: portal_sites,
- other_sites: other_sites,
- compete_sites: compete_sites
- }
- };
- data.act = 'station';
- var config = {url: '/admin/sites/' + units.siteId + '/customer', type: 'put', data: data};
- tips.ajax(config);
- },
- enterprise: function () {
- var data = {enterprise: tips.getFormValues("#enterpriseForm")};
- data.enterprise.wechat = $("#wechatImg").attr('src');
- data.act = 'enterprise';
- var config = {url: '/admin/sites/' + units.siteId + '/customer', type: 'put', data: data};
- tips.ajax(config);
- },
- marketer: function () {
- var data = {marketer: tips.getFormValues("#marketerForm")};
- data.act = 'marketer';
- var config = {url: '/admin/sites/' + units.siteId + '/customer', type: 'put', data: data};
- tips.ajax(config);
- },
- sns: function () {
- var data = {sns: tips.getFormValues("#snsForm")};
- data.act = 'sns';
- var config = {url: '/admin/sites/' + units.siteId + '/customer', type: 'put', data: data};
- tips.ajax(config);
- },
- fileUpload: function (_this) {
- $(_this).next().trigger('click')
- },
- uploadFile: function (_this) {
- var config = {
- url: '/admin/tool/upload'
- };
- config.success = function (result) {
- layer.msg(result.message, {icon: 6, time: 1500});
- var img = $("#wechatImg");
- img.attr('src', result.data.file_url);
- img.css('display', '');
- };
- tips.fileUpload(_this, config);
- }
- };
- var config = {".chosen-select": {}};
- for (var selector in config) $(selector).chosen(config[selector]);
- var jsSwitch = document.querySelector(".js-switch");
- new Switchery(jsSwitch, {color: "#1AB394", size: 'small'});
- $(document).on('click', '#save', function () {
- var id = $(this).data('id');
- var url = '/system/user';
- var type = 'post';
- if (id > 0) { //编辑
- url += '/' + id;
- type = 'put';
- }
- var data = tips.getFormValues('#form');
- data.status = jsSwitch.checked ? 1 : 0;
- var ajaxConfig = {
- url: url,
- type: type,
- data: data,
- success: function (result) {
- layer.msg(result.message, {icon: 6, time: 3000}, function () {
- tips.closeParentLayer();
- window.parent.tips.tableRefresh('#table');
- });
- }
- };
- tips.ajax(ajaxConfig);
- });
- laydate.render({
- elem: '#order_at', //指定元素
- type: 'datetime'
- });
- @if(($additionData->domain_type??null)!=2) //第一次获取选中是
- $(".tr-hides-news").show();
- $(".tr-hides").hide();
- $(".lists-boxs .lists .checkboxs-ones").attr("checked", "checked");
- $(".lists-boxs .lists .checkboxs-twos").removeAttr("checked");
- @else
- $(".tr-hides-news").hide();
- $(".tr-hides").show();
- $(".lists-boxs .lists .checkboxs-twos").attr("checked", "checked");
- $(".lists-boxs .lists .checkboxs-ones").removeAttr("checked");
- @endif
- $(".lists-boxs .lists .checkboxs-ones").click(function () {
- $(".tr-hides-news").show();
- $(".tr-hides").hide();
- $(this).attr("checked", "checked");
- $(".lists-boxs .lists .checkboxs-twos").removeAttr("checked");
- });
- $(".lists-boxs .lists .checkboxs-twos").click(function () {
- $(".tr-hides-news").hide();
- $(".tr-hides").show();
- $(this).attr("checked", "checked");
- $(".lists-boxs .lists .checkboxs-ones").removeAttr("checked");
- });
- $(window).scrollTop(0);
- $(window).scroll(function () {
- var scrollHeight = 100;
- if ($(window).scrollTop() > scrollHeight) {
- $(".kh-ul-boxs").addClass("ons");
- } else {
- $(".kh-ul-boxs").removeClass("ons");
- }
- ;
- });
- // $(".kh-ul-boxs ul li").click(function(){
- // $(this).addClass("active").siblings().removeClass("active");
- // });
- $(".kh-ul-boxs ul li").click(function () {
- var i = $(this).index();
- $(this).addClass("active").siblings().removeClass("active");
- var _he = 40;
- if ($(window).width() < 769) {
- _he = 40;
- }
- $(this).addClass("active").siblings().removeClass("active");
- if (i == 0) {
- var _height = document.getElementById("site_info").offsetTop - _he;
- } else if (i == 1) {
- var _height = document.getElementById("project_base_info").offsetTop - _he;
- } else if (i == 2) {
- var _height = document.getElementById("other_project_info").offsetTop - _he;
- } else if (i == 3) {
- var _height = document.getElementById("key_word").offsetTop - _he;
- } else if (i == 4) {
- var _height = document.getElementById("marketing_info").offsetTop - _he;
- } else {
- var _height = document.getElementById("sns_material").offsetTop - _he;
- }
- console.log(i);
- console.log(_height);
- $('html,body').animate({scrollTop: _height}, 1000);
- });
- </script>
- @endsection
|