2020/8/8

uniapp动态改变class

html <view v-for="(huadong,index) in huadongs" :key="inde…

  • uni-app
  • 2020/8/8
  • helei
  • 851
  • 2020/8/8

    ​uniapp隐藏scroll-view滚动条

    scroll-view ::-webkit-scrollbar { width: 0; height: 0; background-color:…

  • uni-app
  • 2020/8/8
  • helei
  • 741
  • 2020/8/8

    uniapp自定义属性/uniapp自定义属性取值

    <template>     <view>       &nb…

  • uni-app
  • 2020/8/8
  • helei
  • 761
  • 2020/8/7

    uniapp获取手机型号

    uni.getSystemInfo({ success(res) { console.log(res.brand) //手机牌子 console.log(…

  • uni-app
  • 2020/8/7
  • helei
  • 810
  • 2020/8/6

    微信小程序地图导航

     wx.getLocation({       type: 'gcj02', //…

  • 微信小程序
  • 2020/8/6
  • helei
  • 692
  • 2020/8/3

    git提交操作

    git add [filename] git commit -m "1.0.1" git push

  • github
  • 2020/8/3
  • helei
  • 860
  • 2020/8/3

    ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to ‘https://github.com/hl1064974123/cms-iframe.git’ hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: ‘git pull …’) before pushing again. hint: See the ‘Note about fast-forwards’ in ‘git push –help’ for details.

    1、git pull origin master --allow-unrelated-histories //把远程仓库和本地同步,消除差异 2、…

  • github
  • 2020/8/3
  • helei
  • 673
  • 2020/7/29

    MySQL数据库datetime类型不能为空值的问题

    修改mysql的配置文件:my.ini/my.cnf 将 sql-mode=""中的STRICT_TRANS_TABLES删除

  • mysql
  • 2020/7/29
  • helei
  • 1,040
  • 2020/7/28

    秒杀系统设计(防止超卖)

    共享锁(S):允许一个事务去读一行,阻止其他事务获得相同数据集的排他锁。 排他锁(X):允许获得…

  • mysql
  • 2020/7/28
  • helei
  • 1,066
  • 2020/7/28

    原生js监听动画执行完事件

    that.parentNode.children[1].addEventListener("transitionend",function(){console.log(&…

  • JavaScript
  • 2020/7/28
  • helei
  • 1,054