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