dolphinphp添加提示文字

在配置管理->系统->配置值 里面添加 tiptext:提示文本
需要修改的代码文件

common->builder->table->Builder.php 第1885行后添加
case ‘tiptext’:
r o w [ row[ column[‘name’].’__’. c o l u m n [ t y p e ] ] = < d i v c l a s s = " e l t o o l t i p " a r i a d e s c r i b e d b y = " e l t o o l t i p 127 " t a b i n d e x = " 0 " s t y l e = " c o l o r : r g b ( 64 , 158 , 255 ) ; t e x t o v e r f l o w : e l l i p s i s ; o v e r f l o w : h i d d e n ; w h i t e s p a c e : n o w r a p ; " t i t l e = " . column['type']] = '<div class="el-tooltip" aria-describedby="el-tooltip-127" tabindex="0" style="color: rgb(64, 158, 255); text-overflow: ellipsis; overflow: hidden; white-space: nowrap;" title="'. row[ c o l u m n [ n a m e ] ] . " d a t a t o g g l e = " t o o l t i p " > . column['name']].'" data-toggle="tooltip" >'. row[$column[‘name’]].’’;
break;
效果

猜你喜欢

转载自blog.csdn.net/qq_26502101/article/details/84567258