摘要:
// 单行 overflow:hidden; /*超出宽度部分的隐藏*/ white-space:nowrap; /*文字不换行*/ text-overflow:ellipsis; /*超出则...代替*/ // 多行 text-overflow: -o-ellipsis-lastline; /*两行后超出省略*/ overflow: hidden; text-overflow: ellips... 阅读全文
posted @ 2019-08-02 09:56
一只螺
阅读(371)
评论(0)
推荐(0)
摘要:
onReady() { let buttons = '按钮' //buttons = '\ue670' 如果是字体图标需要引入ttf文件 // #ifdef APP-PLUS var currentWebview = this.$mp.page.$getAppWebview(); console.log(currentWebview) var t... 阅读全文
posted @ 2019-08-02 09:53
一只螺
阅读(9445)
评论(0)
推荐(0)
摘要:
uni.getSystemInfo({ success: function(res) { // res - 各种参数 console.log(res.windowWidth); // 屏幕的宽度 let info = uni.createSelectorQuery().select(".类名"); 阅读全文
posted @ 2019-08-02 09:50
一只螺
阅读(46212)
评论(6)
推荐(2)

浙公网安备 33010602011771号