店铺考核提供备注功能 微信带货助手采集功能
This commit is contained in:
1 parent
4fa1fc03ca
commit
119b2f4f3e
64 files changed
+7940
-908
No files matched your search
@@ -363,21 +363,23 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
|
||||
string jsStr1 = @"document.getElementsByClassName('shop-info-popover')[0].style ='';
|
||||
var divLst = document.getElementsByClassName('shop-info-popover')[0].getElementsByTagName('div');
|
||||
for (i=0; i<divLst.length; i++){
|
||||
(function() { for (i=0; i<divLst.length; i++){
|
||||
if(divLst[i].innerHTML.indexOf('切换店铺') >= 0){
|
||||
divLst[i].click();
|
||||
//return 'success'
|
||||
//return 'success';
|
||||
}
|
||||
}";
|
||||
} })();";
|
||||
var t1 = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr1);
|
||||
t1.Wait(5000);
|
||||
|
||||
Thread.Sleep(Randomx.GetId(500, 1000));
|
||||
jsStr1 = @"for (i=0; i<divLst.length; i++){
|
||||
if(divLst[i].innerHTML.indexOf('" + switchInfo.nickname + @"') >= 0){
|
||||
jsStr1 = @"(function() { for (i=0; i<divLst.length; i++){
|
||||
//if(divLst[i].innerHTML.indexOf('" + switchInfo.nickname + @"') >= 0){
|
||||
if(divLst[i].innerHTML == '" + switchInfo.nickname + @"'){
|
||||
divLst[i].click();
|
||||
return 'success';
|
||||
}
|
||||
}";
|
||||
} })();";
|
||||
t1 = cefWebBrowser.GetMainFrame().EvaluateScriptAsync(jsStr1);
|
||||
t1.Wait(5000);
|
||||
|
||||
|
||||
Reference in new issue
Block a user