06 2020 档案

摘要:/* pages/flex/flex.wxss */ .outter{ width: 100%; display: flex; /* justify-content: flex-start; 左对齐 */ /* justify-content: flex-end; 右对齐 */ /* justify 阅读全文
posted @ 2020-06-20 22:41 青柚 阅读(134) 评论(0) 推荐(0)
摘要:<!doctype html> <html lang="en" > <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0 阅读全文
posted @ 2020-06-14 10:51 青柚 阅读(316) 评论(0) 推荐(0)
摘要:<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, 阅读全文
posted @ 2020-06-13 14:11 青柚 阅读(232) 评论(0) 推荐(0)
摘要:<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, 阅读全文
posted @ 2020-06-13 13:51 青柚 阅读(159) 评论(0) 推荐(0)
摘要:####利用计算属性实现购物车功能,计算属性总是会依赖于自身使用的数组,在和购物车进行交互(全选、加减数量、删除)时总是应该对数组的元素进行操作,在对数组操作后,计算属性则会进行重新渲染视图,因而你只需要关心你的数据即可。 ###代码如下: <!DOCTYPE html> <html lang="e 阅读全文
posted @ 2020-06-05 14:25 青柚 阅读(592) 评论(0) 推荐(0)
摘要:####vue中给元素绑定了事件之后,无论是否指定参数,vue都默认将元素的原始对象event以参数的形式传递到函数内部,从而可以从函数的内部获取的元素的当前属性和状态 ####Html结构代码 - 默认会将event原始对象传入 <input type="checkbox" checked @cl 阅读全文
posted @ 2020-06-04 19:55 青柚 阅读(5574) 评论(0) 推荐(0)