| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- @extends('layouts.base')
- @section('content')
- @section('title', trans($title))
-
- <!-- <div class="right-titpos"> -->
- <!-- <ul class="add-snav" id="myTab"> -->
- <div class="top">
- <ul class="add-shopnav" id="myTab">
- <li class="active"><a href="#title">{{$title}}</a></li>
- <li class="" ><a href="#tab_share">分享设置</a></li>
- <li class="" ><a href="#tab_notice">群发设置</a></li>
- </ul>
- </div>
- <script type="text/javascript">
- window.optionchanged = false;
- require(['bootstrap'], function () {
- $('#myTab a').click(function (e) {
- e.preventDefault();
- $(this).tab('show');
- })
- });
-
- $('li').click(function() {
- // console.log($(this).html());
- if ($(this).children().attr('href') == '#tab_share') {
- $('#tab_share').show();
- $('#title').hide();
- $('#tab_notice').hide();
- }else if ($(this).children().attr('href') == '#tab_notice') {
- $('#tab_notice').show();
- $('#tab_share').hide();
- $('#title').hide();
- } else {
- $('#title').show();
- $('#tab_share').hide();
- $('#tab_notice').hide();
- }
- });
- </script>
- <div class='panel panel-default'>
- <form action="" method="post" class="form-horizontal form">
- <div class="tab-pane" id="title" style="display: block;"> @include('Yunshop\Conference::admin.tpl.activity') </div>
- <div class="tab-pane" id="tab_share" style="display: none;"> @include('Yunshop\Conference::admin.tpl.share') </div>
- <div class="tab-pane" id="tab_notice" style="display: none;"> @include('Yunshop\Conference::admin.tpl.notice') </div>
- <div class="form-group">
- <div class="col-sm-9 col-xs-12">
- <input type="submit" value="提交" class="btn btn-primary"/>
- <a href="{{yzUrl("plugin.conference.admin.conference.manage")}}"><span class="btn btn-default"
- style='margin-left:10px;'>返回列表</span></a>
- </div>
- </div>
- </form>
- </div>
- <div style="width:100%;height:150px;"></div>
- <script type="text/javascript">
- require(['bootstrap'], function ($) {
- $(document).scroll(function () {
- var toptype = $("#edui1_toolbarbox").css('position');
- if (toptype == "fixed") {
- $("#edui1_toolbarbox").addClass('top_menu');
- }
- else {
- $("#edui1_toolbarbox").removeClass('top_menu');
- }
- });
- });
- </script>
- @endsection
|