2020/8/8

uniapp动态改变class

html <view v-for="(huadong,index) in huadongs" :key="index" :data-num="index" :class="['scroll-view-default',index==chosenu…

  • uni-app
  • 2020/8/8
  • helei
  • 992
  • 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
  • 872
  • 2020/8/8

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

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

  • uni-app
  • 2020/8/8
  • helei
  • 922
  • 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
  • 972
  • 2020/8/6

    微信小程序地图导航

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

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

    git提交操作

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

  • github
  • 2020/8/3
  • helei
  • 1,065
  • 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
  • 809