2020/8/8

​uniapp隐藏scroll-view滚动条

scroll-view ::-webkit-scrollbar { width: 0; height: 0; background-color: transparent; }  pages.json文件中应用页配置 "scrollIndicator":"none"

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

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

    <template>     <view>         <view :data-kk="value" @click="ck">ddd</view>  …

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

    uniapp获取手机型号

    uni.getSystemInfo({ success(res) { console.log(res.brand) //手机牌子 console.log(res.model) //手机型号 console.log(res.screenWidth) //屏幕宽度 console.log(res.screenHeight) //…

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

    微信小程序地图导航

     wx.getLocation({       type: 'gcj02', //返回可以用于wx.openLocation的经纬度       success (res) { &nbs…

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

    git提交操作

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

  • github
  • 2020/8/3
  • helei
  • 720
  • 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、重新add和commit相应文件 3、git push origin master 4、此时就能够上传成功了

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

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

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

  • mysql
  • 2020/7/29
  • helei
  • 908