会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
垂序葎草
博客园
首页
新随笔
新文章
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
50
下一页
2023年3月27日
百度2020校招Web前端工程师笔试卷(第三批)(大题21~23)
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <style> body, ul, li,select { margin: 0; padding: 0; box-sizing: border-box; } ul,li {list-style:
阅读全文
posted @ 2023-03-27 17:32 垂序葎草
阅读(15)
评论(0)
推荐(0)
编辑
2023年3月26日
百度2020校招Web前端工程师笔试卷(第二批)(20~23)
摘要: 21. <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <style> .checkgroup .item{ height: 42px; line-height: 42px; padding: 0 10px; margin: 10px 0;
阅读全文
posted @ 2023-03-26 18:42 垂序葎草
阅读(12)
评论(0)
推荐(0)
编辑
2023年3月25日
html 原生dom创建添加移除元素
摘要: 创建添加 <body> <input type="text" id="txt1"> <input type="button" id="btn1" value="创建"> <ul id="ul1"> </ul> <script> window.onload = function () { var oU
阅读全文
posted @ 2023-03-25 17:08 垂序葎草
阅读(25)
评论(0)
推荐(1)
编辑
百度2020校招Web前端工程师笔试卷(第一批)大题部分(21~23)
摘要: 非大题在本地pdf中有详解 #21.异或 题解 #include <iostream> using namespace std; long long change(long long x){ if(x % 4 == 0){ return x; }else if(x % 4 == 1){ return
阅读全文
posted @ 2023-03-25 16:59 垂序葎草
阅读(20)
评论(0)
推荐(0)
编辑
2023年3月24日
Vue.js 路由简介
摘要: 路由 理解: 一个路由(route)就是一组映射关系(key - value),多个路由需要路由器(router)进行管理。 前端路由:key是路径,value是组件。
阅读全文
posted @ 2023-03-24 11:29 垂序葎草
阅读(12)
评论(0)
推荐(0)
编辑
LeetCode 169. 多数元素(/hash sort 随机化 分治 Boyer-Moore 投票算法)
摘要: 原题解 ###题目 约束 ###题解 ####方法一:哈希表 class Solution { public: int majorityElement(vector<int>& nums) { unordered_map<int, int> counts; int majority = 0, cnt
阅读全文
posted @ 2023-03-24 03:08 垂序葎草
阅读(15)
评论(0)
推荐(0)
编辑
Vue.js 多组件共享数据
摘要: 视频 #components ##Count.vue <template> <div> <h1>当前求和为:{{sum}}</h1> <h3>当前求和放大10倍为:{{bigSum}}</h3> <h3>我在{{school}},学习{{subject}}</h3> <h3 style="color
阅读全文
posted @ 2023-03-24 02:40 垂序葎草
阅读(28)
评论(0)
推荐(0)
编辑
Vue.js 求和案例-mapActions和mapMutations
摘要: 视频 mapActions方法:用于帮助我们生成与actions对话的方法,即:包含$store.dispatch(xxx)的函数 methods:{ //靠mapActions生成:incrementOdd、incrementWait(对象形式) ...mapActions({incrementO
阅读全文
posted @ 2023-03-24 02:34 垂序葎草
阅读(75)
评论(0)
推荐(0)
编辑
Vue.js 求和案例-mapState和mapGetters
摘要: 视频 6.四个map方法的使用 mapState方法:用于帮助我们映射state中的数据为计算属性 computed: { //借助mapState生成计算属性:sum、school、subject(对象写法) ...mapState({sum:'sum',school:'school',subje
阅读全文
posted @ 2023-03-24 01:33 垂序葎草
阅读(102)
评论(0)
推荐(0)
编辑
Vue.js 求和案例-getter配置项
摘要: 视频 逻辑复杂且跨组件使用 5.getters的使用 概念:当state中的数据需要经过加工后再使用时,可以使用getters加工。 在store.js中追加getters配置 ...... const getters = { bigSum(state){ return state.sum * 10
阅读全文
posted @ 2023-03-24 01:13 垂序葎草
阅读(30)
评论(0)
推荐(0)
编辑
上一页
1
···
4
5
6
7
8
9
10
11
12
···
50
下一页