欢迎加QQ交流:
2
0
2
3
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页
摘要: button { position:relative; display:block; margin-left:auto; margin-right:auto; padding-left:14px; padding-right:14px; box-sizing:border-box; font-siz 阅读全文
posted @ 2022-01-19 11:18 常安· 阅读(365) 评论(0) 推荐(0) 编辑
摘要: vue 组件复用 - component vue 组件复用 就是对 component 标签的使用 先看图 下图看使用 结果: 可以看到 在箱包 这一项,我将banner 组件用了两次,我 每次 点击 <添加板块> 添加组件时,都会 在 icomponentList 和 change_view 里添 阅读全文
posted @ 2022-01-07 10:17 常安· 阅读(175) 评论(0) 推荐(0) 编辑
摘要: vue - vuex - 的使用 前端用到 vue 框架的伙伴们终究是绕不过 vuex 我理解的 vuex 简单用法(但是却很适用,就会这一个就基本可以用vuex了): 比如: AA、BB 两个组件同时要控制 CC 组件的 显示 / 隐藏。 是不是要一个开关 ? 那个开关假如 我们 定义 为 fla 阅读全文
posted @ 2022-01-06 16:41 常安· 阅读(41) 评论(0) 推荐(0) 编辑
摘要: this.$confirm('您确定退出当前账号吗?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => { // 确定操作 this.loading = true; thi 阅读全文
posted @ 2022-01-06 09:40 常安· 阅读(3769) 评论(0) 推荐(0) 编辑
摘要: 云开发 数据库自己手动添加数据获取不了 ? 话不多说,上图 如上图所示:我的 student 表里有 3 条数据。 接着看下图: 可以看的,我获取到的数据只有一条。就是汤姆这条。其他两条被忽略了。 造成的原因是因为: name 为 汤姆 这条 数据 是我用方法添加的,不是手动添加的。 手动添加的没有 阅读全文
posted @ 2021-12-31 14:35 常安· 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 先简单看个例子: css 页面: 应该猜测出来了: line-height: 1; = line-height: 100%; = font-size: 50px; 把哪一个放到最后都是一样的。我理解的就是 等于字体高度的 1(整) 份, 或者 等于 字体高度的 100% 高度 阅读全文
posted @ 2021-12-30 10:02 常安· 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 线性渐变: 背景渐变:background: linear-gradient(to left, #f70d06, #fe5014); line - 线 , to left 往左(right 右)。 整体意思是:背景为线性渐变,#f70d06 色 从右 往左 渐变成 #fe5014 色 径向渐变: b 阅读全文
posted @ 2021-12-30 09:45 常安· 阅读(173) 评论(0) 推荐(1) 编辑
摘要: <template> <div class="g-container"> <div class="j"></div> <div class="j"></div> </div> </template> <style lang="scss"> body { background: #000; overf 阅读全文
posted @ 2021-12-29 09:25 常安· 阅读(146) 评论(0) 推荐(0) 编辑
摘要: <template> <div> <div class="radial-circle"></div> </div> </template> <style lang="scss"> $img: 'https://images.unsplash.com/photo-1440688807730-73e4e 阅读全文
posted @ 2021-12-29 09:22 常安· 阅读(73) 评论(0) 推荐(0) 编辑
摘要: <template> <div> </div> </template> <style lang="scss"> html, body { width: 100%; height: 100%; display: flex; } div { margin: auto; position: relativ 阅读全文
posted @ 2021-12-29 09:18 常安· 阅读(36) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页