09 2020 档案
摘要:sudo composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
阅读全文
摘要:<view class="order_list"> <view class="order_top">商品清单</view> <image class="img" src="/images/common/plus.png" bind:tap="addProduct" /> </view> <view
阅读全文
摘要:<view class="area"> <text class="left" space="ensp">联系地址:</text> <view class="right"> <picker mode="region" bindchange="bindRegionChange" value="{{reg
阅读全文
摘要:<view> <text space="ensp">你好 啊 哈哈哈(空格是中文字符一半大小)</text> </view> <view> <text space="emsp">你好 啊 哈哈哈(空格是中文字符大小)</text> </view> <view> <text space="nbsp">
阅读全文
摘要:page { height: 100%; /* 必须有这个,下面的才有效 */ } .main { width: 750rpx; height: 100%; position: relative; image { width: 750rpx; height: 100%; } .title { fon
阅读全文
摘要:position: absolute; text-align: center; top:255rpx; width: 750rpx; left: 50%; margin-left: -375rpx; /* 宽度的一半 */
阅读全文
摘要:$(':radio[name="send_type"]').eq(0).prop("checked",true); 必须用prop,否则无效。用attr无效。
阅读全文
摘要:find . -name "*.ttss" | xargs rm -f
阅读全文
摘要:备份 sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup 修改 sudo gedit /etc/apt/sources.list 增加阿里云源 # aliyun deb http://mirrors.aliyun.com/ubuntu
阅读全文
摘要:public static function newCurl(data = array(), $timeout = 5) { data) && $data) { $formdata = http_build_query(
阅读全文
摘要: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);
阅读全文
摘要:本地分支 git branch -D branchname 线上分支 git push origin --delete branchname
阅读全文
摘要:基础工具 var Session = { getData: function (key) { return wx.getStorageSync(key) || null; }, setData: function (key,data) { wx.setStorageSync(key, data);
阅读全文
摘要:ini_set('memory_limit', '-1');
阅读全文
摘要:<?php namespace Common\Helper; class PrizeHelper { /** * 抽取礼物 * $weight_list = [ * [ * 'id' => 1, * 'name' => '手机', * 'weight' => 100 * ], * [ * 'id'
阅读全文