03 2021 档案

摘要:如图: 1、npm 安装:npm i element-ui -S 2、热点点击事件: // 创建新节点const h = this.$createElement; this.$msgbox({ // 创建div span 节点 message: h('div', { class: 'hot_msgb 阅读全文
posted @ 2021-03-16 09:29 小蘑菇123 阅读(2128) 评论(0) 推荐(0) 编辑
摘要:1、安装: npm install mockjs --save-dev 2、src 新建 mock.js: const Mock = require("mockjs"); //个人会员管理 let data = Mock.mock({ //生成100条数据 数组 "data|13": [{ 'id' 阅读全文
posted @ 2021-03-12 16:09 小蘑菇123 阅读(160) 评论(0) 推荐(0) 编辑
摘要:需要实现的效果: 通知事件: // 商户后台通知 MerchantBackgroundNotice() { // 禁止消息通知弹出多条 if(this.notifyInstance) { this.notifyInstance.close(); }const h = this.$createElem 阅读全文
posted @ 2021-03-10 17:06 小蘑菇123 阅读(4412) 评论(0) 推荐(0) 编辑
摘要:1、如图,有两个框,代表2个点击事件,点击退款按钮的时候,弹窗出现,会执行外层的详情页面的跳转 2、template: <view class="orders-center-item" @click="see_more_msg(item)"> <view class="tuikuan" @tap.s 阅读全文
posted @ 2021-03-09 09:56 小蘑菇123 阅读(3106) 评论(0) 推荐(0) 编辑
摘要:1、app.vue: app加载时候,获取app版本号 //获取版本号 plus.runtime.getProperty(plus.runtime.appid,(wgtinfo)=>{ uni.setStorage({ key: 'wgtinfoVersionCode', data: wgtinfo 阅读全文
posted @ 2021-03-08 10:35 小蘑菇123 阅读(1127) 评论(2) 推荐(0) 编辑

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