Dev
搜索

Dev

微信小程序 input 错位 placeholder 层级过高
发表于2024-03-15|others
input错位 原因微信小程序输入时候,会自动上推页面,会出现这个奇怪的问题 解决只要让整个页面可以自动撑开即可,比如最外层的container不要限制高度 placeholder层级只要给不想被错误覆盖的元素一个z-index
git 用远端覆盖本地
发表于2024-03-11|day
https://blog.csdn.net/sinat_36184075/article/details/80115000 123git fetch --allgit reset --hard origin/mastergit pull 不切换分支直接he’bing 123git fetch origingit merge origin/guojin/newemail
yii2 时间戳 修改格式 使用字符串
发表于2024-03-06|php
1234567891011121314public function behaviors(){ $behaviors = parent::behaviors(); $time = [ 'class' => \yii\behaviors\TimestampBehavior::class, 'value' => fn () => date('Y-m-d H:i:s'), 'attributes' => [ \yii\db\ActiveRecord::EVENT_BEFORE_INSERT => ['create_time', 'update_time'], \yii\db\ActiveRecord::EVENT_BEFORE_UPDATE => ['update_time'], ...
全国省市区行政区划数据
发表于2024-03-05|others
https://github.com/modood/Administrative-divisions-of-China https://gitee.com/shadowy/china-city
yii2 依赖注入 自动装配
发表于2024-03-02|php
Yii2对象123456public function __construct( public AssetLogic $logic, $config = [],) { parent::__construct($config);} 控制器 包括命令行和web 12345678public function __construct( $id, $moudule, $config, public AssetLogic $assetLogic,) { parent::__construct($id, $moudule, $config);}
产品感悟
发表于2024-02-02|day
很多产品都是”滤镜”,比如:mbti心理测试,实际上就是说用户好话,让用户便于分享.类似于照片美颜
yii2 只更新时间戳
发表于2024-01-23|php
1$patient->touch(['update_time']);
laravel 输出时间戳timestamps总是格式错误
发表于2023-11-29|php
可以在输出前配置 1234protected $casts = [ 'created_at' => 'datetime:Y-m-d h:i:s', 'updated_at' => 'datetime:Y-m-d h:i:s',];
php switch case的问题
发表于2023-11-27|php
123456789$type = 'miniprogram';switch ($type) { case Message::MSGTYPE_MINIPROGRAM: var_dump(22); case Message::MSGTYPE_VIDEO: var_dump(111); break; default: break; 由于22那里没有break,导致他还会输出111
jquery html使用
发表于2023-11-07|jq
获取radio值1$('input:radio:checked').val(); input禁用1$('input[name="company[company_name]"]').prop("readonly", ''); select禁用1$('select[name="user[meta][age_group]"]').prop("disabled", false); disabled无法提交问题12345678910$("#app-edit-profile").find('form').submit(function(){ checkDisable()})function checkDisable() { $("select[disabled]").each(function() { $...
1…111213…104
avatar
developer
AI相伴的开发者博客
文章
1034
标签
741
分类
36
公告
This is my Blog
最新文章
Cmder 跟随 Windows 明暗主题2026-10-28
Intel(R) System Usage Report禁用2026-10-18
压力测试2026-10-16
税务学习记录2026-10-13
wsl2中podman总是需要登录解决办法2026-10-10
分类
  • apicloud3
  • bootstrap8
  • cmder1
  • cocos2d-js5
  • createjs17
  • day45
  • docker16
  • egret14
标签
豆腐 与女生 事务 小数点 会展行业 鼠标点击穿透 https 按 tostring issuer array_map ajax请求 开放平台 prefork autodarkmode ueditor php7 算法 常用命令 wordpress,plugins_url 小程序开发 include() 路由不生效 变量导入数组 区别 时间复杂度 family soffice getx 图层 Post Formats 菜单 模型初始化 容器获取的不同点 header 复制文件 算法复杂度 解决 运营网站记录 图片
归档
  • 十月 2026 9
  • 八月 2026 1
  • 六月 2026 2
  • 五月 2026 1
  • 四月 2026 2
  • 三月 2026 3
  • 二月 2026 5
  • 一月 2026 3
网站信息
文章数目 :
1034
最后更新时间 :
© 2025 - 2026 By developer框架 Hexo 8.1.2|主题 Butterfly 5.7.0
搜索
数据加载中