工单 优化 ,增加图片
This commit is contained in:
1 parent
bf5a70597c
commit
cf2efbcb16
27 files changed
+3555
-1538
No files matched your search
@@ -0,0 +1,18 @@
|
||||
using _29WxOrderWpf.ToolCtrls;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
using Work._29Tools.Forms.ToolForms;
|
||||
|
||||
namespace OrderSupportTicket.Views;
|
||||
|
||||
public partial class TicketConversationView : UserControl
|
||||
{
|
||||
public TicketConversationView() => InitializeComponent();
|
||||
private void CopyOrderId_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
if (sender is not FrameworkElement element || element.Tag is not string orderId || string.IsNullOrWhiteSpace(orderId)) return;
|
||||
var window = Window.GetWindow(this);
|
||||
if (window != null) ToastHelper.Show(window, ClipboardHelper.TrySetText(orderId) ? "订单号已复制" : "复制失败");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user