300)"
x-show="show"
x-transition:enter="transition ease-out duration-300"
x-transition:enter-start="opacity-0 translate-y-4"
x-transition:enter-end="opacity-100 translate-y-0"
x-transition:leave="transition ease-in duration-200"
x-transition:leave-start="opacity-100 translate-y-0"
x-transition:leave-end="opacity-0 translate-y-4"
class="fixed bottom-8 right-8 z-50">
之前我写PHP程序的时候,只知道用str_replace替换单个词,如果一篇文章里有多个关键词需要替换的话,那就得替换多次,非常麻烦,后面无意中发现原来str_replace的参数可以是数组,可以这样写<?php
$str = "你今天开心不开心呀?";
$arr1 = a
JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式,采用完全独立于语言的文本格式,是理想的数据交换格式。同时,JSON是 JavaScript 原生格式,这意味着在 JavaScript 中处理 JSON数据不须要任何特殊的 API 或工具包。 本文