12 2021 档案
摘要:云开发 数据库自己手动添加数据获取不了 ? 话不多说,上图 如上图所示:我的 student 表里有 3 条数据。 接着看下图: 可以看的,我获取到的数据只有一条。就是汤姆这条。其他两条被忽略了。 造成的原因是因为: name 为 汤姆 这条 数据 是我用方法添加的,不是手动添加的。 手动添加的没有
阅读全文
摘要:先简单看个例子: css 页面: 应该猜测出来了: line-height: 1; = line-height: 100%; = font-size: 50px; 把哪一个放到最后都是一样的。我理解的就是 等于字体高度的 1(整) 份, 或者 等于 字体高度的 100% 高度
阅读全文
摘要:线性渐变: 背景渐变:background: linear-gradient(to left, #f70d06, #fe5014); line - 线 , to left 往左(right 右)。 整体意思是:背景为线性渐变,#f70d06 色 从右 往左 渐变成 #fe5014 色 径向渐变: b
阅读全文
摘要:<template> <div class="g-container"> <div class="j"></div> <div class="j"></div> </div> </template> <style lang="scss"> body { background: #000; overf
阅读全文
摘要:<template> <div> <div class="radial-circle"></div> </div> </template> <style lang="scss"> $img: 'https://images.unsplash.com/photo-1440688807730-73e4e
阅读全文
摘要:<template> <div> </div> </template> <style lang="scss"> html, body { width: 100%; height: 100%; display: flex; } div { margin: auto; position: relativ
阅读全文
摘要:<template> <div> <div class="a"></div> <div class="b"></div> </div> </template> <style lang="scss"> $img2: 'http://up.enterdesk.com/edpic_source/21/00
阅读全文
摘要:<template> <div></div> </template> <script> export default { } </script> <style lang="scss"> html { height: 100%; background: repeating-conic-gradient
阅读全文
摘要:<template> <div></div> </template> <script> export default { } </script> <style lang="scss"> @function randomNum($max, $min: 0, $u: 1) { @return ($min
阅读全文
摘要:<template> <div class="g-container"> <div class="g-circle"></div> </div> </template> <script> export default { } </script> <style lang="scss"> body, h
阅读全文
摘要:<template> <div> <div class="conic"></div> <div class="conic conic-demo"></div> </div> </template> <script> export default { } </script> <style lang="
阅读全文
摘要:<template> <div> <p data-text="Lorem ipsum dolor"> Lorem ipsum dolor </p> </div> </template> <script> export default { } </script> <style lang="scss">
阅读全文
摘要:<template> <div class="container"> <div class="wave"></div> </div> </template> <script> export default { } </script> <style lang="scss"> .container {
阅读全文
摘要:<template> <h1>Pure CSS Typing animation.</h1> </template> <script> export default { } </script> <style lang="scss"> body { background: black; color:
阅读全文
摘要:<template> <div class="heart"></div> </template> <script> export default { } </script> <style lang="scss"> :root { --url: url('https://s3-us-west-2.am
阅读全文
摘要:<template> <div class="container"> <div class="header"></div> <div class="battery"> </div> <div class="battery-copy"> <div class="g-wave"></div> <div
阅读全文
摘要:<style lang="scss"> @import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap'); </style>
阅读全文
摘要:<template> <div> <p> <span>C</span> <span>S</span> <span>S</span> <span>3</span> <span>D</span> <span>E</span> <span>F</span> <span>F</span> <span>E</
阅读全文
摘要:<template> <div> <div class="g-container"> <div class="g-first"></div> <div class="g-ball"></div> <div class="g-ball"></div> <div class="g-ball"></div
阅读全文
摘要:<template> <div> <input id="stop" type="radio" name="playAnimation"/> <input id="play" type="radio" name="playAnimation"/> <div class="box"> <label fo
阅读全文
摘要:方法1. 在需要的组件或者页面内设置 document.title = response.data.res.title 方法2. <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>基
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>粒子漩涡特效</title> <style> html,body{ margin:0px; width:100%; height:100%; overflow:hidden; ba
阅读全文
摘要:无标题文档 这是标题 选项1 选项2 选项3 选项4 选项5 选项6 选项7 选项8
阅读全文
摘要:默认情况下vue-cli 会认为项目是部署在域名的根路径上。 但是当项目被部署到了一个子路径上,就要自己选定子路径。 比如项目被部署在了 https://www.ujapp.com/my-app, 则应该将publicPath 设置为 /my-app
阅读全文
摘要:window.location.href = 'http://wpa.qq.com/msgrd?v=3&uin=QQ号' window.location.href = 'http://wpa.qq.com/msgrd?v=3&uin=2795811771'
阅读全文
摘要:App.vue 文件下加入下面css // 滚动条宽度 ::-webkit-scrollbar{ width: 6px; } /* 定义滚动条轨道 */ ::-webkit-scrollbar-track{ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0
阅读全文
摘要:添加ref 和 点击哪个地方切换的方法 <div class="center"> <div class="pw between"> <div class="shouji"> <img src="../assets/images/shouji_03.png" alt="" style="width:
阅读全文
摘要:都知道,修改网站标题在根目录index.html里修改。但是在vue3更新后,index.html就没有放这里了,放到了public中。去public中一眼就能看到。我也是去那里就找到了。
阅读全文
摘要:这个问题目前遇到的人少,所以找到答案不容易,我也是各种细节亲测才发现的解决方案。记录下来 当uniapp用scroll-view竖向滚动时,在scrollTop为0时,下拉会卡顿。 解决方法(只需要在app-plus里加上"bounce":"none",就可以了 ,{ "path" : "compo
阅读全文
摘要:||| // html letter-spacing: 0.2em; // css
阅读全文
摘要:1. 单行文本溢出隐藏显示省略号 overflow: hidden; text-overflow: ellipsis; white-space: nowrap; 2. 多行文本溢出隐藏 display: -webkit-box; -webkit-box-orient: vertical; -webk
阅读全文