2020年1月6日
摘要: 1. django-admin startproject HelloWorld创建项目 2. python manage.py runserver 0.0.0.0:8000 运行项目判断是否可行 3.python manage.py makemigrations 创建表结构 4.python man 阅读全文
posted @ 2020-01-06 16:21 大橙子最美丽 阅读(91) 评论(0) 推荐(0) 编辑
  2019年5月28日
摘要: overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; word-wrap: break-word; line-heig 阅读全文
posted @ 2019-05-28 16:33 大橙子最美丽 阅读(153) 评论(0) 推荐(0) 编辑
  2019年5月9日
摘要: background-image:url("http://lbs.lanbanshou.com/static/merchant/bg@2x.png"); background-repeat:no-repeat; overflow:hidden; background-position:center; 阅读全文
posted @ 2019-05-09 09:30 大橙子最美丽 阅读(131) 评论(0) 推荐(0) 编辑
  2019年1月8日
摘要: 获取StorageSync的值的时候,会发现值不同,必须调用getParam,这个方法有个返回值,return才能把真的值获取到 阅读全文
posted @ 2019-01-08 14:49 大橙子最美丽 阅读(7880) 评论(0) 推荐(1) 编辑
  2019年1月5日
摘要: toRevocateMark: function(event) { console.log(event); var index = event.currentTarget.dataset.index; var i = parseInt(index); var newss = this.data.newss; var that = this; wx.... 阅读全文
posted @ 2019-01-05 18:11 大橙子最美丽 阅读(232) 评论(0) 推荐(1) 编辑
  2018年12月21日
摘要: 小程序后台的配置就是按照官方文档步骤,但是需要注意的是配置路径的时候必须是服务器下面存在的路径,否则就不行,如配置https:www.123.com那么测试的就只能是https:www.123.com/c小程序扫码进入的页面很多时候进入的线上版本,而不是测试版,这个时候需要改路径的范围只能是测试版或 阅读全文
posted @ 2018-12-21 15:08 大橙子最美丽 阅读(995) 评论(0) 推荐(0) 编辑
  2018年12月19日
摘要: src="{{storeimg}}" wx:if="{{storeimg}}" 这样能处理图片懒加载 但是src中加点其他的地址就会出错 阅读全文
posted @ 2018-12-19 10:13 大橙子最美丽 阅读(129) 评论(0) 推荐(0) 编辑
  2018年12月14日
摘要: onBind: function (e) { var that = this; var index = this.data.index++; console.log(e); this.data.array.push({ offsetX: e.changedTouches[0].pageX, offset... 阅读全文
posted @ 2018-12-14 17:13 大橙子最美丽 阅读(602) 评论(0) 推荐(0) 编辑
  2018年12月12日
摘要: 上传图片代码就是上面的这些,但是会出现有时候能上传上去有时候不能,原来是小程序做了限制,大概在2m以内 大家觉得不错的话可以支持一下 阅读全文
posted @ 2018-12-12 18:03 大橙子最美丽 阅读(3254) 评论(1) 推荐(0) 编辑
  2018年12月11日
摘要: 1.下载地址https://github.com/wangfupeng1988/wangEditor/releases](https://github.com/wangfupeng1988/wangEditor/releases 把这个文件下载好了,用哪个引入哪个 2.创建一个文本编辑器 <scri 阅读全文
posted @ 2018-12-11 11:41 大橙子最美丽 阅读(819) 评论(0) 推荐(0) 编辑