CategoryProperty.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795
  1. <template>
  2. <div class="main-content container">
  3. <div class="selector" v-if="!kind.leaf">
  4. <div class="sl-wrap" >
  5. <div class="sl-key">
  6. <span>分类:</span>
  7. </div>
  8. <div class="sl-value">
  9. <ul class="list-inline">
  10. <li v-for="c in children" :title="c.nameCn">
  11. <nuxt-link :to="`/product/kind/${c.id}`">{{c.nameCn}}</nuxt-link>
  12. </li>
  13. </ul>
  14. </div>
  15. </div>
  16. </div>
  17. <div class="div-table" split-dropdown v-if="kind.leaf">
  18. <div class="div-table-left">
  19. <table class="table table-bordered">
  20. <thead >
  21. <tr>
  22. <td class="td-width dropdown">
  23. <span class="dropdown-toggle dropdown-back" data-toggle="dropdown">品牌<span class="fa fa-angle-down td-icon"></span></span>
  24. <ul class="dropdown-menu parameter-selection-ul" role="menu" aria-labelledby="dropdownMenu1" style="top: 38px;">
  25. <!--orderBy:'nameCn'-->
  26. <li v-for="b in brands"><a @click="selectBrand(b)"><span>{{b.nameCn}}</span></a></li>
  27. </ul>
  28. </td>
  29. </tr>
  30. </thead>
  31. <tbody>
  32. <tr class="tr-brand">
  33. <td class="td-brand" style="vertical-align: middle;">
  34. <div class="sl-selected" v-if="selectedBrand.nameCn" @click="delBrand()">
  35. <a class="text-num">{{selectedBrand.nameCn}}</a>
  36. <span><i class="fa fa-close"></i></span>
  37. </div>
  38. <div v-if="!selectedBrand.nameCn">
  39. 请选择品牌
  40. </div>
  41. </td>
  42. </tr>
  43. </tbody>
  44. </table>
  45. </div>
  46. <div class="div-table-right" dropdown-scroll>
  47. <table class="table table-bordered" style="table-layout:fixed;">
  48. <thead>
  49. <tr>
  50. <td v-for="(pro, index) in properties" class="list-menu td-width word-break" split-dropdown-trigger="pro.id"
  51. @mouseenter="use_exp_list(pro,index)" @mouseleave="hide_exp_list()">
  52. <span class="dropdown-toggle dropdown-back" data-toggle="dropdown"><span>{{pro.property.labelCn}}</span><span class="fa fa-angle-down td-icon"></span></span>
  53. </td>
  54. </tr>
  55. </thead>
  56. <tbody>
  57. <tr v-if="hasProperties" class="tr-properties">
  58. <td v-for="pro in properties" class="td-properties" style="vertical-align:middle;" v-bind="selectedProduct">
  59. <span class="sl-selected" @click="selectProperty(pro.propertyId)" v-if="!isDel(pro.propertyId)">
  60. <a class="text-num" v-text="selectedProduct['a' + pro.propertyId].value" style="color: #5078CB"></a>
  61. <span><i class="fa fa-close"></i></span>
  62. </span>
  63. </td>
  64. </tr>
  65. <tr class="properties-hint-tr" v-if="!hasProperties">
  66. <td :colspan="properties.length" class="properties-hint-td">
  67. <div>请选择筛选属性</div>
  68. </td>
  69. </tr>
  70. </tbody>
  71. </table>
  72. </div>
  73. <ul v-show="list_exp_flag" @mouseenter="show_exp_list()" @mouseleave="hide_exp_list()" class="parameter-selection-ul drop-down-list" role="menu" aria-labelledby="dropdownMenu1">
  74. <li v-for="item in selectedProperties.values">
  75. <a @click="selectPropertyValue(item, selectedProperties.propertyId)" class="a-color">
  76. <span>{{item.value}}</span>
  77. </a>
  78. </li>
  79. </ul>
  80. </div>
  81. </div>
  82. </template>
  83. <script>
  84. export default {
  85. layout: 'main',
  86. data () {
  87. return {
  88. hasProperties: false,
  89. selectedBrand: {
  90. nameCn: null
  91. },
  92. selectedProperties: {},
  93. list_exp_flag: false,
  94. selectedProduct: {},
  95. JSONObj: {}
  96. }
  97. },
  98. mounted () {
  99. // var list = document.getElementsByClassName('list-menu')
  100. // var container = document.getElementsByClassName('div-table')
  101. // list.onmouseover = function () {
  102. // var id = list[0].getAttribute['split-dropdown-trigger']
  103. // console.log(id)
  104. // }
  105. },
  106. filters: {
  107. sortText: function (text) {
  108. return text.sort()
  109. }
  110. },
  111. computed: {
  112. kind () {
  113. return this.$store.state.product.kind.kindsParentWithBother.data[this.$store.state.product.kind.kindsParentWithBother.data.length - 1]
  114. },
  115. children () {
  116. return this.$store.state.product.kind.children.data
  117. },
  118. properties () {
  119. let arr = this.$store.state.product.kind.kindProperty.data
  120. for (let i = 0; i < arr.length; i++) {
  121. this.selectedProduct[ 'a' + arr[i].propertyId ] = ''
  122. }
  123. return arr
  124. },
  125. brands () {
  126. return this.$store.state.product.kind.brands.data
  127. }
  128. },
  129. methods: {
  130. triggerOnMouseEnter (id) {
  131. console.log(id)
  132. let toggles = document.getElementsByClassName('x-split-dropdown-toggle')
  133. for (let i in toggles) {
  134. console.log(toggles[i])
  135. let toggleId = toggles[i].getAttribute('split-dropdown-toggle')
  136. if (toggleId === id) {
  137. console.log(toggles[i])
  138. }
  139. }
  140. },
  141. selectBrand (item) {
  142. this.selectedBrand = item
  143. this.$emit('loadCmpGoodsByBrandEvent', item.id)
  144. },
  145. delBrand () {
  146. this.selectedBrand = {}
  147. this.$emit('loadCmpGoodsByBrandEvent', null)
  148. },
  149. selectProperty (propertyId) {
  150. this.selectedProduct['a' + propertyId] = ''
  151. this.$emit('loadCmpGoodsByTypeEvent', null)
  152. this.hasProperties = this.isempty(this.selectedProduct)
  153. this.list_exp_flag = true
  154. this.list_exp_flag = false
  155. },
  156. isempty (obj) {
  157. for (let attr in obj) {
  158. if (obj[attr] !== '') {
  159. return true
  160. }
  161. }
  162. return false
  163. },
  164. isDel (propertyId) {
  165. return this.selectedProduct['a' + propertyId] === ''
  166. },
  167. selectPropertyValue (item, propertyId) {
  168. this.hasProperties = true
  169. this.selectedProduct['a' + propertyId] = item
  170. this.JSONObj[propertyId] = item.value
  171. this.$emit('loadCmpGoodsByTypeEvent', JSON.stringify(this.JSONObj))
  172. },
  173. use_exp_list: function (pro, index) {
  174. this.selectedProperties = pro
  175. let dom = document.getElementsByClassName('drop-down-list')[0]
  176. let list = document.getElementsByClassName('list-menu')[index]
  177. let content = document.getElementsByClassName('container')[0]
  178. let left = list.getBoundingClientRect().left - content.offsetLeft - 1.5
  179. dom.setAttribute('style', 'left: ' + left + 'px')
  180. this.list_exp_flag = true
  181. },
  182. hide_exp_list: function () {
  183. this.list_exp_flag = false
  184. },
  185. show_exp_list: function () {
  186. this.list_exp_flag = true
  187. }
  188. }
  189. }
  190. </script>
  191. <style scoped>
  192. .clear, .clr {
  193. clear: both;
  194. }
  195. /* breadcrumbs */
  196. .breadcrumbs {
  197. margin-top: 20px;
  198. }
  199. .breadcrumbs ul.list-unstyled.list-inline {
  200. margin-left: 0px;
  201. }
  202. .breadcrumbs ul.list-inline.list-unstyled li.crumb-item {
  203. position: relative;
  204. padding-left: 0px;
  205. padding-right: 0px;
  206. padding-bottom: 1px;
  207. height: 32px;
  208. line-height: 30px;
  209. background: #fff;
  210. border: solid 1px #6493ff;
  211. }
  212. .breadcrumbs ul li.crumb-item-angle {
  213. margin-left: -5px;
  214. }
  215. .breadcrumbs ul li.crumb-item>a {
  216. display: inline-block;
  217. width: 100%;
  218. height: 100%;
  219. padding-left: 15px;
  220. padding-right: 15px;
  221. cursor: pointer;
  222. text-decoration: none;
  223. color: #323232;
  224. font-size: 16px;
  225. }
  226. .breadcrumbs ul li.crumb-item:hover>a span,.breadcrumbs ul li.crumb-item:hover>a i{
  227. color: #5078cb;
  228. }
  229. .breadcrumbs ul li.crumb-item>a i{
  230. margin-right: 10px;
  231. }
  232. .breadcrumbs ul li.crumb-item:hover>a i{
  233. transform: rotate(-180deg);
  234. }
  235. .breadcrumbs ul li.crumb-item .angle {
  236. position: absolute;
  237. left: -6px;
  238. top: 50%;
  239. margin-top: -5px;
  240. height: 10px;
  241. width: 10px;
  242. border-bottom: 1px solid #6493ff;
  243. border-left: 1px solid #6493ff;
  244. background: white;
  245. transform: rotate(45deg);
  246. -ms-transform: rotate(45deg); /* IE 9 */
  247. -moz-transform: rotate(45deg); /* Firefox */
  248. -webkit-transform: rotate(45deg); /* Safari 和 Chrome */
  249. -o-transform: rotate(45deg); /* Opera */
  250. z-index: 14;
  251. }
  252. .breadcrumbs ul li.crumb-item .crumb-drop {
  253. position: absolute;
  254. display: none;
  255. left: -1px;
  256. top: 30px;
  257. border: #6493ff 1px solid;
  258. background: #fff;
  259. z-index: 100;
  260. width: 200px;
  261. }
  262. .breadcrumbs ul li.crumb-item .crumb-drop li {
  263. line-height: 20px;
  264. }
  265. .breadcrumbs ul li.crumb-item .crumb-drop li a{
  266. font-size: 12px;
  267. }
  268. li{
  269. list-style: none;
  270. }
  271. .breadcrumbs ul li.crumb-item:hover .crumb-drop {
  272. display: block;
  273. }
  274. .breadcrumbs ul li.crumb-item:hover>a {
  275. border-color: #f50;
  276. background: #ffffff;
  277. z-index: 101;
  278. }
  279. .breadcrumbs ul li.crumb-item a{
  280. color: #323232;
  281. }
  282. .breadcrumbs ul li.crumb-item a:hover{
  283. color: #5078cb;
  284. }
  285. .kind-count-line {
  286. line-height: 25px;
  287. height: 25px;
  288. color: #fff;
  289. font-weight: 600;
  290. background: #7bb4e1;
  291. }
  292. .kind-count-line .kind-count {
  293. display: inline-block;
  294. padding: 0 15px;
  295. background-color: #f39800;
  296. }
  297. /* sl_warp */
  298. .main-content .selector {
  299. color: #666;
  300. border: 1px solid #ddd;
  301. border-top: #6493ff 2px solid;
  302. margin-bottom: 30px;
  303. padding: 10px 0;
  304. }
  305. .main-content .sl-wrap {
  306. position: relative;
  307. line-height: 22px;
  308. padding: 5px 0;
  309. }
  310. .main-content .sl-wrap .sl-key {
  311. float: left;
  312. width: 100px;
  313. padding: 0 8px;
  314. }
  315. .main-content .sl-wrap .sl-key>span {
  316. color: #323232;
  317. font-size: 14px;
  318. }
  319. .main-content .sl-wrap .sl-value {
  320. margin-left: 110px;
  321. overflow-y: auto;
  322. }
  323. .main-content .sl-wrap .sl-value ul li a{
  324. color: #323232;
  325. font-size: 14px;
  326. }
  327. .main-content .sl-wrap .sl-value ul li a:hover{
  328. color: #5078cb;
  329. }
  330. .main-content .sl-wrap .sl-value .sl-selected {
  331. display: inline-block;
  332. position: relative;
  333. padding-left: 10px;
  334. padding-right: 30px;
  335. border: 1px solid #ccc;
  336. cursor: pointer;
  337. }
  338. .main-content .sl-wrap .sl-value .sl-selected a {
  339. color: #666;
  340. text-decoration: none;
  341. }
  342. .main-content .sl-wrap .sl-value .sl-selected:HOVER {
  343. border: 1px solid #f50;
  344. }
  345. .main-content .sl-wrap .sl-value .sl-selected:HOVER a {
  346. color: #f50;
  347. }
  348. .main-content .sl-wrap .sl-value .sl-selected span {
  349. display: inline-block;
  350. position: absolute;
  351. right: 0px;
  352. top: 0px;
  353. height: 100%;
  354. width: 20px;
  355. text-align: center;
  356. background: #ccc;
  357. color: #fff;
  358. }
  359. .main-content .sl-wrap .sl-value .sl-selected:HOVER span {
  360. background: #f50;
  361. }
  362. .main-content .sl-wrap .sl-value ul {
  363. margin-bottom: 0;
  364. }
  365. .main-content .sl-wrap .sl-value ul.list-inline li {
  366. width: 16.6666%;
  367. white-space:nowrap;
  368. overflow:hidden;
  369. text-overflow:ellipsis;
  370. }
  371. .main-content .sl-wrap .sl-value ul, .main-content .sl-set .sl-value ul{
  372. min-height: 25px;
  373. }
  374. .main-content .sl-wrap .sl-ext {
  375. position: absolute;
  376. top: 0px;
  377. right: 0px;
  378. width: 80px;
  379. }
  380. .main-content .sl-more {
  381. position: relative;
  382. top: -1px;
  383. line-height: 30px;
  384. text-align: center;
  385. border-top: 1px solid #DDD;
  386. }
  387. .main-content .sl-more a {
  388. position: relative;
  389. display: inline-block;
  390. margin-top: -1px;
  391. height: 30px;
  392. line-height: 30px;
  393. padding: 0 10px 0 10px;
  394. border-width: 1px;
  395. border-style: solid;
  396. border-color: #FFF #DDD #DDD;
  397. background: #fff;
  398. cursor: pointer;
  399. -webkit-transition: border-color .15s ease-in-out;
  400. -moz-transition: border-color .15s ease-in-out;
  401. transition: border-color .15s ease-in-out;
  402. }
  403. .main-content .sl-more:hover {
  404. border-top-color: #f39800;
  405. }
  406. .main-content .sl-more:hover a {
  407. color: #f39800;
  408. border-color: #FFF #f39800 #f39800;
  409. text-decoration: none;
  410. }
  411. .main-content .sl-more a:focus {
  412. text-decoration: none;
  413. color: #f39800;
  414. }
  415. .main-content .sl-set {
  416. position: relative;
  417. line-height: 30px;
  418. font-size: 14px;
  419. }
  420. .main-content .sl-set .sl-key {
  421. float: left;
  422. width: 100px;
  423. }
  424. .main-content .sl-set .sl-value {
  425. margin-left: 110px;
  426. }
  427. .main-content .content {
  428. position: relative;
  429. }
  430. .main-content .content .total {
  431. position: relative;
  432. margin-bottom: 10px;
  433. line-height: 30px;
  434. height: 30px;
  435. background: #7bb4e1;
  436. color: white;
  437. font-weight: 700;
  438. }
  439. .main-content .info {
  440. line-height: 24px;
  441. }
  442. .main-content .info .title {
  443. display: inline-block;
  444. width: 100px;
  445. font-family: 'microsoft yahei';
  446. font-weight: 600;
  447. }
  448. .main-content .info .content {
  449. font-size: 14px;
  450. }
  451. .main-content .operate {
  452. margin-bottom: 5px;
  453. }
  454. .main-content .operate .btn {
  455. width: 100px;
  456. text-align: left;
  457. }
  458. .main-content .content .view_all:hover {
  459. text-decoration: none;
  460. color: #f50;
  461. background: #f5f5f5
  462. }
  463. .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th,
  464. .table>thead>tr>td, .table>thead>tr>th {
  465. padding: 10px 5px;
  466. }
  467. .total-content {
  468. background-color: #f39800;
  469. padding-left: 10px;
  470. }
  471. .btnactive {
  472. background-color: #f39800;
  473. }
  474. .reserve {
  475. color: white;
  476. font-weight: 500;
  477. }
  478. .pagging .pagging-count {
  479. padding-left: 10px;
  480. padding-right: 10px;
  481. }
  482. .pagging .pagging-count:HOVER {
  483. background: #4D7BA5;
  484. cursor: pointer;
  485. }
  486. .pagging .pagging-count a {
  487. color: white !important;
  488. text-decoration: none !important;
  489. }
  490. .parameter-selection > div:first-child {
  491. display: inline-block;
  492. position: absolute;
  493. top: 50%;
  494. left: 8px;
  495. transform: translateY(-50%);
  496. }
  497. .parameter-selection div:last-child {
  498. display: inline-block;
  499. position: absolute;
  500. top: 50%;
  501. left: 40px;
  502. transform: translateY(-50%);
  503. }
  504. .div-table{
  505. width:1190px;
  506. height:120px;
  507. border-top: #6493ff 2px solid;
  508. }
  509. .div-table-left{
  510. width:135px;
  511. float:left;
  512. text-align: center;
  513. }
  514. .parameter-selection-ul{
  515. min-height: 80px;
  516. max-height: 176px;
  517. overflow: scroll;
  518. overflow-x:hidden;
  519. }
  520. .div-table-right{
  521. float:left;
  522. height:120px;
  523. width:1055px;
  524. overflow-x:auto;
  525. overflow-y:hidden;
  526. border:1px solid #DBDBDB;
  527. }
  528. .div-table-right .table{
  529. margin-bottom: 0;
  530. }
  531. .div-table-right table thead tr td{
  532. width: 140px;
  533. text-align: center;
  534. vertical-align: middle;
  535. padding: 0;
  536. }
  537. .text-hidden {
  538. text-overflow:ellipsis;
  539. overflow:hidden;
  540. white-space: nowrap;
  541. }
  542. .text-hidden:hover{
  543. overflow: visible;
  544. }
  545. .td-width{
  546. color: #323232;
  547. font-size: 14px;
  548. }
  549. .td-icon{
  550. font-size:18px;
  551. }
  552. .tr-brand{
  553. height:80px;
  554. vertical-align: middle;
  555. }
  556. .tr-properties{
  557. height:65px;
  558. }
  559. .td-brand,.td-properties{
  560. line-height: 20px;
  561. word-wrap : break-word;
  562. word-break : break-all;
  563. }
  564. thead tr {
  565. background: linear-gradient(rgb(93, 134, 220), rgb(12, 53, 136));
  566. color: #fff;
  567. height: 48px;
  568. }
  569. .table>thead>tr>th{
  570. padding:5px 5px;
  571. }
  572. .dropdown:hover>.dropdown-back {
  573. border-color: transparent;
  574. background-color: transparent;
  575. }
  576. /* scroll */
  577. ::-webkit-scrollbar {
  578. width: 10px;
  579. height: 10px;
  580. background: #ededed;
  581. }
  582. ::-webkit-scrollbar-thumb {
  583. background-color: #c1c1c1;
  584. border-radius: 5px;
  585. }
  586. ::-webkit-scrollbar-thumb:hover {
  587. background-color: #959595;
  588. }
  589. .container {
  590. position: relative;
  591. width: 1190px;
  592. }
  593. .main-content .wrap {
  594. position: relative;
  595. width: 500px;
  596. border: 1px solid #ccc;
  597. overflow-x: auto;
  598. }
  599. .table {
  600. display: table;
  601. table-layout: fixed;
  602. width: 100%;
  603. border-collapse: collapse;
  604. position: relative;
  605. left: 0px;
  606. }
  607. .tr, .th {
  608. display: table-row;
  609. }
  610. .th {
  611. font-weight: 600;
  612. }
  613. .td {
  614. display: table-cell;
  615. padding: 5px;
  616. width: 100px;
  617. text-align: center;
  618. border: 1px solid #ddd;
  619. }
  620. .dropdown-menu {
  621. display: none;
  622. position: absolute;
  623. top: 100%;
  624. background: #fff;
  625. text-align: center;
  626. cursor: pointer;
  627. }
  628. [split-dropdown] {
  629. position: relative;
  630. }
  631. [split-dropdown-toggle] {
  632. position: absolute;
  633. display: none;
  634. border: 1px solid #ccc;
  635. background: #fff;
  636. z-index: 100;
  637. top: 40px !important;
  638. }
  639. .drop-down-list{
  640. font-size: 14px;
  641. min-width: 100px;
  642. line-height: 1.75;
  643. background: #fff;
  644. text-align:center;
  645. padding: 5px 0;
  646. margin: 1px 0 0;
  647. }
  648. .drop-down-list a{
  649. padding: 0 10px;
  650. }
  651. .drop-down-list li:hover,.dropdown-menu li:hover a{
  652. background: #5078cb;
  653. }
  654. .drop-down-list li:hover a,.dropdown-menu li:hover a{
  655. color: #fff;
  656. }
  657. .a-color {
  658. color:black;
  659. cursor: pointer;
  660. }
  661. tr.properties-hint-tr {
  662. height: 65px;
  663. }
  664. tr.properties-hint-tr > td.properties-hint-td {
  665. vertical-align: middle;
  666. line-height: 20px;
  667. border-bottom: none;
  668. }
  669. tr.properties-hint-tr > td.properties-hint-td > div {
  670. /*position: relative;
  671. left: -25em;*/
  672. text-align: left;
  673. margin-left: 38em;
  674. }
  675. .word-break {
  676. word-break: break-word;
  677. }
  678. /*修改样式*/
  679. .breadcrumbs,.main-content{
  680. padding: 0;
  681. }
  682. .main-content .table-bordered{
  683. border-top: none;
  684. }
  685. .main-content .table-bordered thead tr{
  686. background: none;
  687. line-height: 40px;
  688. height: 40px;
  689. color: #323232;
  690. }
  691. .div-table-left table thead tr td,.div-table-right table thead tr td{
  692. border-bottom: none;
  693. }
  694. .div-table-left table tbody tr td,.div-table-right table tbody tr td{
  695. font-size: 12px;
  696. }
  697. .div-table-left table tr td{
  698. border-right: none;
  699. }
  700. .div-table-right table thead tr td:first-child{
  701. border-left: none;
  702. }
  703. .table-bordered{
  704. border: none;
  705. }
  706. .div-table-right table thead tr td:hover span{
  707. color: #5078cb;
  708. }
  709. .div-table-right table thead tr td:hover span.fa-angle-down{
  710. transform: rotate(-180deg);
  711. }
  712. .div-table-right table .td-properties{
  713. text-align: center;
  714. }
  715. .div-table-right table .td-properties i,.div-table-left table i{
  716. color: #5078cb;
  717. }
  718. .div-table-right table .td-properties{
  719. border-bottom: none;
  720. }
  721. .div-table-left .table{
  722. margin-bottom: 0;
  723. }
  724. .div-table-right tbody tr td:first-child{
  725. border-left: none;
  726. }
  727. .text-length-more{
  728. width: 100px;
  729. display: block;
  730. white-space: nowrap;
  731. overflow: hidden;
  732. text-overflow: ellipsis;
  733. float: left;
  734. }
  735. .drop-down-list {
  736. position: absolute;
  737. top: 40px;
  738. left: 135px;
  739. border: 1px solid #ddd;
  740. }
  741. </style>