摘要: /** uniapp <progress>标签圆角start */ ::v-deep .uni-progress-bar { border-radius: 30rpx; overflow: hidden; } ::v-deep .uni-progress-inner-bar { border-rad 阅读全文
posted @ 2026-06-27 17:05 超轶绝尘 阅读(1) 评论(0) 推荐(0)
摘要: /** uniapp <uni-number-box>标签 样式 start */ /* 数字框组件 数字框 和 前后 - + 号 的间隙 样式 自定义 */ ::v-deep.uni-numbox { height: 60rpx !important; // background-color: w 阅读全文
posted @ 2026-06-27 16:57 超轶绝尘 阅读(2) 评论(0) 推荐(0)
摘要: <button size="mini" type="default" open-type="share" class="image-button" style="background-image: url('/static/images/svg/wechat.svg');"></button> .i 阅读全文
posted @ 2026-06-21 20:00 超轶绝尘 阅读(3) 评论(0) 推荐(0)
摘要: 1.encodeURIComponent包裹传递 function toEditPage(item) { let url = '/pages/userCenter/suggestion'; if (item) { url = url + '?id=' + item.id + "&userId=" + 阅读全文
posted @ 2026-06-09 17:07 超轶绝尘 阅读(8) 评论(0) 推荐(0)
摘要: 报错信息如下: cn.hutool.crypto.CryptoException: SecurityException: JCE cannot authenticate the provider BCat cn.hutool.crypto.SecureUtil.createCipher(Secure 阅读全文
posted @ 2026-06-08 16:39 超轶绝尘 阅读(5) 评论(0) 推荐(0)
摘要: page.json的配置如下: { "pages": [{ "path": "pages/index/index", "style": { "navigationBarTitleText": "简介" } }, { "path": "pages/discount/discount", "style" 阅读全文
posted @ 2026-06-06 16:14 超轶绝尘 阅读(13) 评论(0) 推荐(0)
摘要: 一、sys_menu表中新增tab页数据记录 CREATE TABLE `sys_menu` ( `menu_id` bigint NOT NULL AUTO_INCREMENT COMMENT '菜单ID', `menu_name` varchar(50) COLLATE utf8mb4_gene 阅读全文
posted @ 2026-05-22 17:22 超轶绝尘 阅读(14) 评论(0) 推荐(0)
摘要: A页面 将需要调用的方法暴露在当前实例上 <script setup lang="ts"> const todo = () => { // ... } defineExpose({ todo }) </script> B页面 通过以下方法进行调用 <script setup lang="ts"> c 阅读全文
posted @ 2026-05-06 17:53 超轶绝尘 阅读(9) 评论(0) 推荐(0)
摘要: Pinia Plugin Persistedstate 官网地址 一、使用方式 import { defineStore } from 'pinia'; export const useUserStore = defineStore('user', { state: () => ({ userInf 阅读全文
posted @ 2026-05-04 17:09 超轶绝尘 阅读(6) 评论(0) 推荐(0)
摘要: let clickedTime = null // 存储上一次点击的时间 let timeout = null // 存储setTimeout的返回值,用于清除计时器 /*通过模拟双击,防止滑块时被跳转*/ function handleClick() { const currentTime = n 阅读全文
posted @ 2026-04-30 16:48 超轶绝尘 阅读(9) 评论(0) 推荐(0)