fix(Item.vue): 修正成功弹窗样式并添加确认按钮颜色

- 调整弹窗标题和消息格式
- 为确认按钮添加主题色
- 修复样式作用域问题并添加全局样式覆盖
This commit is contained in:
maclien
2025-06-24 21:21:00 +08:00
parent fbeccda5a0
commit 9d30b7085f
+10 -3
View File
@@ -183,8 +183,9 @@ async function getProductDetail() {
function handleSuccess(){
showDialog({
title: '领取成功',
message: '稍后会有电话客服与您联系,协助您完成补贴申领。',
title: '领取成功',
message: '稍后会有电话客服与您联系,\n协助您完成补贴申领。',
confirmButtonColor: '#f84803'
}).then(() => {
});
getProductDetail()
@@ -283,7 +284,7 @@ function handleShowStorePop(val) {
</script>
<style>
<style scoped>
.count-down-colon {
display: inline-block;
margin: 0 4px;
@@ -305,4 +306,10 @@ function handleShowStorePop(val) {
left: 50%;
transform: translate(-50%, -50%);
}
</style>
<style>
.van-overflow-hidden{
--van-text-color:#f00;
}
</style>