chore(电子表单): 修复电子表单的渲染

This commit is contained in:
2025-12-30 14:43:14 +08:00
parent 3fec0470cf
commit 6d0c914e79
14 changed files with 1159 additions and 954 deletions

View File

@@ -63,7 +63,7 @@
<text class="unit price-style small">.{{ parseFloat(showPrice(item)).toFixed(2).split('.')[1] }}</text>
</view>
<view class="discount-price" v-else>
<text class="price price-style large">{{langstatus?$lang('Make'):'询'}}</text>
<text class="price price-style large">{{langstatus?$lang('Make'):'询'}}</text>
</view>
@@ -148,7 +148,7 @@
<text class="unit price-style small">.{{ parseFloat(showPrice(item)).toFixed(2).split('.')[1] }}</text>
</view>
<view class="discount-price" v-else>
<text class="price price-style large">{{langstatus?$lang('Make'):'询'}}</text>
<text class="price price-style large">{{langstatus?$lang('Make'):'询'}}</text>
</view>
<view class="member-price-tag" v-if="item.member_price && item.member_price == showPrice(item)">
<image :src="$util.img('public/uniapp/index/VIP.png')" mode="widthFix"></image>
@@ -271,6 +271,11 @@
<!-- 小程序隐私协议 -->
<privacy-popup ref="privacyPopup"></privacy-popup>
<!-- #endif -->
<!-- 底部tabBar -->
<view id="tab-bar">
<diy-bottom-nav></diy-bottom-nav>
</view>
</view>
</template>

View File

@@ -294,6 +294,8 @@
}
.lineheight-clear {
display: flex;
justify-content: flex-end;
}
// 商品列表单列样式
@@ -386,12 +388,20 @@
line-height: 1;
margin-top: 16rpx;
background-color: var(--main-color);
border-radius: 35rpx;
padding: 12rpx 24rpx;
box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
.unit {
margin-right: 6rpx;
color: var(--price-color);
}
.price {
color: var(--price-color);
color: #fff !important;
font-size: 15rpx !important;
font-weight: bold !important;
}
}