会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
风一样的猿
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
10
下一页
2021年8月11日
uniApp css 省略号
摘要: display: -webkit-box; overflow: hidden; word-break: break-all; /* break-all(允许在单词内换行。) */ text-overflow: ellipsis; /* 超出部分省略号 */ -webkit-box-orient: v
阅读全文
posted @ 2021-08-11 15:45 风一样的猿
阅读(495)
评论(0)
推荐(0)
2021年6月24日
微信小程序 返回上一页面携带参数
摘要: let pages = getCurrentPages(); let prevPage = pages[pages.length - 2]; //上一个页面 prevPage.setData({ floderListArry: that.data.floderListArry, }); wx.nav
阅读全文
posted @ 2021-06-24 16:31 风一样的猿
阅读(598)
评论(0)
推荐(0)
2021年3月2日
Vue 打开新页面
摘要: const hrefs = this.$router.resolve({ path: "/upVideo", query: { key: row.key, index: index } }); window.open(hrefs.href, "_blank");
阅读全文
posted @ 2021-03-02 14:50 风一样的猿
阅读(408)
评论(0)
推荐(0)
2021年2月26日
Vue 七牛云上传文件
摘要: npm install qiniu-js 所用页面 const qiniu = require('qiniu-js') // or import * as qiniu from 'qiniu-js' upLoad() { let that = this; let fileName = this.im
阅读全文
posted @ 2021-02-26 17:24 风一样的猿
阅读(703)
评论(0)
推荐(0)
2021年2月23日
vue 封装api请求
摘要: 1.新建js文件 http.js import axios from "axios"; import QS from "qs"; //引入qs模块,用来序列化post类型的数据 import Vue from "vue"; //环境的切换 if (process.env.NODE_ENV == "d
阅读全文
posted @ 2021-02-23 17:41 风一样的猿
阅读(1312)
评论(0)
推荐(0)
2021年1月13日
小程序底部小黑条适配
摘要: constant(safe-area-inset-bottom)); /* ios < 11.2*/ env(safe-area-inset-bottom) /* ios >= 11.2*/
阅读全文
posted @ 2021-01-13 17:57 风一样的猿
阅读(538)
评论(0)
推荐(0)
2020年8月26日
微信小程序promise解决onload异步
摘要: onLoad: function (options) { this.con(4).then(res=>{ console.log(res) }) }, con(id){ let thaT=this return new Promise((r,t)=>{ if(id==1){ r(2) }else{
阅读全文
posted @ 2020-08-26 15:32 风一样的猿
阅读(1089)
评论(0)
推荐(0)
2020年7月28日
小程序中使用 Less (VScode)
摘要: 在VScode中 Ctrl+Shift+X 打开扩展: vscode weapp api,这是小程序的语法结构 vscode wxml,是针对wxml文件的 vscode-wechat Easy WXLESS,是针对wxss文件的 安装好插件以后,我们直接在vscode里面编辑小程序项目,保存即可同
阅读全文
posted @ 2020-07-28 15:38 风一样的猿
阅读(433)
评论(0)
推荐(0)
Vue中使用less
摘要: npm install less less-loader --save-dev 或者 安装指定版本的 //卸载命令 npm uninstall less-loader //重新下载 npm install less-loader@4.1.0 2.配置less路径:build -> webpack.b
阅读全文
posted @ 2020-07-28 15:33 风一样的猿
阅读(6056)
评论(0)
推荐(0)
2020年7月23日
小程序获取 图片宽高
摘要: <image binderror="errImg" bindload="imgload" style="width:{{item.attribute.scaleWidth }};height:{{item.attribute.scaleHeight }}" mode="widthFix" src="
阅读全文
posted @ 2020-07-23 17:19 风一样的猿
阅读(1285)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
10
下一页
公告