Explorar o código

顶部标段名 可点击查看详细

chente %!s(int64=5) %!d(string=hai) anos
pai
achega
b0c929cc1d
Modificáronse 2 ficheiros con 6 adicións e 1 borrados
  1. 1 1
      biaoduan-panel.html
  2. 5 0
      js/global.js

+ 1 - 1
biaoduan-panel.html

@@ -19,7 +19,7 @@
         <nav class="fixed-top bg-dark">
             <div class="my-2 d-flex justify-content-between">
                 <span class="text-white ml-3"><a href="biaoduan.html" class="mr-2 text-white"><i class="fa fa-chevron-left"></i> 标段概况</a></span>
-                <span class="text-white text-truncate" style="width:150px">标段名称标段名称标段名称标段名称标段名称标段名称标段名称标段名称标段名称标段名称标段名称</span>
+                <a tabindex="0" class="text-white text-truncate" style="width:150px" data-toggle="popover" data-placement="top" data-content="标段名称标段名称标段名称标段名称标段名称标段名称段名称标段名称标段名称标段名称标段名称" data-trigger="focus">标段名称标段名称标段名称标段名称标段名称标段名称段名称标段名称标段名称标段名称标段名称</a>
                 <div class="mr-3">
                     <div class="dropdown">
                       <button class="btn btn-sm btn-light dropdown-toggle" type="button" data-toggle="dropdown">

+ 5 - 0
js/global.js

@@ -0,0 +1,5 @@
+/*工具提示*/
+$(function () {
+ 	$('[data-toggle="tooltip"]').tooltip();
+	$('[data-toggle="popover"]').popover();
+});