搜索页面-优惠券提示bug

parent 8fed8f85
......@@ -14,7 +14,7 @@
}
},
{
"path": "pages/searchPage/searchPage",
"path": "pages/assistingAgriculture/searchPage/searchPage",
"style": {
"navigationBarTitleText": "搜索",
"navigationStyle":"custom"
......
......@@ -97,8 +97,10 @@ page {
}
}
.content {
line-height: 120px;
text-align: center;
display: flex;
flex-direction: column;
align-content: center;
gap: 20rpx;
}
}
</style>
......@@ -242,7 +242,7 @@ function showDetailFn(item) {
* 选择优惠券
*/
function selectShopCoupon(item) {
if (item.cashCondition < orderInfo.value.orderItems[0].price) {
if (item.cashCondition <= orderInfo.value.orderItems[0].price) {
activeCouponId.value = item.couponId;
activeCouponInfo.value = item;
showpopup.value = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment