php中變量代碼:@php$a = 1111;@endphpjs中使用變量代碼:下面兩種都可以,格式不一樣var b = '{{ !!($a)!! )}}'var b = '{!!json_encode($a)!!}';