index.html 28.1 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861
{template 'public/header'}
{template 'public/comhead'}
<style type="text/css">
    .yg9_content{padding:0px;font-size: 12px;}
    .yg9_content>li{padding-left: 0px;margin-top: 15px;}
    .yg9_content>li:nth-child(2)>.col-md-12{
        border:1px solid #eee;
    }
    .gkfour,.gkthree{
        padding: 8px 0px;
        border:1px solid #eee;
    }
    .gkfour{margin-top: 10px;}
    .gkbackimg,.backimg{text-align: center;}
    .backimg>img{
        width: 40px;
        height: 40px;
        margin-top: 17px;
    }
    .gkbackimg>img{
        width: 40px;
        height: 40px;
        margin-top: 17px;
    }
    .datanum{line-height: 23px;}
    .datanum2{line-height: 35px;font-size: 16px;text-align: center;}
    .datanum3{padding: 15px 15px 0px;border:1px solid #eee;}
    .tmoney{font-size: 26px;text-align: center;}
    .today{font-size: 14px;text-align: center;cursor: pointer;}    
    .todaybox2,.todaybox3,.todaybox4,.todaybox1{position: absolute;left: -10%;top: -22px;z-index: 10;width: 200px;height: 65px;padding: 10px;
        background-color: rgba(0,0,0,0.7);border-radius: 6px;color: white;font-size: 12px;text-indent: 1em;display: none;}
    .arrow-down{width: 0;height: 0;border-bottom: 10px solid rgba(0,0,0,0.7);  border-left: 10px solid transparent;transform: rotate(45deg);
        position: absolute;left: 50%;top: 60px;
    }
    .gkborder{margin-top: 15px;}
    .gkborder2{margin-top: 16px;}
    .gkborder2,.gkborder{border-top: 1px solid #eee;padding: 20px 0px;border-bottom-right-radius: 6px;border-bottom-left-radius: 6px;}
    .gkborder>li{padding: 10px 5px 10px 5px;text-align: center;}
    .gkborder2>li{padding: 9px 5px;text-align: center;}
    .gkborder2>li:nth-child(3),.gkborder2>li:nth-child(1),.gkborder>li:nth-child(1){border-right: 1px solid #eee;}
    .gkborder2>li:nth-child(2),.gkborder>li:nth-child(2){border-right: 1px solid #eee;}
    .gkfont1{line-height: 30px;font-weight: bold;}
    .gkfont2{line-height: 30px;font-size: 12px;}
    .gktitle{padding-left: 30px;font-size: 12px;}
    .ygxian{width: 3px;height: 17px;float:left;background-color: #44ABF7;margin-top: 6px;border:none;}
       

    .list_one{padding-right: 30px;}
    .list_one>li{
      width: 100%;
      height: 54px;
      border-bottom: 1px solid #E5E5E5;
      color: #666666;
      padding-top: 25px;
      padding-left: 20px;
      padding-right: 20px;
    }
    .list_one>li>div:nth-child(1){float: left;}
    .list_one>li>div:nth-child(2){float: right;}
    .list_one_num{color: #ff6161;}
    .yg9_quie{
      padding: 0px 100px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      -webkit-align-items: center;
      -webkit-justify-content: space-between;
    }
    .yg9_quie>li{
      font-size: 14px;
      color: #666666;
      font-weight: bold;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      -webkit-flex-direction: column;
      -webkit-align-items: center;
      -webkit-align-items: center;
    }
    .yg9_quie>a>li>p{margin-top: 9px;text-align: center;}
    .yg9_quie>a>li>img{height: 72px;width: 72px;}
    .content_seller{
          margin-top: 20px;
          height: 230px;
        }
      .content_seller_left{
          height: 200px;          
      }
      .seller_red{color: #ff6161;font-size: 20px;}
      .seller_text{margin-top: 15px;}
      .content_seller_ul{
          padding: 40px 30px 0px;
      }
      .content_seller_ul>li{
          float: left;
          text-align: center;
      }
      .content_thing_title{
          height: 45px;
          background-color: #F3F3F3;
          font-weight: bold;
          color: #333;
          line-height: 45px;
          text-indent: 2em;
          border-bottom: 1px solid #E5E5E5;
      }
      .yg9_left{
        height: 200px;
        border: 1px solid #E5E5E5;
        background-color: white;
      }
      .con{
        margin-bottom: 40px;
        overflow: hidden;
        clear: both;
      }
      .left,
      .right{
        background: #fff;
        height: 220px
      }
      .left{
        padding: 0 30px
      }
      .right{
        border-left:40px solid #F5F7F9;
      }
      .head{
        font-size: 16px;
        margin:15px 0;
      }
      .box i{
        margin-left: 10px;
      }
      .list_list{
        display: flex;
        align-items: center;
        justify-content: space-between;
        -webkit-align-items: center;
        -webkit-justify-content: space-between;
      }
      .list_list li{
        float: left;
        color: #fff;
        height: 158px;
        padding: 0;
/*        margin: 0 15px;
*/      }
/*      .list_list li:first-child{
        margin-left: 0;
      }
      .list_list li:last-child{
        margin-right: 0;
      }*/
      .list_list li h1{
        font-size: 14px;
        margin: 0;
        height: 40px;
        line-height: 40px;
        text-align: center;
      }
      .list_bottom{
        background: rgba(225,225,225,0.2);
        height: 115px;
      }
      .list_bottom b{
        font-weight: normal;
        text-align: center;
        width: 100%;
        display: block;
        padding-top: 30px;
        font-size: 22px;
        margin-bottom: 20px;
      }
      .list_bottom p{
        text-align: center;
      }
      .list_list li:nth-child(1) .box{
        background: #1baaa5
      }
      .list_list li:nth-child(2) .box{
        background: #fd684a
      }
      .list_list li:nth-child(3) .box{
        background: #46a1d8
      }
      .list_list li:nth-child(4) .box{
        background: #1ccf6b
      }
      .list_list li:nth-child(5) .box{
        background: #fca65b
      }
      .list_list li:nth-child(6) .box{
        background: #b345f1
      }
      .money{
        width: 110px;
        height: 110px;
        border: 2px solid #fe7e10;
        border-radius: 100%;
/*        float: left;
*/        cursor: pointer;
        margin-bottom: 15px;
        position: relative;
      }
/*      .product{
        margin-right: 30px
      }
      .weixin{
        margin-left: 30px
      } */   
      .money:hover .tip{
      	display: block;
      }  
      .all_money{
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-align-items: center;
        -webkit-justify-content: space-around;        
      }
      .w_tip2,
      .p_tip2,
      .w_tip,
      .p_tip{
        display: none;
        position: absolute;
        top: -45px;
        background: rgba(0,0,0,0.6);
        padding: 2px 10px;
        color: #fff;
        border-radius: 10px;
        font-size: 12px;
      }
      .money i{
        position: absolute;
        top: 70px;
        left: 50%;
        font-size: 16px;
        margin-left: -8px;
        color: #fff;
      }
      .money p{
        width: 100px;
        height: 100px;
        background: #fca65b;
        border-radius: 100%;
        margin: 3px;
        line-height: 100px;
        text-align: center;
        color: #fff;
        font-size: 14px;
      }
      .tixian{
        display: block;
        border: 1px solid #00aeff;
        margin: 0 auto;
        width: 120px;
        height: 35px;
        text-align: center;
        line-height: 35px;
        border-radius: 35px;
        color:#00aeff;
        clear: both;
      }
      .tixian:hover{
        background: #00aeff;
        color:#fff;
      }
      .detail{
        float: right;
        color: #00aeff;        
      }
      .date_box{
        padding: 15px 30px 30px;
        margin-bottom: 40px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        -webkit-align-items: center;
        -webkit-justify-content: space-between;
        background: #fff;
      }
      .date_box h1{
        text-align: left;;
        padding-left: 10px;
        font-size: 16px;
        margin: 20px 0
      }
      .date_box b{
        font-size: 30px;
        text-align: right;
        display: block;
        margin-bottom: 15px;
      }
      .date_box p{
        text-align: left;
        padding-left: 10px;
        margin-bottom: 10px;
      }
      .today{
         background: -webkit-linear-gradient(left, #4b9fff , #75b5fb); /* Safari 5.1 - 6.0 */
          background: -o-linear-gradient(right, #4b9fff, #75b5fb); /* Opera 11.1 - 12.0 */
          background: -moz-linear-gradient(right, #4b9fff, #75b5fb); /* Firefox 3.6 - 15 */
          background: linear-gradient(to right, #4b9fff , #75b5fb); /* 标准的语法 */
          color: #fff;
          border-radius: 10px;
          height: 175px
      }
      .yesterday{
         background: -webkit-linear-gradient(left, #24dcb3 , #50dfc3); /* Safari 5.1 - 6.0 */
          background: -o-linear-gradient(right, #24dcb3, #50dfc3); /* Opera 11.1 - 12.0 */
          background: -moz-linear-gradient(right, #24dcb3, #50dfc3); /* Firefox 3.6 - 15 */
          background: linear-gradient(to right, #24dcb3 , #50dfc3); /* 标准的语法 */
          color: #fff;  
          border-radius: 10px;
          height: 175px
      }
      .all_total{
         background: -webkit-linear-gradient(left, #ffb64f , #ffc675); /* Safari 5.1 - 6.0 */
          background: -o-linear-gradient(right, #ffb64f, #ffc675); /* Opera 11.1 - 12.0 */
          background: -moz-linear-gradient(right, #ffb64f, #ffc675); /* Firefox 3.6 - 15 */
          background: linear-gradient(to right, #ffb64f , #ffc675); /* 标准的语法 */
          color: #fff;  
          border-radius: 10px;
          height: 175px;
      }
      .login_state{
        width: 145px;
        height: 145px;
        border-radius: 100%;
      }
      .login_state img{
        width: 130px;
        height: 130px;
        border-radius: 100%;
        margin:0 auto;
        display: block;
      }
      .login_state p{
      	text-align: center;
      	margin-top: 5px;
      	padding: 0
      }
      .date_box p.code_tip{
        display: none;
        position: absolute;
        width: 150px;
        height: 150px;
        background: #1ccf6b;
        top: -60px;
        right: 88px;
        padding: 0;
      }
      .code_tip img{
        width: 120px;
        height: 120px;
        display: block;
        margin:15px auto;
      }
      .nav_head{
        background: #fff;
        padding: 15px 0 0 30px;
        font-size: 16px;
        margin:0;
      }
      .pay{
        float: left;
      }
      .tixian_money{
        float: right;
      }
      .side>text:nth-child(1){
      	float: left;
      }
      .side>text:nth-child(1){
      	float: right;
      }
      .footer{
    background:none !important;
    color:#666;
    /*position: fixed;*/
/*    bottom: 0;*/
    /*z-index: -100;*/
    opacity: 1;
    width: 100%;
}
</style>
<div class="main">
<h1 class="nav_head col-md-12">营业状况</h1>
<div class="col-md-12 date_box">
  <div class="col-md-3 today">
    <h1 style="font-size: 25px;">今日营业额              
		<text style="font-size: 25px;margin-left: 60px;">{$jryye}</text>	
    </h1>
    <p>到店支付:{$jrddzf}</p>
    <p>余额支付:{$jryezf}</p>
    <p>在线支付:{$jrzxyye}</p>
 <!--    <b>{$jryye}</b>
     <p class="side">	
		<text>
			余额支付:{$jr_yemoney}
		</text>
    <text>
      在线支付:{$jrzxyye}
    </text>
     </p> -->
  </div>
  <div class="col-md-3 yesterday">
    <h1 style="font-size: 25px;">今日订单      
		<text style="font-size: 25px;margin-left: 60px;">{$jrordernum}</text>	
    </h1>
    <!-- <b>{$jrordernum}</b> -->
    <p>外卖: {$total['total_order']}</p>
    <p>店内: {$dntotal['total_order']}</p>
    <p>当面付: {$dmordernum['total_order']}</p>
   <!-- <div  class="col-md-12" style="padding:0">
    <p class="col-md-4" style="padding:0;text-align: center">外卖: {$total['total_order']}</p>
    <p class="col-md-4" style="padding:0;text-align: center">店内: {$dntotal['total_order']}</p>
    <p class="col-md-4" style="padding:0;text-align: center">当面付: {$dmordernum['total_order']}</p>
   </div> -->
  </div>
  <div class="col-md-3 all_total">
   <h1 style="font-size: 25px;">总营业额      
		<text style="font-size: 25px;margin-left: 60px;">{$cost}</text>	
    </h1>
    <!-- <b>{$cost}</b> -->
    <p>到店支付:{$xxcost}</p>
    <p>
    <a class="">余额支付:{$yecost}</a>	
    </p>
    <p>
		 <a href="{php echo $this->createWebUrl('zjlist');}">在线支付:{$zxcost}</a>
		<a style="float: right;" href="{php echo $this->createWebUrl('finance');}">提现</a>
    </p>
    <p>
		
    </p>
    <!-- <a href="{php echo $this->createWebUrl('zjlist');}" class="pay">在线支付:{$zxcost}</a>&nbsp;&nbsp;&nbsp;
     <a class="pay" style="margin-left: 20px;">余额支付:{$yecost}</a>
    <a href="{php echo $this->createWebUrl('finance');}" class="tixian_money">提现</a> -->
  </div>  
  <div class="login_state">
    {php echo "<img src='data:image/png;base64,".$img."'>"}
    <p>店铺二维码</p>
  </div>
</div>
<div class="con">
  <div class="col-md-8 left">
    <h1 class="head">外卖订单概况</h1>
    <ul class="list_list">

       <li class="col-md-2">
         <div class="box">
            <h1>今日有效订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$jryx['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>今日自提订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$jrzt['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>今日货到付款订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$jrfdfk['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>今日待退款订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$jrdtk['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>有效订单总数<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$total['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
     </ul> 
  </div>
  <div class="right  col-md-4">
    <h1 class="head">外卖收益<a href="{php echo $this->createWebUrl('zjlist');}" class="detail">收益详细</a></h1>
    <div class="all_money">
     <div class="money weixin">
        <p>¥{$jr_wxmoney}</p>
        <i class="fa fa-question-circle" aria-hidden="true"></i>
        <div class="w_tip tip">此金额为微信付款且已完成状态的金额</div>
      </div>
      <div class="money product">
        <p>¥{$jr_ddmoney}</p>
        <i class="fa fa-question-circle" aria-hidden="true"></i>
        <div class="p_tip tip">此金额为货到付款的金额</div>
      </div>
    </div>
<!--     <a href="{php echo $this->createWebUrl('finance');}" class="tixian">提现</a>
 -->  
 </div>
</div>
<div class="con">
  <div class="col-md-8 left">
    <h1 class="head">店内订单概况</h1>
    <ul class="list_list">

       <li class="col-md-2">
         <div class="box" >
            <h1>今日有效订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$dnjryx['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>今日在线付订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$dnjrzxf['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>今日餐后付订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$dnjrchf['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>今日关闭订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$dnjrgb['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>有效订单总数<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$dntotal['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
     </ul> 
  </div>
  <div class="right  col-md-4">
    <h1 class="head">店内收益<a href="{php echo $this->createWebUrl('dnzjlist');}" class="detail">收益详细</a></h1>
    <div class="all_money" >
     <div class="money weixin2" data-toggle="tooltip"  title="此金额为微信付款的金额">
        <p>¥{$dnjr_wxmoney}</p>
        <i class="fa fa-question-circle" aria-hidden="true"></i>
        <div class="w_tip2 tip" data-toggle="tooltip" data-placement="top">此金额为微信付款且已完成状态的金额</div>
      </div>
      <div class="money product2">
        <p>¥{$dnjr_ddmoney}</p>
        <i class="fa fa-question-circle" aria-hidden="true"></i>
        <div class="p_tip2 tip">此金额为餐后付款的金额</div>
      </div>
    </div>
  </div>
</div>
<div class="con">
  <div class="col-md-8 left">
    <h1 class="head">预定订单概况</h1>
    <ul class="list_list">

       <li class="col-md-2">
         <div class="box">
            <h1>今日有效订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$ydtotal['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>今日在线付订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$ydjrzxf['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>今日余额付订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$ydjrchf['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>今日关闭订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$ydjrgb['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>有效订单总数<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$ydjryx['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
     </ul> 
  </div>
  <div class="right  col-md-4">
    <h1 class="head">预定订单收益<a href="{php echo $this->createWebUrl('zjlist');}" class="detail">收益详细</a></h1>
    <div class="all_money">
     <div class="money weixin">
        <p>¥{$ydjr_wxmoney}</p>
        <i class="fa fa-question-circle" aria-hidden="true"></i>
        <div class="w_tip tip">此金额为微信付款且已完成状态的金额</div>
      </div>
      <div class="money product">
        <p>¥{$ydjr_yemoney}</p>
        <i class="fa fa-question-circle" aria-hidden="true"></i>
        <div class="p_tip tip">此金额为余额付款的金额</div>
      </div>
    </div> 
 </div>
</div>

<div class="con">
  <div class="col-md-8 left">
    <h1 class="head">当面付订单概况</h1>
    <ul class="list_list">

       <li class="col-md-2">
         <div class="box">
            <h1>今日有效订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$dmtotal['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>今日在线付订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$dmjrzxf['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>今日余额付订单<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$dmjrchf['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
       <li class="col-md-2">
         <div class="box">
            <h1>有效订单总数<i class="fa fa-question-circle" aria-hidden="true"></i></h1>
            <div class="list_bottom">
              <b>{$dmjryx['total_order']}</b>
              <p>单位  (单)</p>
            </div>
          </div>
       </li>  
     </ul> 
  </div>
  <div class="right  col-md-4">
    <h1 class="head">当面付收益<a href="{php echo $this->createWebUrl('zjlist');}" class="detail">收益详细</a></h1>
    <div class="all_money">
     <div class="money weixin">
        <p>¥{$dmjr_zxmoney}</p>
        <i class="fa fa-question-circle" aria-hidden="true"></i>
        <div class="w_tip tip">此金额为微信付款且已完成状态的金额</div>
      </div>
      <div class="money product">
        <p>¥{$dmjr_yemoney}</p>
        <i class="fa fa-question-circle" aria-hidden="true"></i>
        <div class="p_tip tip">此金额为余额付款的金额</div>
      </div>
    </div> 
 </div>
</div>


    <!-- 待处理的事物 -->
    <div class="panel panel-default" style="clear: both;">
        <div class="panel-heading">运营快捷入口</div>
        <div class="panel-body">
          <ul class="col-md-12 yg9_quie">
          <a href="{php echo $this->createWebUrl('adddishes');}">
            <li class="">
              <img src="../addons/zh_cjdianc/template/images/zu.png">
              <p>添加商品</p>
            </li>
            </a>
<!--             <li class="col-md-1">
              <img src="../addons/zh_cjdianc/template/images/xiaoshou.png">
              <div>菜品管理</div>
            </li> -->
             <a href="{php echo $this->createWebUrl('inorder');}">
            <li class="">
              <img src="../addons/zh_cjdianc/template/images/dingdan.png">
              <p>订单列表</p>
            </li>
             </a>
<!--               <a href="{php echo $this->createWebUrl('table2');}">
            <li class="">
              <img src="../addons/zh_cjdianc/template/images/duanxin.png">
              <p>餐桌管理</p>
            </li>
            </a> -->
            <a href="{php echo $this->createWebUrl('ygquan');}">
            <li class="">
              <img src="../addons/zh_cjdianc/template/images/yuanxing.png">
              <p>营销管理</p>
            </li>
            </a>
             <a href="{php echo $this->createWebUrl('print');}">
            <li class="">
              <img src="../addons/zh_cjdianc/template/images/miaosha.png">
              <p>打印管理</p>
            </li>
            </a>
             <a href="{php echo $this->createWebUrl('storeinfo');}">
            <li class="">
              <img src="../addons/zh_cjdianc/template/images/tuijian.png">
              <p>门店信息</p>
            </li>
            </a>
          </ul>
        </div>
    </div>
    <!-- 运营快捷入口结束 -->
    <!-- 商品总览 -->
    <!-- 待处理的事物 -->
    <div class="content_seller col-md-12" style="padding: 0px;">
            <div class="content_seller_left col-md-6" style="padding-right: 20px;padding-left: 0px;">
                <div class="yg9_left">
                    <div class="content_thing_title">外卖菜品总览</div>
                    <ul class="content_seller_ul">
                        <li class="col-md-3">
                            <div class="seller_red">{$goods['sj']}</div>
                            <div class="seller_text">已上架</div>
                        </li>
                        <li class="col-md-3">
                            <div class="seller_red">{$goods['xj']}</div>
                            <div class="seller_text">已下架</div>
                        </li>
                       <!--  <li class="col-md-3">
                            <div class="seller_red">100</div>
                            <div class="seller_text">已下架</div>
                        </li>
                        <li class="col-md-3">
                            <div class="seller_red">100</div>
                            <div class="seller_text">已下架</div>
                        </li> -->
                    </ul>
                </div>
            </div>
            <div class="content_seller_left col-md-6" style="padding: 0px;">
                <div class="yg9_left">
                    <div class="content_thing_title">店内菜品总览</div>
                    <ul class="content_seller_ul col-md-12">
                        <li class="col-md-3">
                            <div class="seller_red">{$dngoods['sj']}</div>
                            <div class="seller_text">已上架</div>
                        </li>
                        <li class="col-md-3">
                            <div class="seller_red">{$dngoods['xj']}</div>
                            <div class="seller_text">已下架</div>
                        </li>
                       <!--  <li class="col-md-3">
                            <div class="seller_red">100</div>
                            <div class="seller_text">已下架</div>
                        </li>
                        <li class="col-md-3">
                            <div class="seller_red">100</div>
                            <div class="seller_text">已下架</div>
                        </li> -->
                    </ul>
                </div>
            </div>
        </div>
 </div>
 <div class="tip"></div>
<audio id="myaudio5" src="../addons/zh_cjdianc/template/images/wm.wav" controls="controls"  hidden="true" ></audio>
<audio id="myaudio6" src="../addons/zh_cjdianc/template/images/dn.wav" controls="controls"  hidden="true" ></audio>
<audio id="myaudio7" src="../addons/zh_cjdianc/template/images/yy.wav" controls="controls"  hidden="true" ></audio>

<script type="text/javascript">
    $(function(){
        // $("#frame-0").addClass("in");
        $("#frame-0").show();
        $("#yframe-0").addClass("wyactive");
    })
   
</script>
<script type="text/javascript">
$(function(){
    setInterval(function(){
               $.ajax({ 
                type: "post",
                dataType: "json",
                url: "{$_W['siteroot']}/app/index.php?i={$_W['uniacid']}&c=entry&do=neworder&m=zh_cjdianc&store={$_COOKIE['storeid']}",
                success: function (data) {
                    console.log(data);
                   if(data==1){
                     var myAuto5 = document.getElementById('myaudio5');
                     myAuto5.play(); 
                     // $(".tip").append('<audio id="myaudio" src="../addons/zh_cjdianc/template/images/wm.wav" controls="controls"  hidden="true" autoplay></audio>')
                    }else if(data==2){
                        var myAuto6 = document.getElementById('myaudio6');
                     myAuto6.play(); 
                    }else if(data==3){
                        var myAuto7 = document.getElementById('myaudio7');
                     myAuto7.play(); 
                    }
                },
                error:function (data) {
                    console.log(data)
                }

            })
          },10000);
})
    
</script>
{template 'common/footer'}