hookehuyr

refactor(ui): 更新对话框组件样式和内容结构

将nut-dialog组件从content属性改为slot方式渲染内容
调整消息详情页按钮颜色为橙色
更新删除订单对话框的提示文本
......@@ -111,7 +111,7 @@
<!-- 底部关闭按钮 -->
<view class="detail-footer">
<nut-button type="primary" size="large" block @click="closeMessageDetail">
<nut-button type="primary" size="large" block @click="closeMessageDetail" color="orange">
关闭
</nut-button>
</view>
......
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-06 18:11:44
* @LastEditTime: 2025-07-07 16:38:18
* @FilePath: /jgdl/src/pages/myCar/index.vue
* @Description: 文件描述
-->
......@@ -102,10 +102,15 @@
<nut-dialog
v-model:visible="offlineDialogVisible"
title="温馨提示"
:content="offlineDialogContent"
@confirm="confirmOffline"
@ok="confirmOffline"
@cancel="cancelOffline"
/>
>
<template #default>
<view>
<text style="font-size: 1rem;">{{ offlineDialogContent }}</text>
</view>
</template>
</nut-dialog>
</view>
</template>
......
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-04 17:00:42
* @LastEditTime: 2025-07-07 16:32:43
* @FilePath: /jgdl/src/pages/myOrders/index.vue
* @Description: 订单管理页面
-->
......@@ -271,12 +271,17 @@
<nut-dialog
v-model:visible="showConfirmModal"
title="温馨提示"
content="确定要删除订单吗?"
cancel-text="取消"
ok-text="确认"
@cancel="showConfirmModal = false"
@ok="performDeleteOrder(pendingDeleteOrderId)"
/>
>
<template #default>
<view>
<text style="font-size: 1rem;">删除订单将无法恢复,请谨慎操作。</text>
</view>
</template>
</nut-dialog>
<!-- 成功提示 -->
<nut-toast
......