123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- @extends('admin/layout')
- @section('header')
- <link href="{{asset('css/plugins/chosen/chosen.css')}}" rel="stylesheet">
- <link href="{{asset('css/plugins/switchery/switchery.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="sn">序号:</label>--}}
- {{--<div class="col-sm-8 ">--}}
- {{--<input type="text" class="form-control" id="sn" name="sn">--}}
- {{--</div>--}}
- {{--</div>--}}
- {{--<div class="form-group">--}}
- {{--<label class="col-sm-2 control-label" for="level">层级:</label>--}}
- {{--<div class="col-sm-8 ">--}}
- {{--<input type="text" class="form-control" id="level" name="level">--}}
- {{--</div>--}}
- {{--</div>--}}
- <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">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="chinese_keyword">中文关键词:</label>
- <div class="col-sm-8 ">
- <input type="text" class="form-control" id="chinese_keyword" name="chinese_keyword">
- </div>
- </div>
- {{--<div class="form-group">--}}
- {{--<label class="col-sm-2 control-label" for="page_title">页面标题:</label>--}}
- {{--<div class="col-sm-8 ">--}}
- {{--<input type="text" class="form-control" id="page_title" name="page_title">--}}
- {{--</div>--}}
- {{--</div>--}}
- <div class="form-group">
- <label class="col-sm-2 control-label" for="page_url">着陆页:</label>
- <div class="col-sm-8 ">
- <input type="text" class="form-control" id="page_url" name="page_url">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label" for="search_num">搜索量:</label>
- <div class="col-sm-8 ">
- <input type="text" class="form-control" id="search_num" name="search_num">
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <div class="col-sm-4 col-sm-offset-2">
- <button class="btn btn-primary" type="button"
- onclick="units.save()">
- 保存
- </button>
- <button class="btn btn-white closeLayer" type="button">取消</button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- </body>
- @endsection
- @section('footer')
- <script>
- var units = {
- save: function () {
- var data = tips.getFormValues("#form");
- var ajaxConfig = {
- url: '/admin/rank/site/' + "{{$siteId}}" + '/keyword-save',
- type: 'post',
- data: data,
- success: function (result) {
- layer.msg(result.message, {icon: 6, time: 1000}, function () {
- document.getElementById("form").reset();
- });
- }
- };
- tips.ajax(ajaxConfig);
- }
- };
- </script>
- @endsection
|