• 请登录
  • 免费注册
  • BOM采购
客服电话:0755-28435922
  • English
  • 网站地图
辰科商城
STM32F103C8T6 HA1007 ME6211C33M5G-N ME6209A33M3G TMS320F28335PGFA ADS7866

今日热搜

上传BOM
辰科智造PCBA加载中
0
您的购物车为空!请先选择您要购买的型号。
全部分类
  • 电阻/电容/电感
  • 半导体-集成电路(IC)
  • 分立半导体产品
  • 晶体,振荡器,谐振器
  • 电路保护
  • 半导体-隔离器
  • 半导体-射频/IF和RFID
  • 半导体-传感器,变送器
  • 光电器件
  • 继电器
  • 滤波器
  • 连接器,互连器件
电阻 >
电容 >
电感 >
嵌入式 >
存储器 >
电源管理 >
接口 >
时钟和计时 >
数据采集 >
逻辑器件 >
线性 >
专用IC >
音频专用 >
二极管 >
晶体管 >
晶闸管 >
功率驱动器模块 >
out(function() { $(this).removeClass('open'); }); } $(document).ready(function(){ dropdownOpen();//调用 $('#nav-goods').mouseover(function(){ $(this).next().show(); }); }); $(function(){ // var ua = navigator.userAgent.toLowerCase(); // var bIsIpad = ua.match(/ipad/i) == "ipad"; // var bIsIphoneOs = ua.match(/iphone os/i) == "iphone os"; // var bIsAndroid = ua.match(/android/i) == "android"; // var bIsWM=ua.match(/windows mobile/i)=="windows mobile"; // var host = "https://m.www.chenkeiot.com"; // console.log(ua,bIsIpad,bIsIphoneOs,bIsAndroid,bIsWM); // var pathname = window.location.pathname; // if(bIsIpad||bIsIphoneOs||bIsAndroid||bIsWM){ // window.location.href =host + pathname; // } console.log("start"); var MobileUA = (function() { var ua = navigator.userAgent.toLowerCase(); var mua = { IOS: /ipod|iphone|ipad/.test(ua), //iOS IPHONE: /iphone/.test(ua), //iPhone IPAD: /ipad/.test(ua), //iPad ANDROID: /android/.test(ua), //Android Device WINDOWS: /windows/.test(ua), //Windows Device TOUCH_DEVICE: ('ontouchstart' in window) || /touch/.test(ua), //Touch Device MOBILE: /mobile/.test(ua), //Mobile Device (iPad) ANDROID_TABLET: false, //Android Tablet WINDOWS_TABLET: false, //Windows Tablet TABLET: false, //Tablet (iPad, Android, Windows) SMART_PHONE: false //Smart Phone (iPhone, Android) }; mua.ANDROID_TABLET = mua.ANDROID && !mua.MOBILE; mua.WINDOWS_TABLET = mua.WINDOWS && /tablet/.test(ua); mua.TABLET = mua.IPAD || mua.ANDROID_TABLET || mua.WINDOWS_TABLET; mua.SMART_PHONE = mua.MOBILE && !mua.TABLET; return mua; }()); console.log(MobileUA.SMART_PHONE,'YES'); // 分辨率改变时候执行代码 $(window).resize(function() { // alert($(window).width()); // alert($(window).height()); var windowWidth = $(window).width(); // console.log(windowWidth); var url = document.location.toString(); // if(windowWidth < 980) // { // var link =url.replace('www.makuwang','m.makuwang'); // window.location.href =link; // console.log(link); // return false; // } }); if (MobileUA.SMART_PHONE) { // var url = document.location.toString(); // var link =url.replace('www.chenkeiot.com','www.chenkeiot.com/m'); // window.location.href =link; // console.log(link); // return false; } }); >