会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
福超
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
9
下一页
2022年12月6日
CSS 生成等份扇形
摘要: <template v-for="item in 50"> <div :key="item" v-if="item > 1" :style="{background:drawSector(item)}" class="one"></div> </template> drawSector(num =
阅读全文
posted @ 2022-12-06 08:45 福超
阅读(88)
评论(0)
推荐(0)
2022年12月5日
小程序自定义底部导航 custom-tab-bar
摘要: 1. app.json 2. 将 custom-tab-bar 放到根目录下(pages同级) 3. custom-tab-bar 代码 { "component": true } Component({ data: { USERTYPE:'customer', selected: 0, color
阅读全文
posted @ 2022-12-05 09:22 福超
阅读(890)
评论(0)
推荐(0)
2022年12月1日
时钟翻牌器
摘要: clock.js function Flipper(config) { // 默认配置 this.config = { // 时钟模块的节点 node: null, // 初始前牌文字 frontText: 'number0', // 初始后牌文字 backText: 'number1', // 翻
阅读全文
posted @ 2022-12-01 10:31 福超
阅读(168)
评论(0)
推荐(0)
2022年9月28日
(0,100] (0,999999] el-input rules
摘要: validateMoney(rule, value2, callback){ let value = this.addPrizeForm.money_ap; var reg = /(^[0-9]{1,6}$)|(^[0-9]{1,6}\.{1}[0-9]{1,2}$)/ if (!value.mat
阅读全文
posted @ 2022-09-28 14:25 福超
阅读(67)
评论(0)
推荐(0)
2022年7月7日
H5 px 适配
摘要: 1.下载 npm i amfe-flexible npm i postcss-pxtorem 2.根目录加 postcss.config.js module.exports = { plugins: { // postcss-pxtorem 插件的版本需要 >= 5.0.0 'postcss-pxt
阅读全文
posted @ 2022-07-07 16:56 福超
阅读(95)
评论(0)
推荐(0)
eslint的配置
摘要: 1. 根目录加 .eslintrc.js 文件 // .eslintrc.js 文件 module.exports = { env: { browser: true, es2021: true, node: true }, extends: [ 'standard', // 新增这里vue3支持 '
阅读全文
posted @ 2022-07-07 16:48 福超
阅读(1035)
评论(0)
推荐(0)
keep-alive 的使用
摘要: App.vue <template> <router-view v-slot="{ Component }"> <keep-alive :include="includeList"> <component :is="Component" /> </keep-alive> </router-view>
阅读全文
posted @ 2022-07-07 16:40 福超
阅读(203)
评论(0)
推荐(0)
公众号分享功能的实现
摘要: 1.公众平台配置ip白名单 https://mp.weixin.qq.com/ 设置与开发 》 基本配置 》 公众号开发信息 》 ip白名单 接口地址对应的ip 2.业务域名和JS安全域名的设置 设置与开发 》 公众号设置 》 功能设置 》 业务域名和JS安全域名 在设置的时候有个txt需要放到前端
阅读全文
posted @ 2022-07-07 16:23 福超
阅读(260)
评论(0)
推荐(0)
使用charles代理 用手机调试公众号h5
摘要: 1.电脑在本地配置hosts C:\Windows\System32\drivers\etc\hosts 例 192.168.10.79 scmh5.dalezhuang.com 不要前面的https 2. 电脑下载安装 charles 查看端口,手机连接同一个wifi 手机wifi设置里面 配置主
阅读全文
posted @ 2022-07-07 15:43 福超
阅读(278)
评论(0)
推荐(0)
2022年6月15日
uniapp 拒绝调用相机怎么再次唤起提示打开权限
摘要: <camera v-if="isShow" style="height: 520rpx" mode="scanCode" device-position="back" flash="off" @scancode="takeCode"> </camera> data() { return { isSh
阅读全文
posted @ 2022-06-15 17:18 福超
阅读(1875)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
9
下一页
公告