uview-plus组件库全面升级更新,订单结算判断支付方式是否可用代码调整,公众号关注二维码修改

This commit is contained in:
2025-10-21 10:44:31 +08:00
parent 5d98b7efc2
commit 5f3a307fec
395 changed files with 31264 additions and 2477 deletions

View File

@@ -14,6 +14,7 @@ export default {
inactiveColor: '#ececec',
percentage: 0,
showText: true,
height: 12
height: 12,
fromRight: false,
}
}

View File

@@ -25,6 +25,11 @@ export const props = defineMixin({
height: {
type: [String, Number],
default: () => defProps.lineProgress.height
},
// 是否从右往左加载
fromRight: {
type: Boolean,
default: () => defProps.lineProgress.fromRight
}
}
})

View File

@@ -62,6 +62,11 @@
style.width = this.lineWidth
style.backgroundColor = this.activeColor
style.height = addUnit(this.height)
if (this.fromRight) {
style.right = 0;
} else {
style.left = 0;
}
return style
},
innserPercentage() {
@@ -108,7 +113,6 @@
</script>
<style lang="scss" scoped>
@import "../../libs/css/components.scss";
.u-line-progress {
align-items: stretch;
@@ -127,7 +131,6 @@
&__line {
position: absolute;
top: 0;
left: 0;
bottom: 0;
align-items: center;
@include flex(row);