上一页 1 2 3 4 5 6 ··· 10 下一页
摘要: 如何去掉react-antd输入框的边框光晕 .ant-input:focus, .ant-input-focused, .ant-input-affix-wrapper:focus, .ant-input-affix-wrapper-focused { border-color: #00b574 阅读全文
posted @ 2026-06-16 19:34 微宇宙 阅读(11) 评论(0) 推荐(0)
摘要: 中间值就是 具体值 根据窗口分辨率最大的宽计算的来的。 中间值 = 66 / 1920 * 100vw 左右两边分别是最小值,和最大值。 height: clamp(16px, (66 / 1920) * 100vw, 66px); 封装了基于less写法的函数。直接 调用即可 .box { .he 阅读全文
posted @ 2026-06-12 14:31 微宇宙 阅读(10) 评论(0) 推荐(0)
摘要: 全屏显示的方式 新写法: 这是顶部定义缩放的缩放比 :root { --base-scale: min(1, 100vw / 1920, 100vh / 1080); width: 100%; aspect-ratio: 1920 / 1080; } 布局缩放写法 - calc 比如这个外边距mar 阅读全文
posted @ 2026-06-08 14:45 微宇宙 阅读(15) 评论(0) 推荐(0)
摘要: 方向盘的动画特效 const options = { // backgroundColor: '#0E1327', // 画布背景 title: [ // 标题 { text: '当前功率(KW)', left: 'center', top: '64%', textStyle: { color: ' 阅读全文
posted @ 2026-06-05 14:57 微宇宙 阅读(15) 评论(0) 推荐(0)
摘要: 小程序开发的头部设计组件。 custom-navbar.json { "component": true, "usingComponents": {} } View Code custom-navbar.js Component({ properties: { // 导航栏标题 title: { t 阅读全文
posted @ 2026-06-02 14:39 微宇宙 阅读(19) 评论(0) 推荐(0)
摘要: 手机上要显示echart折线图数据。 从ec-echart仓库获取案例。 wx-canvas.js export default class WxCanvas { constructor(ctx, canvasId, isNew, canvasNode) { this.ctx = ctx; this 阅读全文
posted @ 2026-06-02 11:37 微宇宙 阅读(32) 评论(0) 推荐(0)
摘要: 如果提交审核不通过。要完善协议。报错内容如下: 如手机号不通过,可以写- 绑定注册账户。 如果截切版不通过,可以写- 复制填写账号 如果地理信息,可以写-获取打卡范围信息。 如果还是提交审核不通过。 你好,你的小程序【登录】涉及收集、使用和存储用户信息,请补充增加或完善《用户服务协议》及《隐私政策》 阅读全文
posted @ 2026-05-30 13:48 微宇宙 阅读(30) 评论(0) 推荐(0)
摘要: 在picker日期控件设置样式,日期显示无法居中。 要在picker设置 display:grid 阅读全文
posted @ 2026-05-29 10:35 微宇宙 阅读(7) 评论(0) 推荐(0)
摘要: 设置折线图的连线显示设置方式。 平滑曲线 在series 对象元素给 smooth 设置为true 梯度线 在series 对象元素给 step 设置为 middle step: 'middle' 连线的节点设置 在series 对象元素给 symbolSize 设置数字 symbolSize: 2 阅读全文
posted @ 2026-05-26 19:16 微宇宙 阅读(12) 评论(0) 推荐(0)
摘要: 在移动端看折线图,鼠标模式,看到提示内容会出现阴影黑色在内容中。 去掉阴影的模式。 tooltip: { trigger: "axis", borderColor: "#fff", shadowOffsetX: 0, shadowOffsetY: 0, textStyle: { fontSize: 阅读全文
posted @ 2026-05-21 18:06 微宇宙 阅读(19) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 10 下一页