上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: 在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)
摘要: 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)
摘要: <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 下一页