| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- @extends('layouts.base')
- @section('content')
- @section('title', '广告明细')
- <script src="http://cdn.static.runoob.com/libs/angular.js/1.4.6/angular.min.js"></script>
- <div class='panel panel-default'>
- <form action="" method="post" class="form-horizontal" id="form1">
- <div class="panel panel-info">
- <div class="panel-body">
- <input type="hidden" name="search[advert_id]" value="{{$search['advert_id']}}">
- <div class="form-group col-xs-12 col-sm-2 col-md-2 col-lg-2">
- {{-- <label class="col-xs-12 col-sm-2 col-md-2 col-lg-2 control-label">门店地址</label>--}}
- <div class="">
- {!! app\common\helpers\AddressHelper::tplLinkedAddress(['search[province_id]','search[city_id]','search[district_id]','search[street_id]'], [])!!}
- </div>
- </div>
- <div class="form-group col-xs-12 col-sm-3">
- <input class="form-control" name="search[sn]" type="text"
- value="{{$search['sn']}}" placeholder="设备SN码">
- </div>
- <div class="form-group col-xs-12 col-sm-3">
- <input class="form-control" name="search[store_name]" type="text"
- value="{{$search['store_name']}}" placeholder="门店名称">
- </div>
- <div class="form-group col-xs-12 col-sm-3">
- <select name='search[store_category]' class='form-control'>
- <option value=''>门店分类</option>
- @foreach($category_list as $category)
- <option value='{{$category->id}}' @if($search['category'] == $category->id) selected="selected"@endif
- >{{$category->name}}</option>
- @endforeach
- </select>
- </div>
- <div class="form-group col-xs-12 col-sm-3">
- <input class="form-control" name="search[advert_id]" type="text"
- value="{{$search['advert_id']}}" placeholder="广告ID">
- </div>
- <div class="form-group col-xs-12 col-sm-3">
- <input class="form-control" name="search[advert_member]" type="text"
- value="{{$search['advert_member']}}" placeholder="广告主ID/广告主名称/手机号">
- </div>
- <div class="form-group col-xs-12 col-sm-7 col-lg-4">
- <div class="">
- <button class="btn btn-success ">
- <i class="fa fa-search"></i>
- 搜索
- </button>
- </div>
- </div>
- </div>
- </div>
- </form>
- </div>
- <body ng-app="">
- <div class='panel panel-default'>
- <div class='panel-heading'>
- 总数:{{$list->total()}}个
- </div>
- <div class='panel-body'>
- <table class="table table-hover" style="overflow:visible;">
- <thead>
- <tr>
- <th style='width:30%;text-align: center;'>SN码</th>
- <th style='width:8%;text-align: center;'>门店名称</th>
- <th style='width:6%;text-align: center;'>广告ID</th>
- <th style='width:8%;text-align: center;'>广告主</th>
- <th style='width:16%;text-align: center;'>创建时间<br>播放日期</th>
- <th style='width:8%;text-align: center;'>广告类型</th>
- <th style='width:8%;text-align: center;'>广告量</th>
- <th style='width:8%;text-align: center;'>广告单价</th>
- <th style='width:8%;'>广告费用</th>
- <th style='width:8%;'>剩余预算</th>
- <th style='width:8%;'>提成比例</th>
- <th style='width:8%;'>门店提成</th>
- </tr>
- </thead>
- <tbody>
- @foreach($list as $row)
- <tr>
- <td style="text-align: center;">{{$row->sn}}</td>
- <td style="text-align: center;">
- <img src="{{tomedia($row->store->thumb)}}"
- style="width: 30px; height: 30px;border:1px solid #ccc;padding:1px;">
- </br>
- {{$row->store->store_name}}
- </td>
- <td style="text-align: center;">{{$row->advert_id}}</td>
- <td style="text-align: center;">
- <a target="_blank"
- href="{{yzWebUrl('member.member.detail',['id' => $row->advertMember->uid])}}">
- <img src="{{tomedia($row->advertMember->member->avatar)}}"
- style="width: 30px; height: 30px;border:1px solid #ccc;padding:1px;">
- </br>
- {{$row->advertMember->member->nickname}}
- </a>
- </td>
- <td style="text-align: center;">
- {{$row->created_at}}<br>{{$row->playdate}}
- </td>
- <td style="text-align: center;">
- {{$row->code_name}}
- </td>
- <td style="text-align: center;">
- {{$row->view_count}}{{$row->unit_code_name}}
- </td>
- <td style="text-align: center;">
- {{$row->advert_unit}}
- </td>
- <td style="text-align: center;">
- {{$row->advert_amount}}
- </td>
- <td style="text-align: center;">
- {{$row->advert_budget}}
- </td>
- <td style="text-align: center;">
- {{$row->ratio}}
- </td>
- <td style="text-align: center;">
- {{$row->amount}}
- </td>
- </tr>
- @endforeach
- </tbody>
- </table>
- {!! $pager !!}
- </div>
- </div>
- </body>
- <div style="width:100%;height:150px;"></div>
- @endsection
|