上货软件增加脚本

时间:2021-09-16 00:30:55   收藏:0   阅读:51

//保护套质地:
document.querySelectorAll(‘#struct-bindProp .sell-catProp-struct input‘)[0]

//款式
document.querySelectorAll(‘#struct-bindProp .sell-catProp-struct i‘)[1].click()

document.querySelectorAll(‘.sell-o-select-options .options-content .options-item‘).forEach((item)=>{
if(item.innerText==‘支架式‘)
{
item.click();
}
})


//适用手机机型
document.querySelectorAll(‘#struct-bindProp .sell-catProp-struct input‘)[2]


//型号
document.querySelectorAll(‘#struct-bindProp .sell-catProp-struct input‘)[3]


//商品属性 功能
document.querySelectorAll(‘#base-card i‘)[0].click()

document.querySelectorAll(‘.sell-o-select-options .options-content .options-item‘).forEach((item)=>{
if(item.innerText==‘防水‘)
{
item.click();
}
})

原文:https://www.cnblogs.com/dming4/p/15269049.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!