会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
样子2018
博客园
首页
新随笔
联系
订阅
管理
2025年5月26日
TP5框架 之成绩管理系统
摘要: 一、效果图 二、下载 https://gitee.com/yang1015/score-management-system
阅读全文
posted @ 2025-05-26 17:06 样子2018
阅读(3)
评论(0)
推荐(0)
2025年4月28日
TP5框架 之图书管理系统
摘要: 一、效果图 1、后台 2、前端 二、源码 https://gitee.com/yang1015/library-management-system
阅读全文
posted @ 2025-04-28 08:45 样子2018
阅读(1)
评论(0)
推荐(0)
2025年4月24日
Js 之点击下拉搜索Ajax-Bootstrap-Select
摘要: 一、效果图 二、文档 https://gitcode.com/gh_mirrors/aj/Ajax-Bootstrap-Select/tree/master 三、示例代码 引入插件js、css <link rel="stylesheet" href="{php echo MODULE_URL}tem
阅读全文
posted @ 2025-04-24 15:03 样子2018
阅读(10)
评论(0)
推荐(0)
2024年11月22日
TP5框架 之多对多关联
摘要: 一、表设计 user表 group表 user_group表 二、模型设计 User模型 <?php namespace app\index\model; class Users extends \think\Model { protected $pk = "id"; protected $auto
阅读全文
posted @ 2024-11-22 09:41 样子2018
阅读(8)
评论(0)
推荐(0)
2024年11月6日
Js 之获取几秒、几分钟、几小时、几天前
摘要: 一、代码 /** * 获取几秒、几分钟、几小时、几天前 * @param time * @returns {string} */ function getDiffTime(time) { var nowTime = parseInt((new Date().getTime()) / 1000); v
阅读全文
posted @ 2024-11-06 10:45 样子2018
阅读(69)
评论(0)
推荐(0)
2024年9月21日
Vue3 之hooks 使用详解教程
摘要: 一、基本使用 <template> <view> {{params}} <button @click="goUrl('/pages/index/index')">跳转</button> </view> </template> <script> import { ref, onMounted } fr
阅读全文
posted @ 2024-09-21 10:59 样子2018
阅读(245)
评论(0)
推荐(0)
Vue3 之ref与reactive的区别
摘要: 在Vue 3中,reactive和ref都用于创建响应式的数据,但它们有一些关键的区别: reactive用于创建响应式的对象,该对象的属性是深度响应式的。 ref用于创建响应式的基本类型数据,比如字符串、数字、布尔值等,它是reactive的简化版本,只提供了基本的响应式能力。 一、ref与rea
阅读全文
posted @ 2024-09-21 10:19 样子2018
阅读(473)
评论(0)
推荐(0)
2024年8月22日
Vue 之混入(mixin)详细介绍
摘要: 混入(mixin)提供了一种非常灵活的方式,来分发 Vue 组件中的可复用功能。一个混入对象可以包含任意组件选项(如data、methods、mounted、filters等等)。 一、注册使用 1、在main.js中全局配置 import mixin from './mixins' Vue.mix
阅读全文
posted @ 2024-08-22 09:58 样子2018
阅读(48)
评论(0)
推荐(0)
Vue 之filter过滤器
摘要: 一、注册过滤器 1、在main.js中配置全局 import { formatTime } from './filter' Vue.filter('formatTime', formatTime); 2、在组件中注册 二、使用 <view class="text-area"> <text class
阅读全文
posted @ 2024-08-22 09:40 样子2018
阅读(52)
评论(0)
推荐(0)
2024年7月27日
PHP 之腾讯云对象存储生成临时地址
摘要: 一、代码示例 /** * 生成cos签名 * @param string $httpURI 你的url地址,如:https://xxxx.com/123/23/test.png * @param string $expires 有效时间 分钟 * @param string $headerList
阅读全文
posted @ 2024-07-27 16:29 样子2018
阅读(30)
评论(0)
推荐(0)
下一页
公告