| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- @extends('layouts.base')
- @section('content')
- <link href="{{static_url('yunshop/balance/balance.css')}}" media="all" rel="stylesheet" type="text/css"/>
- <link href="{{static_url('yunshop/css/order.css')}}" media="all" rel="stylesheet" type="text/css"/>
- <div class="w1200 m0a">
- <div class="rightlist" id="member-blade">
- @include('layouts.tabs')
- <div class="panel panel-default">
- <div class="panel-body">
- <div class='alert alert-info'>
- <p>1.按照商品销售额进行排序;</p>
- </div>
- {{--<form action="" method="post" class="form-horizontal" role="form" id="form1">--}}
- {{--<div class="form-group col-sm-6 col-lg-6 col-xs-12">--}}
- {{--<div class="input-group">--}}
- {{--<span class="input-group-addon">--}}
- {{--<input type="checkbox" name="search[is_time]" value="1"--}}
- {{--@if($search['is_time'] == '1')checked="checked"@endif>--}}
- {{--</span>--}}
- {{--{!!app\common\helpers\DateRange::tplFormFieldDateRange('search[time]', [--}}
- {{--'starttime'=>$search['time']['start'] ?: date('Y-m-d H:i:s'),--}}
- {{--'endtime'=>$search['time']['end'] ?: date('Y-m-d H:i:s'),--}}
- {{--'start'=>0,--}}
- {{--'end'=>0--}}
- {{--])!!}--}}
- {{--</div>--}}
- {{--</div>--}}
- {{--<div class="form-group col-xs-12 col-sm-4">--}}
- {{--<button class="btn btn-success" type="submit" id="search"><i class="fa fa-search"></i> 搜索</button>--}}
- {{--<button type="submit" name="export" value="1" id="export" class="btn btn-default">导出 Excel</button>--}}
- {{--</div>--}}
- {{--</form>--}}
- </div>
- {{--<div class="panel panel-default">--}}
- {{--<table class='table' style='float:left;margin-bottom:0;table-layout: fixed;line-height: 40px;height: 40px'>--}}
- {{--<tr class='trhead'>--}}
- {{--<td colspan='8' style="text-align: left;">--}}
- {{--供应商数量: <span id="total">{{ $supplierTotal }}个</span> 未提现收入: <span id="total">{{ $unWithdrawTotal }}元</span> 提现中收入: <span id="total">{{ $withdrawingTotal }}元</span> 已提现收入: <span id="total">{{ $withdrawTotal }}元</span>--}}
- {{--</td>--}}
- {{--</tr>--}}
- {{--</table>--}}
- {{--</div>--}}
- <div class='panel-body'>
- <table class="table table-hover">
- <thead>
- <tr>
- <th style='width:80px;'>排行</th>
- <th>商品名称</th>
- <th>商品销量额</th>
- </tr>
- </thead>
- <tbody>
- @foreach($list as $key => $item)
- <tr>
- <td>
- @if($key <= 2)
- <label class='label label-danger' style='padding:8px;'> {{ $item['ranking'] }} </label>
- @else
- <label class='label label-default' style='padding:8px;'> {{ $item['ranking'] }} </label>
- @endif
- </td>
- <td>{{ $item['title'] }}</td>
- <td>{{ $item['price_sum'] }}</td>
- </tr>
- @endforeach
- </table>
- {{--{!! $page !!}--}}
- </div>
- </div>
- </div>
- </div>
- <script>
- $(function () {
- $('#export').click(function () {
- $('#form1').attr('action', '{!! yzWebUrl('charts.goods.sales-volume-count.export') !!}');
- $('#form1').submit();
- });
- });
- </script>
- @endsection
|