上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: 阅读全文
posted @ 2021-01-12 17:27 伟笑 阅读(76) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="percentloop"> <div class="circle-left"> <div ref="leftcontent"></div> </div> <div class="circle-right"> <div ref="rightcontent" 阅读全文
posted @ 2021-01-10 21:25 伟笑 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 组件代码: <template> <el-color-picker v-model="theme" class="theme-picker" :predefine="predefineColors" popper-class="theme-picker-dropdown" > </el-color- 阅读全文
posted @ 2021-01-08 14:45 伟笑 阅读(2426) 评论(0) 推荐(0) 编辑
摘要: 2. 两数相加 思路: 建立一个新的链表,专门用来存储两个链表对应数字的和,维护一个进位变量curListNodeIndex,并判断当前数是否大于等于10,是否需要进位 1、定义当前节点及进位变量 2、循环两个链表l1,l2(两个类)得到他们的 val 3、当前值加上 进位变量curListNode 阅读全文
posted @ 2021-01-02 11:24 伟笑 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1. 两数之和 思路: 1、创建一个map 集合 2、for循环遍历nums 数组 3、用target 减去nums[i],以计算哪个数能和当前的数相加得到target 4、检查map 里面有没有这个数,如果有则返回结果,没有就把num[i]当做key、下标i 当做value放入map中(为什么?) 阅读全文
posted @ 2021-01-01 20:59 伟笑 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 一、下载: npm install vue-quill-editor --save 二、封装成一个独立的组件: 因为有图片上传,本代码结合vant <template> <div> <!-- 图片上传组件辅助 --> <van-uploader class="avatar-uploader quil 阅读全文
posted @ 2020-12-31 17:11 伟笑 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 组件完整代码: <template> <div :class="{'hidden':hidden}" class="pagination-container"> <el-pagination :background="background" :current-page.sync="currentPa 阅读全文
posted @ 2020-12-31 11:35 伟笑 阅读(304) 评论(0) 推荐(0) 编辑
摘要: https://www.jb51.net/os/windows/113555.html 阅读全文
posted @ 2020-12-30 18:04 伟笑 阅读(85) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <span ref="box" @click="updateMessage">{{ message }}</span> </div> </template> <script> export default { name: "page1", data() { retu 阅读全文
posted @ 2020-12-30 16:23 伟笑 阅读(114) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/hashtang/p/11456114.html 阅读全文
posted @ 2020-12-28 10:45 伟笑 阅读(752) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页