@extends('admin/layout')

@section('header')
    <style>
        ul {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        ul li {
            margin: 10px;
        }

        ul li a {
            display: inline-block;
            padding: 5px 20px;
            border-radius: 10px;
            text-align: center;
            font-size: 14px;
            border: 1px solid #2f75b5;
            color: #2f75b5;

        }

        ul li a:hover {
            background: #2f75b5;
            color: #fff;
        }

        .xmxib-titles {
            display: block;
            width: 100%;
            text-align: center;
            background: #1f4e78;
            color: #fff;
            font-size: 24px;
            padding: 20px 0;
        }

        .lists-titles {
            display: block;
            width: 100%;
            text-align: center;
            background: #2f75b5;
            color: #fff;
            font-size: 18px;
            padding: 10px 0;
        }

        .richtext table {
            width: 100%;
        }

        .richtext table tr td {
            padding: 8px 10px;
            border: solid 1px #ddd;
            word-break: normal;
            font-size: 14px;
            text-align: center;
        }

        .richtext table tr td span {
            color: red;
            font-size: 14px;
        }

        .rights-texts {
            font-size: 14px;
            color: #ff0000;
        }

        .td-firsts {
            width: 14%;
        }

        .td-twos {
            width: 22%;
        }

        .td-threes {
            width: 33%;
        }

        .td-lasts {
            width: 20%;
        }

        .lists-boxs {
            display: block;
            width: 100%;
            text-align: center;
        }

        .lists {
            display: inline-block;
            width: auto;
            vertical-align: top;
        }

        .ibox-content {
            padding: 30px 40px;
            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: 1px 0;
        }

        .input-groups {
            width: 90%;
            padding: 2px 10px;
            font-size: 12px;
            line-height: 20px;
            outline: none;
        }

        .tr-hides {
            display: none;
        }

        .btns {
            width: 100px;
            border: none;
            background: #2f75b5;
            text-transform: uppercase;
            border-radius: 4px;
            padding: 6px 0;
            color: #fff;
        }

        body {
            position: relative;
        }

        .ibox-title {
            background: #fff;

        }

        .ibox-title.ons {
            width: 100%;
            position: fixed;
            left: 20px;
            top: 0;
            z-index: 2000;
            padding: 20px 20px 0;
            background: #fff;
        }

        .ibox-title .boxss {
            width: 100%;
        }

    </style>
@endsection
@section('content')

    <body class="gray-bg">
    <div class="row" style="padding: 20px 20px 0; height: 153px">
        <div class="col-sm-12">
            <div class="ibox-content ibox-title">
                <div style="padding-top: 10px;">
                    <ul class="ul" style="list-style-type: none">

                        {{--<li><a href="#site_info">网站信息</a></li>--}}
                        <li><a href="#key_word" class="to-lists">核心关键词</a></li>

                        <li><a href="#project_base_info" class="to-lists">项目基础信息</a></li>

                        {{--<li><a href="#other_project_info">其他项目信息</a></li>--}}

                        <li><a href="#marketing_info" class="to-lists">营销发布人信息</a></li>

                        <li><a href="#sns_material" class="to-lists">SNS 社交资料</a></li>

                        <li><a href="#link_remark" class="to-lists">外链备注</a></li>

                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="wrapper wrapper-content  animated fadeInRight" style="padding-top: 0px;">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-content">


                        <form class="form-horizontal" id="form">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">项目名称:</label>

                                <label class="col-sm-8 control-label"
                                       style="text-align: left;font-weight: normal">{{$data->site->cn_title??''}}</label>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">项目域名:</label>
                                <label class="col-sm-8 control-label"
                                       style="text-align: left;font-weight: normal">{{$data->site->domain??''}}</label>
                            </div>


                            <div class="form-group">
                                <label class="col-sm-2 control-label">具体要求:</label>
                                <div class="col-sm-10" id="contentView">
                                    {!!  $data->demand??''!!}
                                </div>

                            </div>
                            {{--审核失败--}}
                            @if($data->status==4)
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">审核失败原因:</label>
                                    <label class="col-sm-8 control-label"
                                           style="text-align: left;font-weight: normal"><span
                                            style="color: red">{{$data->audit_reason??''}}</span></label>
                                </div>
                            @endif
                        </form>
                    </div>


                    <div class="ibox-content">
                        {{--<form method="get" class="form-horizontal richtext" id="formKeyword">--}}
                        {{--<div class="lists-titles" id="key_word">核心关键词</div>--}}
                        {{--<table cellspacing="10px">--}}
                        {{--<tr>--}}
                        {{--<td class="td-firsts" rowspan="5">--}}
                        {{--主要产品关键词<span>*</span>--}}
                        {{--<br/>--}}
                        {{--核心关键词(英文)--}}
                        {{--</td>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[0]??''}}"/></td>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[1]??''}}"/></td>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[2]??''}}"/></td>--}}
                        {{--<td rowspan="5" class="td-lasts">--}}
                        {{--<div class="rights-texts">--}}
                        {{--填写核心产品词。--}}
                        {{--</div>--}}
                        {{--</td>--}}
                        {{--</tr>--}}
                        {{--<tr>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[3]??''}}"/></td>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[4]??''}}"/></td>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[5]??''}}"/></td>--}}
                        {{--</tr>--}}
                        {{--<tr>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[6]??''}}"/></td>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[7]??''}}"/></td>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[8]??''}}"/></td>--}}
                        {{--</tr>--}}
                        {{--<tr>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[9]??''}}"/></td>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[10]??''}}"/></td>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[11]??''}}"/></td>--}}
                        {{--</tr>--}}
                        {{--<tr>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[12]??''}}"/></td>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[13]??''}}"/></td>--}}
                        {{--<td><input class="input-groups" type="text" name="keyword"--}}
                        {{--value="{{$keywordData->keyword[14]??''}}"/></td>--}}
                        {{--</tr>--}}
                        {{--<tr>--}}
                        {{--<td colspan="5">--}}
                        {{--<button class="input-groups btns" type="button" onclick="units.keyword()">--}}
                        {{--关键词保存--}}
                        {{--</button>--}}
                        {{--</td>--}}
                        {{--</tr>--}}
                        {{--</table>--}}
                        {{--</form>--}}


                        <form method="get" class="form-horizontal richtext" id="formKeyword">
                            <div class="lists-titles" id="key_word">重点优化</div>
                            <table cellspacing="10px">
                                <tr>
                                    <td style="width:40%">
                                        关键词
                                    </td>
                                    <td>Url地址</td>
                                </tr>
                                @foreach($optimizePageList as $item)
                                    <tr>
                                        <td>{{$item['keyword']}}</td>
                                        <td>{{$item['url']}}</td>
                                    </tr>
                                @endforeach

                            </table>
                        </form>
                    </div>

                    <div class="ibox-content">
                        <form method="get" class="form-horizontal richtext" id="enterpriseForm">
                            <div class="lists-titles" id="project_base_info">项目基础信息 <a
                                    style="margin-left: 20px;color: white" href="{{$business_license}}"
                                    download="{{$business_license}}">【营业执照下载】</a>
                            </div>
                            <table cellspacing="10px">
                                <tr>
                                    <td class="td-firsts">主要出口国家或市场(英文)<span>*</span></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="export_region"
                                                           value="{{$enterpriseData->export_region??''}}"/></td>
                                    <td class="td-lasts">
                                        <div class="rights-texts">
                                            比如South East Asia, Middle East, America, Europe, Russia...
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">所属行业</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>
                                    <td class="td-lasts">
                                        <div class="rights-texts">
                                            可参考B2B平台进行行业划分,比如alibaba.com,可备注多个行业
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">公司类型</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>
                                    <td class="td-lasts">
                                        <div class="rights-texts">
                                            厂商, 贸易商,零售商
                                        </div>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="td-firsts">公司类型</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>
                                    <td class="td-lasts">
                                        <div class="rights-texts">
                                            独资, 非营利,个体经营,合营企业,教育机构

                                        </div>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="td-firsts">公司类型</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>
                                    <td class="td-lasts">
                                        <div class="rights-texts">
                                            0-1人, 2-10人,11-50人,51-200人,201-500人
                                        </div>
                                    </td>
                                </tr>

                                <tr>
                                    <td class="td-firsts">客户群体<span>*</span></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="customer_scope"
                                                           value="{{$enterpriseData->customer_scope??''}}"/></td>
                                    <td class="td-lasts">
                                        <div class="rights-texts">
                                            请详细填写目标客户群体,比如XXX经销商,工厂,公司等
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">品牌</td>
                                    <td colspan="2"><input class="input-groups" type="text" name="brand"
                                                           value="{{$enterpriseData->brand??''}}"/></td>
                                    <td rowspan="10" class="td-lasts">
                                        <div class="rights-texts">
                                            公司基本信息,做一些B2B平台是会需要填写,请务必提供完整
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">公司名称(中文)<span>*</span></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></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="cn_profile"
                                                           value="{{$enterpriseData->cn_profile??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">公司名称(英文)<span>*</span></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="en_title"
                                                           value="{{$enterpriseData->en_title??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">公司简介(英文,150单词)<span>*</span></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="en_profile"
                                                           value="{{$enterpriseData->en_profile??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">公司地址(中文<span>*</span></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="cn_address"
                                                           value="{{$enterpriseData->cn_address??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">公司地址(英文<span>*</span></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="en_address"
                                                           value="{{$enterpriseData->en_address??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">公司成立时间<span>*</span></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></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="postcode"
                                                           value="{{$enterpriseData->postcode??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">公司座机<span>*</span></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="line_phone"
                                                           value="{{$enterpriseData->line_phone??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">公司传真</td>
                                    <td colspan="2"><input class="input-groups" type="text" name="fax"
                                                           value="{{$enterpriseData->fax??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">公司邮箱<span>*</span></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="email"
                                                           value="{{$enterpriseData->email??''}}"/></td>
                                    <td class="td-lasts">
                                        <div class="rights-texts">
                                            接收询盘邮箱,最好使用建站域名邮箱,如无,可先提前设置,一旦网站上线立即开通企业邮箱
                                        </div>
                                    </td>
                                </tr>
                                <tr class="bgs">
                                    <td class="td-firsts">发货期<span>*</span></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="deliver_period"
                                                           value="{{$enterpriseData->deliver_period??''}}"/></td>
                                    <td rowspan="6" class="td-lasts">
                                        <div class="rights-texts">
                                            以常规产品为例即可。做一些B2B 平台是会需要填写,请务必提供完整
                                        </div>
                                    </td>
                                </tr>
                                <tr class="bgs">
                                    <td>供应量<span>*</span></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="supply"
                                                           value="{{$enterpriseData->supply??''}}"/></td>
                                </tr>
                                <tr class="bgs">
                                    <td>最低供应量<span>*</span></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="min_supply"
                                                           value="{{$enterpriseData->min_supply??''}}"/></td>
                                </tr>
                                <tr class="bgs">
                                    <td>价格区间<span>*</span></td>
                                    <td colspan="2"><input class="input-groups" type="text" name="price_range"
                                                           value="{{$enterpriseData->price_range??''}}"/></td>
                                </tr>
                                <tr class="bgs">
                                    <td>包装方式</td>
                                    <td colspan="2"><input class="input-groups" type="text" name="packing_way"
                                                           value="{{$enterpriseData->packing_way??''}}"/></td>
                                </tr>
                                <tr class="bgs">
                                    <td>※支付方式</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">聊天工具有的请填写</td>
                                    <td class="td-twos">Skype账号</td>
                                    <td><input class="input-groups" type="text" name="skype"
                                               value="{{$enterpriseData->skype??''}}"/></td>
                                    <td rowspan="5" class="td-lasts">
                                        <div class="rights-texts">
                                            主要用于网站在线聊天设计
                                            如有,请提供
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td-twos">Whatsapp手机号</td>
                                    <td><input class="input-groups" type="text" name="whats_app"
                                               value="{{$enterpriseData->whats_app??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-twos">Wechat 二维码</td>
                                    <td><input class="input-groups" type="text" name="wechat"
                                               value="{{$enterpriseData->wechat??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-twos">QQ</td>
                                    <td><input class="input-groups" type="text" name="qq"
                                               value="{{$enterpriseData->qq??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-twos">其他</td>
                                    <td>
                                        <textarea class="input-groups" type="text" rows="5"
                                                  name="other">{{$enterpriseData->other??''}}</textarea>
                                    </td>
                                </tr>
                            </table>
                        </form>
                    </div>
                    <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">联系人英文姓、名</td>
                                    <td colspan="2"><input class="input-groups" type="text" name="en_name"
                                                           value="{{$marketerData->en_name??''}}"/></td>
                                    <td rowspan="7" class="td-lasts">
                                        <div class="rights-texts">
                                            此联系人信息用于营销平台发布,客户可以填写非真实的内容,但最好与公司职位相关。必须填写完整。
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">联系人简介(英文,100个单词左右,如公司职位,爱好,座右铭等)</td>
                                    <td colspan="2"><input class="input-groups" type="text" name="en_profile"
                                                           value="{{$marketerData->en_profile??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">联系人出生年月</td>
                                    <td colspan="2"><input class="input-groups" type="text" name="birthday"
                                                           value="{{$marketerData->birthday??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">联系人性别</td>
                                    <td colspan="2"><input class="input-groups" type="text" name="sex_text"
                                                           value="{{$marketerData->sex_text??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">联系人职位</td>
                                    <td colspan="2"><input class="input-groups" type="text" name="position"
                                                           value="{{$marketerData->position??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">联系人部门</td>
                                    <td colspan="2"><input class="input-groups" type="text" name="department"
                                                           value="{{$marketerData->department??''}}"/></td>
                                </tr>
                                <tr>
                                    <td class="td-firsts">联系人电话</td>
                                    <td colspan="2"><input class="input-groups" type="text" name="contact"
                                                           value="{{$marketerData->contact??''}}"/></td>
                                </tr>
                                <tr>
                                    <td rowspan="3" class="td-firsts">企业邮箱外链用(选填</td>
                                    <td class="td-twos">登陆地址:</td>
                                    <td><input class="input-groups" type="text" name="enterprise_login_url"
                                               value="{{$marketerData->enterprise_login_url??''}}"/></td>
                                    <td rowspan="3" class="td-lasts">
                                        <div class="rights-texts">
                                            单独开通邮箱账号供优化服务公司用于某些平台的外链发布,比如B2B
                                        </div>
                                    </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></td>
                                    <td class="td-twos">邮箱:</td>
                                    <td><input class="input-groups" type="text" name="gmail_account"
                                               value="{{$marketerData->gmail_account??''}}"/></td>
                                    <td rowspan="4" class="td-lasts">
                                        <div class="rights-texts">
                                            此邮箱将用于外链发布,邮件往来请不要涉及公司重要信息,可供我司随意使用
                                        </div>
                                    </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>
                            </table>
                        </form>
                    </div>
                    <div class="ibox-content">
                        <form method="get" class="form-horizontal richtext" id="snsForm">
                            <div class="lists-titles" id="sns_material">SNS 社交资料</div>
                            <table cellspacing="10px">
                                <tr>
                                    <td rowspan="3" class="td-firsts">Youtube</td>
                                    <td class="td-twos">展示url地址:</td>
                                    <td><input class="input-groups" type="text" name="youtube_url"
                                               value="{{$snsData->youtube_url??''}}"/></td>
                                    <td rowspan="20" class="td-lasts">
                                        <div class="rights-texts">

                                        </div>
                                    </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="password" name="youtube_password"
                                               value="{{$snsData->youtube_password??''}}"/></td>
                                </tr>
                                <tr>
                                    <td rowspan="3" class="td-firsts">Facebook</td>
                                    <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="password" name="facebook_password"
                                               value="{{$snsData->facebook_password??''}}"/></td>
                                </tr>
                                <tr>
                                    <td rowspan="3" class="td-firsts">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="password" name="twitter_password"
                                               value="{{$snsData->twitter_password??''}}"/></td>
                                </tr>
                                <tr>
                                    <td rowspan="3" class="td-firsts">Linkedin</td>
                                    <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="password" name="linkedin_password"
                                               value="{{$snsData->linkedin_password??''}}"/></td>
                                </tr>
                                <tr>
                                    <td rowspan="3" class="td-firsts">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="password" name="pinterst_password"
                                               value="{{$snsData->pinterst_password??''}}"/></td>
                                </tr>
                            </table>
                        </form>
                    </div>
                    <div class="ibox-content">
                        <form method="get" class="form-horizontal richtext" id="link_remark">
                            <div class="lists-titles" id="link_remark">外链备注</div>
                            <table cellspacing="10px">
                                <tr>
                                    <td class="td-twos">外链备注:</td>
                                    <td>{!!  $link_remark->content??'' !!}</td>
                                </tr>
                            </table>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </body>
@endsection
@section('footer')
    <script src="{{asset('vendor/ueditor/ueditor.parse.js')}}"></script>
    <script>
        setTimeout(function () {
            uParse('#contentView',
                {
                    'highlightJsUrl': "{{asset('vendor/ueditor/third-party/SyntaxHighlighter/shCore.js')}}",
                    'highlightCssUrl': "{{asset('vendor/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css')}}"
                })
        }, 300);
        $(window).scrollTop(0);
        $(window).scroll(function () {
            var scrollHeight = 160;
            if ($(window).scrollTop() > scrollHeight) {
                $(".ibox-title").addClass("ons");
            } else {
                $(".ibox-title").removeClass("ons");
            }
            ;
        });
        $(".to-lists").bind("click touch", function () {
            $('html,body').animate({scrollTop: ($($(this).attr('href')).offset().top - 140)}, 1000);
        });
    </script>
@endsection