上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页
摘要: vue3.0,可以在ui界面自定义安装: 新建一个空文件夹,cmd运行: vue ui,回车: 创建项目: 至此,带有 ts 的项目创建完成 以下是没有 ts 的项目 1、安装element-plus: main.js: //安装 element-plus npm install element-p 阅读全文
posted @ 2021-04-13 17:47 小蘑菇123 阅读(2420) 评论(0) 推荐(1)
摘要: 官网默认样式: 目标样式: 1、template: <div class="adds_item"> <div class="adds_item_txt">软件图片:</div> <div class="adds_item_info"> <el-upload class="upload-demo" : 阅读全文
posted @ 2021-04-12 15:38 小蘑菇123 阅读(8739) 评论(0) 推荐(0)
摘要: 例如: <div class="el-menu-demo"> <el-menu :default-active="$route.path" class="el-menus" mode="horizontal" @select="handleSelect" :router="true"> <el-me 阅读全文
posted @ 2021-04-08 17:52 小蘑菇123 阅读(1455) 评论(0) 推荐(0)
摘要: 1、npm安装: npm install --save @fullcalendar/vue @fullcalendar/core @fullcalendar/daygrid 2、import 引入组件: import FullCalendar from "@fullcalendar/vue"; im 阅读全文
posted @ 2021-04-06 09:48 小蘑菇123 阅读(8925) 评论(0) 推荐(0)
摘要: 如图: 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 阅读(2223) 评论(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 阅读(188) 评论(0) 推荐(0)
摘要: 需要实现的效果: 通知事件: // 商户后台通知 MerchantBackgroundNotice() { // 禁止消息通知弹出多条 if(this.notifyInstance) { this.notifyInstance.close(); }const h = this.$createElem 阅读全文
posted @ 2021-03-10 17:06 小蘑菇123 阅读(4707) 评论(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 阅读(3185) 评论(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 阅读(1181) 评论(2) 推荐(0)
摘要: 1、什么是线程? 单线程就是一个接一个的计算,多线程就是同时处理多个计算。 多线程是指程序中包含多个执行流,即在一个程序中可以同时运行多个不同的线程来执行不同的任务 总结: 每个正在运行的程序即是进程,至少包含一个线程,这个线程叫主线程,它在程序启动时被创建,用于执行main函数。只有一个主线程的程 阅读全文
posted @ 2021-02-25 17:50 小蘑菇123 阅读(1025) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 21 下一页