let that = this;
if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
that.ispc = false;
} else {
that.ispc = true;
}
window.addEventListener("resize", function () {
if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
that.ispc = false;
} else {
that.ispc = true;
}
});