• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
钗的php生涯
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2 3 4 5 6 7 下一页
2020年3月5日
vue实现拍照上传 + base64 上传功能
摘要: <style> .head_pic{ width: 200px; height: 200px; background: #fff; /* border: 1px solid #e1e1e1; */ border-radius: 8px; margin: 10px auto; overflow: hi 阅读全文
posted @ 2020-03-05 10:13 php钗 阅读(3092) 评论(0) 推荐(0)
2020年1月8日
按天统计
摘要: select bf_card.card_num,bf_card.name,COUNT(DISTINCT uid,DATE_FORMAT(bf_kitchen_waste_order.created_at,'%Y-%m-%d')) from bf_kitchen_waste_order JOIN bf 阅读全文
posted @ 2020-01-08 10:41 php钗 阅读(160) 评论(0) 推荐(0)
2019年12月23日
图片上传阿里云oss 数据存入redis List
摘要: 1、composer加载oss插件 composer require aliyuncs/oss-sdk-php 2、更改config配置 //控制器代码如下 public function aliyun($category='',$isunlink=false,$bucket="phpchai"){ 阅读全文
posted @ 2019-12-23 14:34 php钗 阅读(849) 评论(0) 推荐(0)
2019年12月11日
tp5实现月统计数据
摘要: $arr="select sum(weight) as weight,s_id, CONCAT(YEAR(date),'-',MONTH(date)) AS releaseYearMonth from (select bf_clean.* FROM bf_clean,bf_dclear where 阅读全文
posted @ 2019-12-11 11:09 php钗 阅读(3464) 评论(0) 推荐(0)
2019年11月19日
es6 新特性
摘要: 1、 2⃣️模版字符串 使用 反引号``(键盘上esc下面那个键) 将整个字符串包裹起来,而在其中使用 ${} 来包裹一个变量或者一个表达式 // es5 var a = 20; var b = 30; var string = a + "+" + b + "=" + (a + b); // es6 阅读全文
posted @ 2019-11-19 14:54 php钗 阅读(155) 评论(0) 推荐(0)
es6 新特性总结
摘要: 1、不一样的变量声明:const和let ES6推荐使用let声明局部变量,相比之前的var(无论声明在何处,都会被视为声明在函数的最顶部)let和var声明的区别: var x = '全局变量'; { let x = '局部变量'; console.log(x); // 局部变量 } consol 阅读全文
posted @ 2019-11-19 14:20 php钗 阅读(150) 评论(0) 推荐(0)
2019年11月15日
vue 路由配置
摘要: 第一步:下载安装vue-router插件 npm install vue-router --save 以下都是在main.js中操作 第二步:在main.js文件中引入插件并且使用 import VueRouter from 'vue-router' Vue.use(VueRouter) 第三步:创 阅读全文
posted @ 2019-11-15 17:15 php钗 阅读(276) 评论(0) 推荐(0)
vue demo---敲烂灭火器
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="author" content="xing.org1^-^"> <title>敲烂灭火器</title> <link rel="stylesheet" 阅读全文
posted @ 2019-11-15 15:21 php钗 阅读(157) 评论(0) 推荐(0)
vue 知识总结
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>vue study</title> <link rel="stylesheet" href="css/style.css"> <script src="js/v 阅读全文
posted @ 2019-11-15 15:08 php钗 阅读(160) 评论(0) 推荐(0)
前端vue框架的安装
摘要: 1、安装:npm install -g @vue/cli 加载vue项目:vue init webpack news 2、启动:npm run serve(dev) 3、加载路由组件:npm i vue-router 4、加载vuex: npm i vuex 阅读全文
posted @ 2019-11-15 13:13 php钗 阅读(540) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3