Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

价格 Price 删除线实机会下移 #1571

Open
GeJing0 opened this issue Jun 6, 2023 · 1 comment
Open

价格 Price 删除线实机会下移 #1571

GeJing0 opened this issue Jun 6, 2023 · 1 comment
Labels
Bug 该 Issue 提出了一个 Bug

Comments

@GeJing0
Copy link

GeJing0 commented Jun 6, 2023

找到源码 /miniprogram_npm/lin-ui/price/index.wxml
把源码修改为
<!-- <view class='price-container l-class {{deleted ? "price-del l-deleted-class" : ""}}' style="color: {{delColor?delColor:color}}"> --> <view class='price-container l-class' style="color: {{delColor?delColor:color}}"> <text class='l-unit-class {{deleted ? "price-del l-deleted-class" : ""}}' style="color: {{unitColor?unitColor:color}}; font-size: {{unitSize?unitSize:size}}rpx; font-weight: {{unitBold?unitBold:bold}}">{{unit}}</text> <text class='l-value-class {{deleted ? "price-del l-deleted-class" : ""}}' style="color: {{valueColor?valueColor:color}}; font-size: {{valueSize?valueSize:size}}rpx; font-weight: {{valueBold?valueBold:bold}}">{{priceInteger}}<text class="l-dot-class">{{priceDecimal?'.':''}}</text><text class="l-decimal-class">{{priceDecimal?priceDecimal:''}}</text></text> </view>

@GeJing0 GeJing0 added the Bug 该 Issue 提出了一个 Bug label Jun 6, 2023
@GeJing0
Copy link
Author

GeJing0 commented Jun 6, 2023

.price-del这个css样式的问题,放在text中效果才完美

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 该 Issue 提出了一个 Bug
Projects
None yet
Development

No branches or pull requests

1 participant