|
|
@@ -3,21 +3,21 @@
|
|
|
<head>
|
|
|
<meta charset="utf-8">
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
- <link rel="icon" href="{{mix('icon/faviconc.ico')}}" type="image/x-icon"/>
|
|
|
+ <link rel="icon" href="{{asset('icon/faviconc.ico')}}" type="image/x-icon"/>
|
|
|
<!-- CSRF Token -->
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
|
|
<title>@yield('title') {{ config('app.name', '宝时WAS') }}</title>
|
|
|
@yield('head')
|
|
|
<!-- Styles -->
|
|
|
- <link href="{{ asset('css/app.css') }}" rel="stylesheet">
|
|
|
+ <link href="{{ mix('css/app.css') }}" rel="stylesheet">
|
|
|
</head>
|
|
|
<body>
|
|
|
<div id="app">
|
|
|
<nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm" style="padding: 0;" >
|
|
|
<div class="container-fluid">
|
|
|
<a class="navbar-brand" href="{{ url('/') }}" title="宝时 Warehouse Assistance System" style="vertical-align: text-bottom">
|
|
|
- <img src="{{mix('icon/logo100b.png')}}" alt="宝时 Warehouse Assistance System" height="30" >
|
|
|
+ <img src="{{asset('icon/logo100b.png')}}" alt="宝时 Warehouse Assistance System" height="30" >
|
|
|
</a>
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{ __('Toggle navigation') }}">
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
@@ -32,7 +32,7 @@
|
|
|
<!-- Scripts -->
|
|
|
@yield('script')
|
|
|
{{-- 必须在app.js前边--}}
|
|
|
-<script src="{{ asset('js/app.js') }}"></script>
|
|
|
+<script src="{{ mix('js/app.js') }}"></script>
|
|
|
<script>
|
|
|
let isActive=function (name,atSlashLevel) {
|
|
|
let uriWithNoParam=location.href.split('?')[0];
|