09 2020 档案

摘要:sudo composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 阅读全文
posted @ 2020-09-27 20:24 TBHacker 阅读(221) 评论(0) 推荐(0) 编辑
摘要:<view class="order_list"> <view class="order_top">商品清单</view> <image class="img" src="/images/common/plus.png" bind:tap="addProduct" /> </view> <view 阅读全文
posted @ 2020-09-27 16:49 TBHacker 阅读(289) 评论(0) 推荐(0) 编辑
摘要:<view class="area"> <text class="left" space="ensp">联系地址:</text> <view class="right"> <picker mode="region" bindchange="bindRegionChange" value="{{reg 阅读全文
posted @ 2020-09-24 14:59 TBHacker 阅读(466) 评论(0) 推荐(0) 编辑
摘要:<view> <text space="ensp">你好 啊 哈哈哈(空格是中文字符一半大小)</text> </view> <view> <text space="emsp">你好 啊 哈哈哈(空格是中文字符大小)</text> </view> <view> <text space="nbsp"> 阅读全文
posted @ 2020-09-23 15:40 TBHacker 阅读(812) 评论(0) 推荐(0) 编辑
摘要:page { height: 100%; /* 必须有这个,下面的才有效 */ } .main { width: 750rpx; height: 100%; position: relative; image { width: 750rpx; height: 100%; } .title { fon 阅读全文
posted @ 2020-09-23 14:52 TBHacker 阅读(224) 评论(0) 推荐(0) 编辑
摘要:position: absolute; text-align: center; top:255rpx; width: 750rpx; left: 50%; margin-left: -375rpx; /* 宽度的一半 */ 阅读全文
posted @ 2020-09-23 14:46 TBHacker 阅读(238) 评论(0) 推荐(0) 编辑
摘要:$(':radio[name="send_type"]').eq(0).prop("checked",true); 必须用prop,否则无效。用attr无效。 阅读全文
posted @ 2020-09-21 11:15 TBHacker 阅读(149) 评论(0) 推荐(0) 编辑
摘要:find . -name "*.ttss" | xargs rm -f 阅读全文
posted @ 2020-09-18 10:53 TBHacker 阅读(217) 评论(0) 推荐(0) 编辑
摘要:备份 sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup 修改 sudo gedit /etc/apt/sources.list 增加阿里云源 # aliyun deb http://mirrors.aliyun.com/ubuntu 阅读全文
posted @ 2020-09-17 09:55 TBHacker 阅读(2288) 评论(0) 推荐(0) 编辑
摘要:public static function newCurl(url,data = array(), $timeout = 5) { ch=curlinit();if(isarray(data) && $data) { $formdata = http_build_query( 阅读全文
posted @ 2020-09-16 17:03 TBHacker 阅读(1172) 评论(0) 推荐(0) 编辑
摘要:css .mask-box { width: px2rem(685px); position: fixed; top: 0; right: px2rem(-685px); transition: all 0.5s; height: 100%; background:rgba(0,0,0,0.8); 阅读全文
posted @ 2020-09-16 09:15 TBHacker 阅读(762) 评论(0) 推荐(0) 编辑
摘要:本地分支 git branch -D branchname 线上分支 git push origin --delete branchname 阅读全文
posted @ 2020-09-12 10:03 TBHacker 阅读(957) 评论(0) 推荐(0) 编辑
摘要:基础工具 var Session = { getData: function (key) { return wx.getStorageSync(key) || null; }, setData: function (key,data) { wx.setStorageSync(key, data); 阅读全文
posted @ 2020-09-11 15:29 TBHacker 阅读(235) 评论(0) 推荐(0) 编辑
摘要:ini_set('memory_limit', '-1'); 阅读全文
posted @ 2020-09-09 09:38 TBHacker 阅读(431) 评论(0) 推荐(0) 编辑
摘要:<?php namespace Common\Helper; class PrizeHelper { /** * 抽取礼物 * $weight_list = [ * [ * 'id' => 1, * 'name' => '手机', * 'weight' => 100 * ], * [ * 'id' 阅读全文
posted @ 2020-09-02 11:50 TBHacker 阅读(189) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示