2022年5月11日

uniapp某个容器滚动到底部事件

摘要: 1.标签中 <scroll-view class="" scroll-y="true" style="height: 400rpx;overflow: scroll;" class="scroll-Y" @scrolltolower="lower"> <view class="meberItem" 阅读全文

posted @ 2022-05-11 14:59 樱桃小王子yummy 阅读(1157) 评论(0) 推荐(0) 编辑

uniapp开发小程序在ios上面留出安全距离

摘要: margin-bottom: constant(safe-area-inset-bottom); margin-bottom: env(safe-area-inset-bottom); 阅读全文

posted @ 2022-05-11 14:54 樱桃小王子yummy 阅读(506) 评论(0) 推荐(0) 编辑

2022年4月20日

企业微信小程序中企业微信侧边栏授权获取userid

摘要: 参考链接https://segmentfault.com/a/1190000041195921 1.在index.html中引入微信的JS SDK,还要引入一个 jwxwork sdk <!-- 需要调用JS接口的页面引入如下JS文件 --> <!-- <script src="https://re 阅读全文

posted @ 2022-04-20 17:34 樱桃小王子yummy 阅读(703) 评论(0) 推荐(0) 编辑

2022年4月15日

vue项目中使用video.js播放m3u8格式文件

摘要: 1.安装依赖包 npm install video.js --save // 视频播放器插件 npm install videojs-contrib-hls --save // 播放hls流插件 2.在main.js引入vido.js的样式文件 import 'video.js/dist/video 阅读全文

posted @ 2022-04-15 17:45 樱桃小王子yummy 阅读(5396) 评论(3) 推荐(0) 编辑

2022年4月2日

vue项目的网络请求的封装

摘要: 1.引入axios npm install --save axios vue-axios 引入qs npm install qs 2.main.js里引用 import axios from 'axios' import VueAxios from 'vue-axios' Vue.use(VueAx 阅读全文

posted @ 2022-04-02 10:51 樱桃小王子yummy 阅读(470) 评论(0) 推荐(0) 编辑

vue不同pc端的适配(转化为rem)

摘要: 一、安装postcss-px2rem及px2rem-loader npm install postcss-px2rem px2rem-loader --save 二、在根目录src中新建utils目录下新建rem.js等比适配文件 // rem等比适配配置文件 // 基准大小 const baseS 阅读全文

posted @ 2022-04-02 10:35 樱桃小王子yummy 阅读(129) 评论(0) 推荐(0) 编辑

vue新闻自下往上滚动效果

摘要: 如图所示自下往上滚动鼠标放上暂停滚动 鼠标移出继续滚动 一、html: <div class="newsList" @mouseover="mouseOver" @mouseout="mouseOut"> <ul id="con1" ref="con1" :class="{ anim: animat 阅读全文

posted @ 2022-04-02 10:26 樱桃小王子yummy 阅读(301) 评论(0) 推荐(0) 编辑

echarts动态绑定数据图表无变化的问题

摘要: drawLine() { let myChart2 = this.$echarts.init(document.getElementById("myChart2")); myChart2.setOption(this.echartsOption); myChart2.resize(); }, 每次数 阅读全文

posted @ 2022-04-02 10:17 樱桃小王子yummy 阅读(362) 评论(0) 推荐(0) 编辑

echarts控制鼠标悬浮的提示信息

摘要: 如图所示tooltip: { show: true, trigger: "axis", formatter: (params, ticket, callback)=> { var htmlStr = ""; for (var i = 0; i < params.length; i++) { var 阅读全文

posted @ 2022-04-02 10:02 樱桃小王子yummy 阅读(1266) 评论(0) 推荐(0) 编辑

echarts中控制图标的宽高百分比

摘要: grid: { width: "80%", height: "50%", top: "12%", left: "12%", }, 阅读全文

posted @ 2022-04-02 10:00 樱桃小王子yummy 阅读(454) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示