Commit 2f9c8944 by 李伟康

feat(OrderPopup): 为未选择部位的自建膜和单片膜添加无部位提示

- 在 GoodsList 组件中增加了未选择部位时的提示文本
- 添加了相应的样式类 no-postion 以突出提示信息
- 优化了提示信息的显示逻辑,仅在特定商品类型时显示
1 parent 578522bc
......@@ -45,6 +45,9 @@
<template v-if="i.goods.merchantGoodsPosition && (i.goods.goodsInfo.goodsType == 1 || i.goods.goodsInfo.goodsType == baseConfigData.selfBuildFilmType)">
<text>「{{ i.goods.positionStr}}」</text>
</template>
<template v-if="!i.goods.merchantGoodsPosition && (i.goods.goodsInfo.goodsType == 1 || i.goods.goodsInfo.goodsType == baseConfigData.selfBuildFilmType)">
<text class="no-postion">无部位</text>
</template>
<text class="price">¥{{i.goods.price}}</text>
</view>
</template>
......@@ -221,6 +224,11 @@ export default {
font-size: 32rpx;
box-sizing: border-box;
padding: 0 32rpx;
.no-postion {
color: #f24724;
margin-left: 10rpx;
font-size: 22rpx;
}
.sprite-icon {
display: none;
position: absolute;
......
......@@ -217,7 +217,6 @@ export default {
}
if (chooseContent) {
if (Array.isArray(chooseContent) && !chooseContent.length && componentObject[popupType].nullTips) throw componentObject[popupType].nullTips
console.log(chooseContent)
this.$emit('onConfirm', {
chooseContent,
popupType
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!