Bootstrap 4.00 网格系统无法在 UC 浏览器中运行

Bootstrap 4.00 grid System not working in UC Browsers

我是 Bootstrap 的新手,使用 bootstrap 开发了一个网页,我的网页在 pc/laptop 浏览器上运行良好,但是当我使用 uc 浏览器时,我的网格布局不起作用。是有什么办法可以解决这个问题? 这是我的代码:

<!DOCTYPE html>
<html>
<head>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>MD</title>
<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>

<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css"
href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<link
href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700"
rel="stylesheet">

</head>
<body>
<div class="container">
 <section class="itsolutions" id="it">
  <h2>IT Solutions</h2>
  <div class="row">
   <div class="col-lg-6 col-sm-12 col-12">
    <i class="ion-settings icon-big ic"></i>
    <h3>Website Design & Development</h3>
    <p>texts</p>
   </div>
   <div class="col-lg-6 col-sm-12 col-12">
    <i class="ion-android-bulb icon-big ic"></i>
    <h3>Software Solutions</h3>
    <p>texts</p>
   </div>
  </div>
 </section>
</div>
</body>
</html>

欢迎来到Bootstrap。您只需要更改 html 代码的某些部分以将 bootstrap classes 用于 extra-small(xs)体重秤。

<div class="row">
    <div class="col-lg-6 col-sm-12 col-xs-12"> <!--Here is changed-->
        <i class="ion-settings icon-big ic"></i>
        <h3>Website Design & Development</h3>
        <p>texts</p>
    </div>
    <div class="col-lg-6 col-sm-12 col-xs-12"> <!--Here is changed-->
        <i class="ion-android-bulb icon-big ic"></i>
        <h3>Software Solutions</h3>
        <p>texts</p>
    </div>
</div>

另外 this link 可以帮助您了解哪个 class 与哪个屏幕像素宽度相关。

一般来说,Bootstrap支持各大平台默认浏览器的最新版本。请注意,不支持代理浏览器(例如 Opera Mini、Opera Mobile 的 Turbo 模式、UC 浏览器、Amazon Silk)。