随笔分类 -  uniapp微信小程序

摘要:html 头像UI <button class="user-avatar flex-center" open-type="chooseAvatar" @chooseavatar="onChooseAvatar"> <image class="img" :src="showAvatat()" mode 阅读全文
posted @ 2024-09-03 11:32 DL·Coder 阅读(441) 评论(0) 推荐(0) 编辑
摘要:更新方法,onLaunch或者onShow(推荐写在onShow内)调用就可以 const updateManagerFn = () => { const updateManager = uni.getUpdateManager(); updateManager.onCheckForUpdate(f 阅读全文
posted @ 2024-07-18 17:29 DL·Coder 阅读(158) 评论(0) 推荐(0) 编辑
摘要:自定义样式使用第二种方式 第一种:wx.enableAlertBeforeUnload 在开发者工具中预览效果 微信小程序官网:点我 onShow(() => { wx.enableAlertBeforeUnload({ message: "返回上页时弹出对话框", success: functio 阅读全文
posted @ 2024-07-15 11:03 DL·Coder 阅读(1039) 评论(0) 推荐(0) 编辑
摘要:vue3 纯SCSS 实现环形进度条 <template> <view class="flex align-center diygw-col-24 justify-center"> <view class="progress-circle" :class="`progress-${innerPerc 阅读全文
posted @ 2024-07-02 10:22 DL·Coder 阅读(253) 评论(0) 推荐(0) 编辑
摘要:需要先设置按钮为分享按钮 <button class="to-invite bg" open-type="share" @click="toShareFn"> 分享 </button> vue2 分享 initMenu () { uni.showShareMenu({ withShareTicket 阅读全文
posted @ 2024-04-07 09:50 DL·Coder 阅读(1359) 评论(0) 推荐(0) 编辑

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