会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
欢欢11
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
24
25
下一页
2018年10月12日
Html中常用的属性
摘要: !important //增加权重 word-break:break-all //允许在单词内换行 keep-all //只在半角空格或连接字符串换行 --这个属性一般用于文章段落 text-align: justify; 段落两端对齐 cursor:pointer //鼠标移上去,有手指的图标 p
阅读全文
posted @ 2018-10-12 10:04 欢欢11
阅读(207)
评论(0)
推荐(0)
2018年10月11日
vue-页面回退
摘要: <template> <div> <button @click="goback">我是Home01</button> </div> </template> <script> export default { data() { return {}; }, methods: { goback() { t
阅读全文
posted @ 2018-10-11 16:23 欢欢11
阅读(3769)
评论(0)
推荐(1)
vue-watch
摘要: 添加
阅读全文
posted @ 2018-10-11 16:20 欢欢11
阅读(147)
评论(0)
推荐(0)
html
摘要: <div class="GoodsTitle"> <div class="line"></div> <div class="content">优惠信息</div> <div class="line"></div> </div> .GoodsTitle { display :flex; margin
阅读全文
posted @ 2018-10-11 15:18 欢欢11
阅读(90)
评论(0)
推荐(0)
Html-列表
摘要: <template> <div class="clause"> <div class="AllContnent"> <div class="title"> <span class="tiContent">條款及條件</span> </div> <div class="clauseContent">
阅读全文
posted @ 2018-10-11 15:14 欢欢11
阅读(104)
评论(0)
推荐(0)
vue项目中px自动转换为rem
摘要: 1.安装 postcss-pxtorem : npm install postcss-pxtorem -D 2.修改 /build/utils.js 文件 找到 postcssLoader const postcssLoader = { loader: 'postcss-loader', options: { sourceMap: options.so...
阅读全文
posted @ 2018-10-11 10:14 欢欢11
阅读(954)
评论(0)
推荐(0)
2018年10月10日
vuex使用
摘要: 1.装包:npm install vuex -S 2.引入:import Vuex from 'vuex' //这些都是写在man.js中 3.加载到Vue中:Vue.use(Vuex) 4.创建一个数据存储对象: var store=new Vuex.Store({ state:{ //state
阅读全文
posted @ 2018-10-10 23:10 欢欢11
阅读(139)
评论(0)
推荐(0)
localStorage的使用
摘要: export default { data() { return {}; },created(){ var store=window.localStorage; store[0]=1; store[1]=2; var data={ name:"里斯", age:"18", sex:"男" } var
阅读全文
posted @ 2018-10-10 16:23 欢欢11
阅读(103)
评论(0)
推荐(0)
slot
摘要: slot就是父组件把内容分发给子组件,插槽模板是slot,它是一个空壳子,因为它的显示与隐藏以及最后用什么样的html模板显示由父组件控制。但是插槽显示的位置确由子组件自身决定,slot写在组件template的什么位置,父组件传过来的模板将来就显示在什么位置。 父组件: <template> <d
阅读全文
posted @ 2018-10-10 15:27 欢欢11
阅读(205)
评论(0)
推荐(0)
模糊查询
摘要: -1、查询所有王姓同学select * from xs where 姓名 like '王%'--2、查询三个字姓王的同学select * from xs where 姓名 like '王__'--3、姓王和姓张的同学select * from xs where 姓名 like '[王,张]%'--4
阅读全文
posted @ 2018-10-10 14:52 欢欢11
阅读(171)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
23
24
25
下一页
公告