上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 114 下一页
摘要: /** * 获取企业 */ public function getCompany() { $company = M('company'); $company_list = $company->where(['type'=>1])->field('id,name')->order('CONVERT(n 阅读全文
posted @ 2020-10-17 09:59 TBHacker 阅读(347) 评论(0) 推荐(0) 编辑
摘要: html <view class="search"> <image class="search_icon" src="/images/search.png" alt=""></image> <input class="search_input" type="text" placeholder="请输 阅读全文
posted @ 2020-10-13 10:50 TBHacker 阅读(265) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/422101/202010/422101-20201013090644532-1056843470.png) 阅读全文
posted @ 2020-10-13 09:07 TBHacker 阅读(565) 评论(0) 推荐(0) 编辑
摘要: sudo composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 阅读全文
posted @ 2020-09-27 20:24 TBHacker 阅读(218) 评论(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 阅读(286) 评论(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 阅读(429) 评论(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 阅读(808) 评论(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 阅读(220) 评论(0) 推荐(0) 编辑
摘要: position: absolute; text-align: center; top:255rpx; width: 750rpx; left: 50%; margin-left: -375rpx; /* 宽度的一半 */ 阅读全文
posted @ 2020-09-23 14:46 TBHacker 阅读(236) 评论(0) 推荐(0) 编辑
摘要: $(':radio[name="send_type"]').eq(0).prop("checked",true); 必须用prop,否则无效。用attr无效。 阅读全文
posted @ 2020-09-21 11:15 TBHacker 阅读(148) 评论(0) 推荐(0) 编辑
摘要: find . -name "*.ttss" | xargs rm -f 阅读全文
posted @ 2020-09-18 10:53 TBHacker 阅读(210) 评论(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 阅读(2285) 评论(0) 推荐(0) 编辑
摘要: public static function newCurl($url, $data = array(), $timeout = 5) { $ch = curl_init(); if (is_array($data) && $data) { $formdata = http_build_query( 阅读全文
posted @ 2020-09-16 17:03 TBHacker 阅读(1088) 评论(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 阅读(729) 评论(0) 推荐(0) 编辑
摘要: 本地分支 git branch -D branchname 线上分支 git push origin --delete branchname 阅读全文
posted @ 2020-09-12 10:03 TBHacker 阅读(956) 评论(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 阅读(224) 评论(0) 推荐(0) 编辑
摘要: ini_set('memory_limit', '-1'); 阅读全文
posted @ 2020-09-09 09:38 TBHacker 阅读(426) 评论(0) 推荐(0) 编辑
摘要: <?php namespace Common\Helper; class PrizeHelper { /** * 抽取礼物 * $weight_list = [ * [ * 'id' => 1, * 'name' => '手机', * 'weight' => 100 * ], * [ * 'id' 阅读全文
posted @ 2020-09-02 11:50 TBHacker 阅读(187) 评论(0) 推荐(0) 编辑
摘要: sudo find ./Public/ -name *.txt | sudo xargs rm -rf 阅读全文
posted @ 2020-08-31 12:58 TBHacker 阅读(382) 评论(0) 推荐(1) 编辑
摘要: 如果不处理,很丑。 加上下面的代码,就会好看多了。 <script> // 初始化 wx.config({ debug: false, appId: '{$weixin.appId}', timestamp: '{$weixin.timestamp}', nonceStr: '{$weixin.no 阅读全文
posted @ 2020-08-29 16:01 TBHacker 阅读(1848) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 114 下一页