From 03ef0b51103c735077c784c7df81ae2bcc1599ab Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期四, 13 二月 2025 18:33:56 +0800 Subject: [PATCH] update --- jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp b/jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp index 01123d4..bc2201d 100644 --- a/jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp +++ b/jrj/project/business/Enquiry/SKU.PictureView.Product3.cpp @@ -41,7 +41,7 @@ return 1; } - int OnImgDBClicked(TEvent* evt, int pr) + int OnImgDBClicked(TEvent* evt, LPARAM pr) { IMGNNMHDR& nmtv = *(IMGNNMHDR*)evt->notify.pnmh; xstring src = nmtv.path; @@ -50,14 +50,14 @@ else src=src.mid(src.find(L"Thumbs", 0)+6, 50); */ - xaserverarg& arg = *new xaserverarg; + xaserverarg arg; //arg.AddArg(L"src",L"/business/products/chanpin"+src); arg.AddArg(L"src", src); //win::OpenWindow(L"dev:xpage[BigPicture.vx]",arg); - int h = openUrl(L"/sale/view/ProductLibrary/xpage/bigpictureview", &arg); + int h = openUrl(L"/sale/view/ProductLibrary/xpage/bigpictureview", arg); return 1; /*xwin x = new xwin; @@ -175,9 +175,7 @@ if (GetWinParam()) { - xaserverarg arg; - // - arg = GetArg(); + xaserverarg arg = GetArg(); ParentHWND = (HWND)arg.GetParam(L"ParentHWND"); xstring openflag = arg.GetArgString(L"OpenFlag"); //alert(openflag); @@ -193,7 +191,7 @@ return 0; } doc = x; - //alert(x.GetXml()); + //alert(x.xml()); KXMLDOMElement e = x.selectSingleNode(L"ImageList"); KXMLDOMNodeList nlist = e.selectNodes(L"image"); int i; -- Gitblit v1.9.3