- 博客(14)
- 资源 (11)
- 收藏
- 关注
原创 github热门趋势及常用搜索方法
参考:https://docs.github.com/en/github/searching-for-information-on-github/about-searching-on-github https://www.cnblogs.com/xiaozi/p/10687606.html https://blog.csdn.net/luoyayun361/article/details/883746721、github热门栏目 htt...
2020-08-28 11:55:59 462
原创 thinkphp 5 用Query对象执行 增删改查
$Model = new \think\db\Query(); //执行查询 //查询订单号对应的货品product_id $sql = "SELECT * FROM jshop_order_items WHERE order_id='".$order_id."' ORDER BY id DESC limit 1"; $list = $Model->query($sql); $product_id = $list[0]["product_...
2020-08-23 11:32:20 699
原创 uni-app input设置只读
uni-app input 设置只读,设置属性disabled为true或disabled<input type="digit" class='cell-bd-input' placeholder='请填写押金' v-model="deposit" disabled="true"></input>
2020-08-23 10:28:57 18577 3
原创 字节跳动微信小程序迁移
微信小程序迁移到字节跳动小程序:https://microapp.bytedance.com/docs/zh-CN/mini-app/introduction/plug-in/mini-app-developer/annex-micro-channel-migration-applet/
2020-08-20 15:48:53 1566
原创 字节跳动小程序地图定位
1、获取设备当前的地理位置https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/api/location/tt-get-location2、使用今日头条内置地图查看位置https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/api/location/tt-open-location3、地图https://microapp.bytedance.com/docs/zh
2020-08-20 15:46:59 1966
原创 字节跳动小程序 web-view jssdk H5传递参数 判断H5页面是否在小程序 web-view打开
1、jssdk地址https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/component/open-capacity/web-view/2、H5传递参数<web-view src="{{url}}" bindload="webviewOnLoad" binderror="webviewOnError" bindmessage="onMessage"></web-view>Pa.
2020-08-20 15:41:58 2265
原创 Kendo UI使用教程:入门指南
参考:https://blog.csdn.net/weixin_30938149/article/details/97802391
2020-08-07 20:13:37 192
原创 thinkphp 6.x制定渲染模板
thinkphp 6.x用view()方法指定渲染模板:<?phpdeclare (strict_types = 1);namespace app\admin\controller;class Test{ public function index() { return '您好!这是一个[admin]示例应用'; } public function index2() { //默认模板渲染,模板路径:app\admin\view
2020-08-04 14:24:57 376
原创 thinkphp 6.x分页
use think\Facade\Db; //引用Dbpublic function getList(){ $page = isset($_GET['page']) ? intval($_GET['page']) : 1; $limit = isset($_GET['limit']) ? intval($_GET['limit']) : 10; $name = isset($_GET["name"]) ? $_GET["name"] : ''; //使用“Db::ta.
2020-08-04 12:21:09 301
原创 thinkphp 6.x 开启多应用模块模式
1、安装多应用模式扩展think-multi-appcomposer require topthink/think-multi-app2、安装视图扩展composer require topthink/think-view3、config/app.php 中,修改"auto_multi_app"值为true,没有则添加// 开启多应用自动加载'auto_multi_app' => true,4、删除原有app目录下controller目录5、创建两个模块“admi
2020-08-04 12:16:23 689
原创 kali linux安装中文输入法
参考:https://blog.csdn.net/wanglolaini/article/details/828457481.查看自己内核信息,内核版本太低需要的源不用2.使用命令vim /etc/apt/sources.list,配置阿里云镜像源(只需要一个阿里云源)deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib3. 使用命令更新apt-get update &&...
2020-08-02 11:10:52 346
VC 获取公网 ip 地址
2009-08-07
C++ 四舍五入函数
2009-08-07
虚拟存储管理器的页面调度
2009-04-28
自然语言处理与自然语言理解
2009-03-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人