Commit 0cf1dfcb by 李伟康

修改样式

1 parent 8dc7cbd3
......@@ -182,7 +182,9 @@ class Draw {
if (this.getTextWidth(lastText) > width - fontX - this.getTextWidth('…')) throw lastText
})
} catch (error) {
e = `${error}…`
let {lastFont} = textParams
if (lastFont) e = `${error.substring(0, error.length - lastFont.length)}…${lastFont}`
else e = `${error}…`
}
}
let textHeight = y + index * (lineHeight || fontSize)
......
......@@ -140,6 +140,7 @@ export default {
label.lineNum = 2
label.lineHeight = 24
label.width = labelEndX
label.lastFont = ':'
}
}
if (e === '支付定金') {
......
......@@ -287,7 +287,8 @@ export default {
},
created () {
let _this = this
const jsApiList = ['getLocation',
const jsApiList = [
'getLocation',
'openLocation',
'getNetworkType',
'onMenuShareAppMessage',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!