摘要: package cn.itcast_02; /* * 有一对兔子,从出生后的第3个月起每个月都生一对兔子,小兔子长到第3个月后每个月又生一对兔子,假如兔子不死,问第20个月第兔子对数为多少? * 分析: * 兔子对数 * 第一个月: 1 * 第二个月: 1 * 第三个月: 2 * 第四个月: 3 * 阅读全文
posted @ 2018-03-09 14:31 让双脚&去腾空 阅读(2032) 评论(0) 推荐(1) 编辑
摘要: <?php //单例模式:例如只有一个db类的时候保证只new一次 //第一步:普通类 class sigle{ protected static $ins = null(); //第二步:封锁 new 操作 public static function getIns(){ if(self ::$i 阅读全文
posted @ 2021-11-16 17:46 让双脚&去腾空 阅读(22) 评论(0) 推荐(0) 编辑
摘要: <?php interface db{ function conn(); } interface Factory{ function createDB(); } class dbmysql implements db{ public function conn(){ echo ''; } } cla 阅读全文
posted @ 2021-11-16 16:33 让双脚&去腾空 阅读(24) 评论(0) 推荐(0) 编辑
摘要: <?php // 抽象类:抽象方法只能声明,不能有方法体,允许通过继承来实例化。(可以有普通方法) // 接口类:只能声明,不能有方法体,允许通过继承来实例化。 abstract class Tiger{ public abstract function clime(); } class XTige 阅读全文
posted @ 2021-11-16 15:25 让双脚&去腾空 阅读(20) 评论(0) 推荐(0) 编辑
摘要: server { l isten 80; listen [::]:80; server_name www.50.com; root /var/www/50vue/public; location / { #index index.html; if (!-e $request_filename){ r 阅读全文
posted @ 2021-10-18 16:17 让双脚&去腾空 阅读(37) 评论(0) 推荐(0) 编辑
摘要: // html <div id="dv"></div> // css #dv { width:100px; height:100px; background-color:blue; border-radius:50%; position:absolute;} // js var dv = docum 阅读全文
posted @ 2021-10-09 16:42 让双脚&去腾空 阅读(79) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/Eazon_chan/article/details/88914876 下载 下载Navicat for oracle及破解工具附下载地址:链接:https://pan.baidu.com/s/1o8QxHlgMncbv80NQgMJvMQ 提取码:isf 阅读全文
posted @ 2020-08-11 17:18 让双脚&去腾空 阅读(210) 评论(0) 推荐(0) 编辑
摘要: function zf(datalistt){ for (var i = 0; i < datalistt.length; i++) { var MaxDataNum = datalistt[i].MaxValue; var MinDataNum = datalistt[i].MinValue; i 阅读全文
posted @ 2020-07-09 15:36 让双脚&去腾空 阅读(398) 评论(0) 推荐(0) 编辑
摘要: app开发-打包发布用uni-app软件 uni-app app判断很屏幕和竖屏 <script type="text/javascript"> var mql = window.matchMedia("(orientation: portrait)"); if(mql.matches) { ale 阅读全文
posted @ 2020-06-10 15:22 让双脚&去腾空 阅读(158) 评论(0) 推荐(0) 编辑
摘要: <!--<script type="text/javascript" src="../Public/front/js/echarts.js"></script>--> <!--<script type="text/javascript" src="http://www.echartsjs.com/g 阅读全文
posted @ 2020-03-25 10:41 让双脚&去腾空 阅读(1363) 评论(0) 推荐(0) 编辑
摘要: <div style="border: 2px solid #000;width: 100%;height: 100%;"> <div id="main" style="border: 1px solid green;width: 100%;height: 100%;float: left;back 阅读全文
posted @ 2020-03-05 12:13 让双脚&去腾空 阅读(4101) 评论(0) 推荐(0) 编辑