| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719 | @extends('admin/layout')@section('header')    <link href="{{asset('css/plugins/chosen/chosen.css?v=1')}}" rel="stylesheet">    <link href="{{asset('css/plugins/switchery/switchery.css?v=1')}}" rel="stylesheet">    <link href="{{asset('js/plugins/bootstrap-select-1.13.5/css/bootstrap-select.min.css')}}" rel="stylesheet">@endsection@section('content')    <body class="gray-bg">    <div class="wrapper wrapper-content animated fadeInRight">        <div class="row">            <div class="col-sm-12">                <div class="ibox float-e-margins">                    <div class="ibox-content">                        <form method="get" class="form-horizontal" id="form">                            <div class="form-group">                                <label class="col-sm-2 control-label" for="keyword">关键词:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="keyword" name="keyword"                                           value="{{$info->keyword??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="enable">行业难点分析:</label>                                <div class="col-sm-8">                                    <select name="enable" id="enable" class="form-control">                                        <option value="0"                                                @if(!empty($info->enable) && $info->enable==0) selected @endif>启用                                        </option>                                        <option value="1"                                                @if(!empty($info->enable) && $info->enable==1) selected @endif>禁用                                        </option>                                    </select>                                </div>                            </div>                            <div class="form-group" id="remarks_status" style="display: none">                                <label class="col-sm-2 control-label" for="remarks">不接单原因:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="remarks"                                           name="remarks"                                           value="{{$info->remarks??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="website">客户网站:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="website"                                           name="website"                                           value="{{$info->website??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="monthly_searches">每月搜索量:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="monthly_searches"                                           name="monthly_searches"                                           value="{{$info->monthly_searches??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="mumber_of_search_results">搜索结果数:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="mumber_of_search_results"                                           name="mumber_of_search_results"                                           value="{{$info->mumber_of_search_results??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="competition_index">竞争指数:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="competition_index"                                           name="competition_index"                                           value="{{$info->competition_index??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="natural_ranking_percentage">自然排名点击占比:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="natural_ranking_percentage"                                           name="natural_ranking_percentage"                                           value="{{$info->natural_ranking_percentage??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="proportion_of_bidding">竞价点击占比:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="proportion_of_bidding"                                           name="proportion_of_bidding"                                           value="{{$info->proportion_of_bidding??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="simultaneous_proportion">同时点击占比:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="simultaneous_proportion"                                           name="simultaneous_proportion"                                           value="{{$info->simultaneous_proportion??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="proportion_not_clicked">未点击占比:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="proportion_not_clicked"                                           name="proportion_not_clicked"                                           value="{{$info->proportion_not_clicked??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="mobile_devices">移动设备占比:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="mobile_devices" name="mobile_devices"                                           value="{{$info->mobile_devices??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="tablet_pc">平板电脑占比:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="tablet_pc" name="tablet_pc"                                           value="{{$info->tablet_pc??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="desktop_device">桌面设备占比:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="desktop_device" name="desktop_device"                                           value="{{$info->desktop_device??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="order_conditions">接单条件:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="order_conditions"                                           name="order_conditions"                                           value="{{$info->order_conditions??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="industry_difficulty">行业难度:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="industry_difficulty"                                           name="industry_difficulty"                                           value="{{$info->industry_difficulty??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="package_suggestion">套餐建议:</label>                                <div class="col-sm-8">                                    <input type="text" class="form-control" id="package_suggestion"                                           name="package_suggestion"                                           value="{{$info->package_suggestion??''}}">                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="product_main_dimension">产品主维度:</label>                                <div class="col-sm-8">                                    <div id="product_main_dimension" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="product_secondary_dimension">产品次级维度:</label>                                <div class="col-sm-8">                                    <div id="product_secondary_dimension" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="website_function">网站功能:</label>                                <div class="col-sm-8">                                    <div id="website_function" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="seo_code_optimization">seo代码优化:</label>                                <div class="col-sm-8">                                    <div id="seo_code_optimization" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label"                                       for="keyword_screening_suggestions">关键词筛选建议:</label>                                <div class="col-sm-8">                                    <div id="keyword_screening_suggestions" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="keyword_layout_suggestions">关键词布局建议:</label>                                <div class="col-sm-8">                                    <div id="keyword_layout_suggestions" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="img">图片:</label>                                <div class="col-sm-8">                                    <div id="img" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="parameter_table">参数表格:</label>                                <div class="col-sm-8">                                    <div id="parameter_table" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="product_copywriting">产品文案:</label>                                <div class="col-sm-8">                                    <div id="product_copywriting" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="pdf_resources">PDF资源:</label>                                <div class="col-sm-8">                                    <div id="pdf_resources" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="video_resources">视频资源:</label>                                <div class="col-sm-8">                                    <div id="video_resources" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="external_link_assessment">外链评估:</label>                                <div class="col-sm-8">                                    <div id="external_link_assessment" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label" for="social_promotion">社交推广:</label>                                <div class="col-sm-8">                                    <div id="social_promotion" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <label class="col-sm-2 control-label"                                       for="industry_difficulties_analysis">行业难点分析:</label>                                <div class="col-sm-8">                                    <div id="industry_difficulties_analysis" class="text">                                    </div>                                </div>                            </div>                            <div class="form-group">                                <div class="col-sm-4 col-sm-offset-2">                                    <button class="btn btn-primary" type="button"                                            onclick="units.save({{$info->id??0}})">                                        保存                                    </button>                                    <button class="btn btn-white closeLayer" type="button">取消</button>                                </div>                            </div>                        </form>                    </div>                </div>            </div>        </div>    </div>    </body>@endsection@section('footer')    <!-- 引入 wangEditor.min.js -->    <script src="{{asset('js/plugins/wangEditor/wangEditor.min.js')}}"></script>    <script>        $(function () {            var object = $('#enable');            var windows = $('#remarks_status');            if (object.val() === "1") {                windows.show();            }            object.change(function () {                if (object.val() === "1") {                    windows.show();                }else{                    windows.hide();                }            });        });        var EditorWang = window.wangEditor;        var product_main_dimension = new EditorWang('#product_main_dimension');        product_main_dimension.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        product_main_dimension.create();        product_main_dimension.txt.html('{!!$info->product_main_dimension??''!!}');        var product_secondary_dimension = new EditorWang('#product_secondary_dimension');        product_secondary_dimension.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        product_secondary_dimension.create();        product_secondary_dimension.txt.html('{!! $info->product_secondary_dimension??'' !!}');        var website_function = new EditorWang('#website_function');        website_function.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        website_function.create();        website_function.txt.html('{!! $info->website_function??'' !!}');        var seo_code_optimization = new EditorWang('#seo_code_optimization');        seo_code_optimization.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        seo_code_optimization.create();        seo_code_optimization.txt.html('{!! $info->seo_code_optimization??'' !!}');        var keyword_screening_suggestions = new EditorWang('#keyword_screening_suggestions');        keyword_screening_suggestions.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        keyword_screening_suggestions.create();        keyword_screening_suggestions.txt.html('{!! $info->keyword_screening_suggestions??'' !!}');        var keyword_layout_suggestions = new EditorWang('#keyword_layout_suggestions');        keyword_layout_suggestions.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        keyword_layout_suggestions.create();        keyword_layout_suggestions.txt.html('{!! $info->keyword_layout_suggestions??'' !!}');        var img = new EditorWang('#img');        img.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        img.create();        img.txt.html('{!! $info->img??'' !!}');        var parameter_table = new EditorWang('#parameter_table');        parameter_table.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        parameter_table.create();        parameter_table.txt.html('{!! $info->parameter_table??'' !!}');        var product_copywriting = new EditorWang('#product_copywriting');        product_copywriting.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        product_copywriting.create();        product_copywriting.txt.html('{!! $info->product_copywriting??'' !!}');        var pdf_resources = new EditorWang('#pdf_resources');        pdf_resources.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        pdf_resources.create();        pdf_resources.txt.html('{!! $info->pdf_resources??'' !!}');        var video_resources = new EditorWang('#video_resources');        video_resources.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        video_resources.create();        video_resources.txt.html('{!! $info->video_resources??'' !!}');        var external_link_assessment = new EditorWang('#external_link_assessment');        external_link_assessment.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        external_link_assessment.create();        external_link_assessment.txt.html('{!! $info->external_link_assessment??'' !!}');        var social_promotion = new EditorWang('#social_promotion');        social_promotion.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        social_promotion.create();        social_promotion.txt.html('{!! $info->social_promotion??'' !!}');        var industry_difficulties_analysis = new EditorWang('#industry_difficulties_analysis');        industry_difficulties_analysis.config.menus = [            'head',            'bold',            'fontSize',            'fontName',            'italic',            'underline',            'strikeThrough',            'indent',            'lineHeight',            'foreColor',            'backColor',            'link',            'list',            'todo',            'justify',            'quote',            'splitLine',            'undo',            'redo'        ];        industry_difficulties_analysis.create();        industry_difficulties_analysis.txt.html('{!! $info->industry_difficulties_analysis??'' !!}');        var units = {            save: function (id) {                var url = '/admin/googleTrends/keywordSave/' + id;                var data = tips.getFormValues('#form');                data.product_main_dimension = product_main_dimension.txt.html();                data.product_secondary_dimension = product_secondary_dimension.txt.html();                data.website_function = website_function.txt.html();                data.seo_code_optimization = seo_code_optimization.txt.html();                data.keyword_screening_suggestions = keyword_screening_suggestions.txt.html();                data.keyword_layout_suggestions = keyword_layout_suggestions.txt.html();                data.img = img.txt.html();                data.parameter_table = parameter_table.txt.html();                data.product_copywriting = product_copywriting.txt.html();                data.pdf_resources = pdf_resources.txt.html();                data.video_resources = video_resources.txt.html();                data.external_link_assessment = external_link_assessment.txt.html();                data.social_promotion = social_promotion.txt.html();                data.industry_difficulties_analysis = industry_difficulties_analysis.txt.html();                var ajaxConfig = {                    url: url,                    type: 'post',                    data: data,                    success: function (result) {                        layer.msg(result.message, {icon: 6, time: 1000}, function () {                            tips.closeParentLayer();                            window.parent.tips.tableRefresh('#table');                        });                    }                };                tips.ajax(ajaxConfig);            }        };    </script>@endsection
 |