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