@extends('layout.base') @section('page-title', __('basic.PageIndex')) @section('page-js-script') @endsection @section('container') @php //所有圖片 $allImage = [ 'main_banner' => [ 1 => asset('image/banner/37 Marketing Mar-Apr/02 MAIN BANNER/MAIN BANNER 1-1/' . app()->getLocale() . '.png'), // 2 => asset('image/banner/37 Marketing Mar-Apr/02 MAIN BANNER/MAIN BANNER 1-2/' . app()->getLocale() . '.png'), 3 => asset('image/banner/37 Marketing Mar-Apr/03 MAIN BANNER 2/699/699 ' . app()->getLocale() . '.png'), ], 'main_banner_right' => [ 1 => asset('image/banner/33 Marketing Banner Feb/05 MAIN BANNER-RIGHT 1/MAIN BANNER-RIGHT 1 - ' . app()->getLocale() . '.png'), 2 => asset('image/banner/33 Marketing Banner Feb/06 MAIN BANNER-RIGHT 2/MAIN BANNER-RIGHT 2 - ' . app()->getLocale() . '.png'), ], 'dashboard' => [ 'logo' => asset('image/banner/33 Marketing Banner Feb/07 DASHBOARD/DASHBOARD 3.png'), 'bg' => asset('image/banner/33 Marketing Banner Feb/07 DASHBOARD/DASHBOARD 1.png'), ], 'font' => [ 'flash_sale' => asset('image/banner/37 Marketing Mar-Apr/08 Flash Sale FRONT/FRONT ' . app()->getLocale() . '.png'), 'first_buy' => asset('image/banner/37 Marketing Mar-Apr/11 NEW MEMBER FRONT/699/699 ' . app()->getLocale() . '.png'), 'selected_brand' => asset('image/banner/37 Marketing Mar-Apr/14 SINGLE BRAND FRONT/' . app()->getLocale() . '.png'), ], 'background' => [ 'flash_sale' => asset('image/banner/37 Marketing Mar-Apr/09 Flash Sale BACKGROUND/09 FLASH SALE BACKGROUND.png'), 'first_buy' => asset('image/banner/37 Marketing Mar-Apr/12 NEW MEMBER BACKGROUND/12 NEW MEMBER BACKGROUND.png'), 'selected_brand' => asset('image/banner/37 Marketing Mar-Apr/15 SINGLE BRAND BACKGROUND/15 SINGLE BRAND BACKGROUND.png'), ], 'AD' => [ 1 => asset('image/banner/33 Marketing Banner Feb/ADS/ADS1 - ' . app()->getLocale() . '.png'), 2 => asset('image/banner/33 Marketing Banner Feb/ADS/ADS2 - ' . app()->getLocale() . '.png'), 3 => asset('image/banner/33 Marketing Banner Feb/ADS/ADS3 - ' . app()->getLocale() . '.png'), 4 => asset('image/banner/33 Marketing Banner Feb/ADS/ADS4 - ' . app()->getLocale() . '.png'), ], ]; @endphp {{-- @php $data = [ [ // 我的推薦 'code' => 'dashboard_1', 'color' => '#0073BB;', 'id' => 'recommend', 'title' => __('robot.Share'), 'img' => 'image/icon/1.png', 'num' => $numList['totalChildrenCount'] ?? 0, 'detail' => [ [ // 種子會員 'code' => 'dashboard_1_1', 'title' => __('robot.ShareMember'), 'img' => 'image/icon/7.png', 'num' => $numList['totalChildrenCount'] - $numList['fund_count'], ], [ // 回饋會員 'code' => 'dashboard_1_2', 'title' => __('robot.BonusMember'), 'img' => 'image/icon/8.png', 'num' => $numList['fund_count'], ], ], ], [ // 我的金庫 // 'color' => '#FFC700;', 'code' => 'dashboard_2', 'color' => '#ff8966;', 'id' => 'money', 'title' => __('robot.MyCoin'), 'img' => 'image/icon/2.png', 'num' => $numList['coin'] + $numList['bonus'], 'detail' => [ [ // 購物金 'code' => 'dashboard_2_1', 'title' => __('robot.ClcCoin'), 'img' => 'image/icon/5.png', 'num' => $numList['coin'], ], [ // 回饋金 'code' => 'dashboard_2_2', 'title' => __('robot.Cashback'), 'img' => 'image/icon/6.png', 'num' => $numList['bonus'], ], ], ], [ // 我的商品 'code' => 'dashboard_3', 'color' => '#259C8C;', 'id' => 'product', 'title' => __('robot.PurchaseHistory'), 'img' => 'image/icon/3.png', 'num' => '0', 'url' => route('orderlist'), 'detail' => [ // [ // 'title' => '種子會員', // 'num' => '50', // ], // [ // 'title' => '種子會員', // 'num' => '50', // ], ], ], [ // 我的通知 'code' => 'dashboard_4', 'color' => '#E73B56;', 'id' => 'notice', 'title' => __('robot.MyNotification'), 'img' => 'image/icon/4.png', 'num' => '0', 'url' => route('notice'), 'detail' => [ // [ // 'title' => '種子會員', // 'num' => '50', // ], // [ // 'title' => '種子會員', // 'num' => '50', // ], ], ], ]; @endphp --}} @php $data = [ [ // 種子會員 'code' => 'dashboard_1', 'color' => '#000000;', 'id' => 'recommend', 'title' => __('robot.ShareMember'), 'img' => 'image/dashboard/1.png', 'num' => $numList['totalChildrenCount'] - $numList['fund_count'], ], [ // 回饋會員 'code' => 'dashboard_2', 'color' => '#000000;', 'id' => 'money', 'title' => __('robot.BonusMember'), 'img' => 'image/dashboard/2.png', 'num' => $numList['fund_count'], ], [ // CLC幣 'code' => 'dashboard_3', 'color' => '#000000;', 'id' => 'product', 'title' => __('robot.ClcCoin'), 'img' => 'image/dashboard/3.png', 'num' => $numList['coin'], 'url' => route('coin'), ], [ // 回饋金 'code' => 'dashboard_4', 'color' => '#000000;', 'id' => 'notice', 'title' => __('robot.Cashback'), 'img' => 'image/dashboard/4.png', 'num' => $numList['bonus'], 'url' => '#', ], ]; @endphp {{-- Float Gif --}} {{--
{{ $tab['title'] }}
{{ $tab['num'] }}
{{ $tab['title'] }}
{{ $tab['num'] }}