Merge branch 'lcj-demo-50x'

对tooltip样式添加命名空间
This commit is contained in:
梁才军 2019-04-23 13:39:47 +08:00
commit 02fbc24c9a
7 changed files with 718 additions and 15 deletions

View File

@ -5,7 +5,7 @@
*
*/
import React, { Component } from "react";
import { Table } from "tinper-bee";
import Table from "../../src";
import { Icon, Select, Tooltip } from "tinper-bee";
const Option = Select.Option;
@ -58,6 +58,7 @@ class StringEditCell extends Component {
{value === "" ? (
<Tooltip
inverse
className="tp-501"
placement="bottom"
overlay={
<div className="help-tip">
@ -136,11 +137,11 @@ class SelectEditCell extends Component {
}
const dataSource = [
{ name: "全能法戒", quality: "远古传奇", level: 70.11 },
{ name: "绝命", quality: "太古传奇", level: 70 },
{ name: "蚀刻符印", quality: "太古传奇", level: 70 },
{ name: "虹光", quality: "传奇", level: 70 },
{ name: "复仇者护腕", quality: "传奇", level: 70 }
{ name: "全能法戒", quality: "远古传奇", level: 70, key: "1" },
{ name: "绝命", quality: "太古传奇", level: 70, key: "2" },
{ name: "蚀刻符印", quality: "太古传奇", level: 70, key: "3" },
{ name: "虹光", quality: "传奇", level: 70, key: "4" },
{ name: "复仇者护腕", quality: "传奇", level: 70, key: "5" }
];
class Demo501 extends Component {

View File

@ -4,6 +4,7 @@
border: 1px dashed #A5ADBA;
}
}
.require {
position: absolute;
top: 2px;
@ -11,12 +12,17 @@
font-size: 20px;
}
}
.help-tip {
color: #F44336;
}
.tooltip-arrow {
border-bottom-color: #F44336 !important;
}
.tooltip-inner {
border-color: #F44336 !important;
.tp-501 {
.tooltip-arrow {
border-bottom-color: #F44336 !important;
}
.tooltip-inner {
border-color: #F44336 !important;
}
}

File diff suppressed because one or more lines are too long

15
dist/demo.css vendored
View File

@ -8899,12 +8899,23 @@ ul {
.help-tip {
color: #F44336; }
.tooltip-arrow {
.tp-501 .tooltip-arrow {
border-bottom-color: #F44336 !important; }
.tooltip-inner {
.tp-501 .tooltip-inner {
border-color: #F44336 !important; }
<<<<<<< HEAD
=======
.demo502 .u-table-row {
height: 58px; }
.demo502 .u-row-hover .opt-btns button {
border-radius: 5px; }
.demo502 .u-row-hover .opt-btns button:first-child {
margin-right: 10px; }
>>>>>>> lcj-demo-50x
th .drop-menu .uf {
font-size: 12px;
visibility: hidden;

6
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

673
dist/demo.js vendored

File diff suppressed because one or more lines are too long

6
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long