resource.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735
  1. <template>
  2. <div class="resource_info">
  3. <div class="container">
  4. <div class="crumbs">
  5. <div class="container">
  6. <div class="menu-com row">
  7. <div class="menu-title col-md-12">
  8. <nuxt-link to="/">首页 ></nuxt-link>
  9. <nuxt-link to="/supplier">供应商资源 ></nuxt-link>
  10. <span>供应商物料库</span>
  11. </div>
  12. </div>
  13. </div>
  14. </div>
  15. <div class="user_info">
  16. <div class="user_title">
  17. <div class="user_name">
  18. <span>{{enUser.enName ? enUser.enName : '企业名称'}}&nbsp;&nbsp;<i class="fa fa-angle-down"></i></span>
  19. <a :href="/store/+ storeInfo.uuid" target="_blank" v-if="storeInfo.uuid">进入店铺</a>
  20. </div>
  21. <div class="user_mes">
  22. <div class="mes-list">
  23. <p>
  24. <span><i class="supplier_icon1"></i>企业执照号:{{enUser.enBussinessCode ? enUser.enBussinessCode : '暂无信息'}}</span>
  25. <span><i class="supplier_icon2"></i> 地址:{{enUser.enAddress ? enUser.enAddress : '暂无信息'}}</span>
  26. </p>
  27. <p>
  28. <span><i class="supplier_icon3"></i> 邮箱:{{enUser.enEmail ? enUser.enEmail : '暂无信息'}}</span>
  29. <span><i class="supplier_icon4"></i> 电话:{{enUser.enTel ? enUser.enTel : '暂无信息'}}</span>
  30. <span><i class="supplier_icon5"></i> 行业:{{enUser.enIndustry ? enUser.enIndustry : '暂无信息'}}</span>
  31. </p>
  32. </div>
  33. </div>
  34. </div>
  35. <div class="search">
  36. <div class="input-group">
  37. <input type="search" class="form-control" placeholder="请输入要查找的内容"
  38. v-model="searchCode" @keyup.13="goodsSearch(searchCode)" @search="goodsSearch(searchCode)"/>
  39. <span class="input-group-btn">
  40. <button type="button" class="btn" id="search_btn" @click="goodsSearch(searchCode)">
  41. 搜索 <i class="fa fa-search"></i>
  42. </button>
  43. </span>
  44. </div>
  45. </div>
  46. </div>
  47. <div class="info_list">
  48. <table>
  49. <thead>
  50. <tr>
  51. <th width="66">序号</th>
  52. <th width="1008">
  53. <span>原厂型号 / 品牌</span>
  54. <span>类目(名称) / 单位</span>
  55. <span>规格</span>
  56. </th>
  57. <th width="116">操作</th>
  58. </tr>
  59. </thead>
  60. <tbody>
  61. <tr v-for="(item, index) in list.content" @click="jumpDetail(item.id)">
  62. <td v-text="index + 1">12</td>
  63. <td>
  64. <ul class="list-inline">
  65. <li class="item">
  66. <span class="fl">原厂型号</span>
  67. <p v-text="item.cmpCode ? spliceString(item.cmpCode, 95) : '暂无信息'">2</p>
  68. </li>
  69. <li class="item">
  70. <span class="fl">类目(产品名称)</span>
  71. <p v-text="item.kind ? spliceString(item.kind, 95) : item.prodName ? spliceString(item.prodName, 95) : '暂无信息'">1</p>
  72. </li>
  73. <li class="item">
  74. <span class="fl">规格</span>
  75. <p v-text="item.spec ? spliceString(item.spec, 95) : '暂无信息'">1</p>
  76. </li>
  77. <li class="item">
  78. <span class="fl">品牌</span>
  79. <p v-text="item.standard !== 1 ? spliceString(item.brand, 95) : spliceString(item.pbranden, 95)">2</p>
  80. </li>
  81. <li class="item">
  82. <span class="fl">单位</span>
  83. <p v-text="item.unit ? item.unit : 'PCS'">1</p>
  84. </li>
  85. </ul>
  86. </td>
  87. <td>
  88. <a @click="immediatelyClick(item)" @mouseleave="hasClick = false" @mouseenter="hasClick = true">立即询价</a>
  89. </td>
  90. </tr>
  91. </tbody>
  92. </table>
  93. <div class="empty" v-if="!list.content || list.content.length === 0">
  94. <img src="/images/supplier/icon/empty.png">
  95. <div class="info">
  96. <p>暂无物料信息</p>
  97. <a href="javascript:history.go(-1)"><i class="fa fa-reply" style="margin-right:5px;"></i>返回上一页</a>
  98. </div>
  99. </div>
  100. <div style="float: right;background: #ecf1f1;">
  101. <page :total="list.totalElements" :page-size="pageParams.count"
  102. :current="pageParams.page" v-on:childEvent="handleCurrentChange">
  103. </page>
  104. </div>
  105. </div>
  106. <el-dialog
  107. title="我要询价"
  108. :visible.sync="hasDialog">
  109. <div class="form_dialog">
  110. <ul class="list-inline">
  111. <li class="form-item">
  112. <span>品牌:</span>
  113. <p v-text="applyObj.brand ? spliceString(applyObj.brand, 90) : '-'">32432</p>
  114. </li>
  115. <li class="form-item">
  116. <span>物料名称(类目):</span>
  117. <p v-text="applyObj.prodName ? spliceString(applyObj.prodName, 90) : '-'">32</p>
  118. </li>
  119. <li class="form-item">
  120. <span>型号:</span>
  121. <p v-text="applyObj.cmpCode ? spliceString(applyObj.cmpCode, 90) : '-'">32432</p>
  122. </li>
  123. <li class="form-item">
  124. <span>规格:</span>
  125. <p v-text="applyObj.spec ? spliceString(applyObj.spec, 90) : '-'">32432</p>
  126. </li>
  127. <li class="form-item">
  128. <span><i>*</i>截止日期:</span>
  129. <el-date-picker
  130. :class="{'error': !validObj.deadline}"
  131. v-model="applyObj.deadline"
  132. type="date"
  133. :picker-options="pickerOptions"
  134. @change="setDeadLineValid"
  135. :editable="false"
  136. :clearable="true"
  137. size="mini">
  138. </el-date-picker>
  139. </li>
  140. <li class="form-item">
  141. <span>封装:</span>
  142. <input type="text" class="form-control" v-model="applyObj.encapsulation"/>
  143. </li>
  144. <!--<li class="form-item">-->
  145. <!--<span>单价预算:</span>-->
  146. <!--<select v-model="applyObj.currency" class="form-control" style="width:40px;">-->
  147. <!--<option value="RMB">¥</option>-->
  148. <!--<option value="USD">$</option>-->
  149. <!--</select>-->
  150. <!--<input type="number" v-model="applyObj.unitPrice" class="form-control" :class="{'error': !validObj.unitPrice}"/>-->
  151. <!--</li>-->
  152. <!--<li class="form-item">-->
  153. <!--<span>生产日期:</span>-->
  154. <!--<input type="text" class="form-control" v-model="applyObj.produceDate"/>-->
  155. <!--</li>-->
  156. <li class="form-item">
  157. <span>采购数量(PCS):</span>
  158. <input type="number" class="form-control" v-model="applyObj.amount" :class="{'error': !validObj.amount}"/>
  159. </li>
  160. </ul>
  161. </div>
  162. <span slot="footer" class="dialog-footer">
  163. <button @click="authorityInterceptor(baseUrls.userPublishSeek, goPublish)" :disabled="isClick">询价提交</button>
  164. </span>
  165. </el-dialog>
  166. </div>
  167. </div>
  168. </template>
  169. <script>
  170. import Page from '~/components/common/page/pageComponent.vue'
  171. export default {
  172. name: 'ResourceView',
  173. data () {
  174. return {
  175. isClick: false,
  176. applyObj: {
  177. cmpCode: '',
  178. brand: '',
  179. unitPrice: '',
  180. currency: 'RMB',
  181. prodName: '',
  182. spec: '',
  183. encapsulation: '',
  184. produceDate: '',
  185. amount: '',
  186. deadline: ''
  187. },
  188. validObj: {
  189. unitPrice: true,
  190. amount: true,
  191. deadline: true
  192. },
  193. pickerOptions: {
  194. disabledDate (time) {
  195. // 大于等于今天 小于三个月后
  196. return time.getTime() < Date.now() - 1000 * 60 * 60 * 24 || time.getTime() > Date.now() + 1000 * 60 * 60 * 24 * 30 * 3
  197. }
  198. },
  199. hasDialog: false,
  200. hasClick: false,
  201. searchCode: '',
  202. pageParams: {
  203. count: 20,
  204. page: 1
  205. }
  206. }
  207. },
  208. components: {
  209. Page
  210. },
  211. computed: {
  212. list () {
  213. return this.$store.state.supplier.material.material.data
  214. },
  215. enUser () {
  216. return this.$store.state.supplier.material.enUser.data
  217. },
  218. storeInfo () {
  219. return this.$store.state.shop.storeInfo.store.data
  220. },
  221. user () {
  222. return this.$store.state.option.user
  223. }
  224. },
  225. methods: {
  226. // 格式化字符串长度
  227. spliceString (str, length) {
  228. return str && str.length ? this.baseUtils.spliceStr(str, length) : '暂无信息'
  229. },
  230. // 跳转到器件详情页面
  231. jumpDetail (id) {
  232. if (!this.hasClick) {
  233. this.$router.push(this.$route.path + '/' + id)
  234. }
  235. },
  236. // 获取分页数据
  237. handleCurrentChange (type) {
  238. this.pageParams.page = type
  239. this.$store.dispatch('supplier/loadMaterialList', {page: type, size: this.pageParams.count, vendUU: this.$route.params.uuid, keyword: this.searchCode})
  240. },
  241. // 根据搜索信息获取数据
  242. goodsSearch (type) {
  243. this.pageParams.page = 1
  244. this.$store.dispatch('supplier/loadMaterialList', {
  245. page: this.pageParams.page,
  246. size: this.pageParams.count,
  247. vendUU: this.$route.params.uuid,
  248. keyword: type
  249. })
  250. },
  251. // 弹出询价界面
  252. immediatelyClick (type) {
  253. if (!this.user.logged) {
  254. this.$router.push('/auth/login?returnUrl=' + window.location.href)
  255. } else {
  256. this.hasDialog = true
  257. this.applyObj.cmpCode = type.cmpCode
  258. this.applyObj.brand = (type.standard === 1 ? type.pbranden : type.brand)
  259. this.applyObj.spec = type.spec
  260. this.applyObj.prodName = type.kind ? type.kind : (type.prodName ? type.prodName : '-')
  261. }
  262. },
  263. // 时间格式化
  264. setDeadLineValid: function () {
  265. this.applyObj.deadline = this.baseUtils.formatDate(this.applyObj.deadline, 'yyyy-MM-dd hh:mm:ss')
  266. this.validObj.deadline = true
  267. },
  268. // 检查单价预算
  269. checkUnitPrice () {
  270. this.validObj.unitPrice = this.applyObj.unitPrice === '' ? true : this.applyObj.unitPrice > 0 && this.applyObj.unitPrice < 100000000
  271. if (!this.validObj.unitPrice && this.applyObj.unitPrice <= 0) {
  272. this.$message.error('单价必须是大于0的数字')
  273. }
  274. return this.validObj.unitPrice
  275. },
  276. // 检查采购数量
  277. checkAmount () {
  278. this.validObj.amount = this.applyObj.amount === '' ? true : this.applyObj.amount > 0 && this.applyObj.amount < 1000000000
  279. return this.validObj.amount
  280. },
  281. // 检查时间是否有输入
  282. checkDeadline () {
  283. this.validObj.deadline = Boolean(this.applyObj.deadline)
  284. return this.validObj.deadline
  285. },
  286. // 检查各个字段输入正常数据
  287. checkAll () {
  288. return this.checkDeadline() && this.checkUnitPrice() && this.checkAmount()
  289. },
  290. emptyForm () {
  291. for (let attr in this.applyObj) {
  292. this.applyObj[attr] = attr === 'currency' ? 'RMB' : ''
  293. }
  294. },
  295. // 请求询价信息
  296. goPublish () {
  297. let _this = this
  298. this.isClick = true
  299. setTimeout(function () {
  300. _this.isClick = false
  301. }, 1000)
  302. if (this.checkAll()) {
  303. let inquiry = {}
  304. let inquiryItem = {}
  305. if (this.user.data.enterprise) {
  306. inquiry.enUU = this.user.data.enterprise.uu
  307. }
  308. let date = new Date()
  309. let currency = this.applyObj.unitPrice ? this.applyObj.currency : null
  310. inquiry.recorderUU = this.user.data.userUU
  311. inquiry.code = 'MALL' + date.getTime()
  312. inquiry.date = date
  313. inquiry.recorder = this.user.data.userName
  314. inquiry.endDate = this.applyObj.deadline
  315. inquiry.sourceapp = 'MALL'
  316. inquiry.amount = 1
  317. inquiryItem.userUU = this.user.data.userUU
  318. inquiryItem.source = 'MALL'
  319. inquiryItem.userName = this.user.data.userName
  320. inquiryItem.userTel = this.user.data.userTel
  321. inquiryItem.needquantity = this.applyObj.amount
  322. inquiryItem.inbrand = this.applyObj.brand
  323. inquiryItem.currency = currency
  324. inquiryItem.cmpCode = this.applyObj.cmpCode.toUpperCase()
  325. inquiryItem.unitPrice = this.applyObj.unitPrice
  326. inquiryItem.produceDate = this.applyObj.produceDate
  327. inquiryItem.date = date
  328. inquiryItem.endDate = this.applyObj.deadline
  329. inquiryItem.encapsulation = this.applyObj.encapsulation
  330. inquiryItem.spec = this.applyObj.spec
  331. inquiryItem.prodTitle = this.applyObj.prodName
  332. let inquiryItems = []
  333. inquiryItems.push(inquiryItem)
  334. inquiry.inquiryItems = inquiryItems
  335. inquiry.currency = this.applyObj.unitPrice ? this.applyObj.currency : null
  336. this.$http.post('/inquiry/buyer/save', inquiry)
  337. .then(res => {
  338. this.$message.success('发布成功')
  339. this.hasDialog = false
  340. this.emptyForm()
  341. }, error => {
  342. console.log(error)
  343. this.$message.error('发布失败')
  344. })
  345. } else {
  346. if (!this.validObj.deadline) {
  347. this.$message.error('截止日期不能为空')
  348. } else if (!this.validObj.amount) {
  349. this.$message.error('请输入正确的数值')
  350. }
  351. }
  352. }
  353. }
  354. }
  355. </script>
  356. <style type="text/scss" lang="scss">
  357. .resource_info{
  358. background: #ecf1f1;
  359. .el-dialog{
  360. width: 680px!important;
  361. .el-dialog__header{
  362. background: #4290f7;
  363. line-height: 40px;
  364. padding: 0 20px 0;
  365. .el-dialog__title{
  366. color:#fff;
  367. }
  368. .el-dialog__headerbtn:hover .el-dialog__close, .el-dialog__headerbtn:focus .el-dialog__close{
  369. color:#fff;
  370. }
  371. }
  372. .el-dialog__body{
  373. padding: 10px 20px;
  374. }
  375. .el-dialog__footer{
  376. text-align: center;
  377. button{
  378. display:inline-block;
  379. background: #3c7cf5;
  380. color:#fff;
  381. font-size: 14px;
  382. line-height: 30px;
  383. height:30px;
  384. padding:0 10px;
  385. box-shadow: none;
  386. border: 0;
  387. border-radius:5px;
  388. }
  389. }
  390. }
  391. .form_dialog{
  392. .el-date-editor--date{
  393. width: 230px;
  394. &.error {
  395. input {
  396. border: 1px solid #f4645f !important;
  397. }
  398. }
  399. }
  400. ul{
  401. li{
  402. width:50%;
  403. font-size: 14px;
  404. color:#666;
  405. vertical-align: top;
  406. margin-bottom:15px;
  407. &.form-item {
  408. position: relative;
  409. p{
  410. margin:0;
  411. margin-left:80px;
  412. word-break: break-all;
  413. word-wrap: break-word;
  414. }
  415. span {
  416. float:left;
  417. width: 112px;
  418. text-align: right;
  419. display: inline-block;
  420. color:#3c7cf5;
  421. i {
  422. position: relative;
  423. top: 2px;
  424. right: 5px;
  425. color: #e41515;
  426. }
  427. }
  428. ul {
  429. line-height: normal;
  430. position: absolute;
  431. top: 19px;
  432. left: 79px;
  433. background: #fff;
  434. border: 1px solid #b5b5b5;
  435. z-index: 1;
  436. max-height: 120px;
  437. overflow-y: auto;
  438. overflow-x: hidden;
  439. border-radius: 3px;
  440. width: 114px;
  441. font-size: 12px;
  442. li {
  443. height: 24px;
  444. line-height: 24px;
  445. cursor: pointer;
  446. overflow: hidden;
  447. text-overflow: ellipsis;
  448. white-space: nowrap;
  449. padding: 0 5px;
  450. &:hover {
  451. background: #ddd;
  452. }
  453. }
  454. }
  455. select {
  456. width: 40px;
  457. position: absolute;
  458. height: 20px;
  459. background: url('/images/applyPurchase/select.png')no-repeat right;
  460. background-position-x: 23px;
  461. padding: 0 0 0 7px;
  462. border-radius: 0;
  463. & + input {
  464. padding-left: 45px;
  465. }
  466. }
  467. .el-input {
  468. width: 198px;
  469. }
  470. input {
  471. font-size: 14px;
  472. width: 198px;
  473. height: 20px;
  474. line-height: 20px;
  475. border-radius: 2px;
  476. padding: 0 3px;
  477. box-shadow: none;
  478. -webkit-box-shadow: none;
  479. -moz-box-shadow: none;
  480. &.error {
  481. border-color: #f4645f!important;
  482. }
  483. }
  484. }
  485. }
  486. }
  487. }
  488. .crumbs{
  489. background: #ecf1f1;
  490. .menu-com{
  491. margin: 0;
  492. .menu-title{
  493. line-height: 40px;
  494. font-size: 14px;
  495. padding-left: 0;
  496. margin:0;
  497. a{
  498. color: #5078cb;
  499. font-size: 14px;
  500. }
  501. }
  502. }
  503. }
  504. .user_info{
  505. margin-bottom:5px;
  506. .user_title{
  507. display:inline-block;
  508. position:relative;
  509. padding-bottom:13px;
  510. margin-right:330px;
  511. &:hover{
  512. .user_mes{
  513. display:block;
  514. }
  515. }
  516. .user_name{
  517. span{
  518. font-size: 20px;
  519. color:#666;
  520. font-weight: bold;
  521. margin-right:10px;
  522. }
  523. a{
  524. display:inline-block;
  525. padding:0 10px;
  526. border-radius:3px;
  527. font-size: 12px;
  528. height:24px;
  529. line-height: 24px;
  530. color:#fff;
  531. background: #ffa200;
  532. }
  533. }
  534. .user_mes{
  535. display:none;
  536. position:absolute;
  537. top:100%;
  538. left:0;
  539. z-index: 200;
  540. height:10px;
  541. &:before{
  542. content: '';
  543. display:block;
  544. position:absolute;
  545. bottom:5px;
  546. left:20px;
  547. z-index: 100;
  548. border: 5px solid rgba(0,0,0,.7);
  549. -webkit-transform: rotate(45deg);
  550. -moz-transform: rotate(45deg);
  551. -o-transform:rotate(45deg);
  552. -ms-transform: rotate(45deg);
  553. transform:rotate(45deg);
  554. }
  555. .mes-list{
  556. padding:10px 10px;
  557. background: rgba(0,0,0,.7);
  558. color:#fff;
  559. p{
  560. max-width:1183px;
  561. min-width:118px;
  562. margin:0;
  563. line-height: 20px;
  564. font-size: 12px;
  565. color:#fff;
  566. overflow: hidden;
  567. white-space: nowrap;
  568. span{
  569. margin: 0 5px;
  570. .supplier_icon1{
  571. display:inline-block;
  572. position: relative;
  573. top: 5px;
  574. width:20px;
  575. height:18px;
  576. background: url(/images/supplier/icon/supplier_icon.png)no-repeat 0 0;
  577. }
  578. .supplier_icon2{
  579. display:inline-block;
  580. position: relative;
  581. top: 5px;
  582. width:20px;
  583. height:18px;
  584. background: url(/images/supplier/icon/supplier_icon.png)no-repeat -20px 0;
  585. }
  586. .supplier_icon3{
  587. display:inline-block;
  588. position: relative;
  589. top: 5px;
  590. width:20px;
  591. height:18px;
  592. background: url(/images/supplier/icon/supplier_icon.png)no-repeat -40px 0;
  593. }
  594. .supplier_icon4{
  595. display:inline-block;
  596. position: relative;
  597. top: 5px;
  598. height:18px;
  599. width:22px;
  600. background: url(/images/supplier/icon/supplier_icon.png)no-repeat -60px 0;
  601. }
  602. .supplier_icon5{
  603. display:inline-block;
  604. position: relative;
  605. top: 5px;
  606. width:20px;
  607. height:18px;
  608. background: url(/images/supplier/icon/supplier_icon.png)no-repeat -85px 0;
  609. }
  610. }
  611. }
  612. }
  613. }
  614. }
  615. .search{
  616. width:310px;
  617. margin:0;
  618. float:right;
  619. .btn{
  620. background: #3c7cf5;
  621. color:#fff;
  622. }
  623. }
  624. }
  625. .info_list{
  626. padding-bottom:200px;
  627. .empty{
  628. background: #ffffff;
  629. text-align: center;
  630. padding: 80px 0;
  631. img{
  632. vertical-align: top;
  633. margin-right:15px;
  634. }
  635. .info{
  636. display: inline-block;
  637. padding-top:10px;
  638. }
  639. }
  640. table {
  641. table-layout: fixed;
  642. thead{
  643. tr{
  644. line-height: 32px;
  645. vertical-align: middle;
  646. th{
  647. font-size: 14px;
  648. color:#fff;
  649. text-align: center;
  650. background: #3975f4;
  651. span{
  652. display:inline-block;
  653. width:33%;
  654. }
  655. }
  656. }
  657. }
  658. tbody{
  659. tr{
  660. border:1px solid #dadada;
  661. &:nth-child(odd){
  662. background: #fff;
  663. }
  664. &:nth-child(even){
  665. background: #f8f8f8;
  666. }
  667. &:hover{
  668. cursor:pointer;
  669. background: #f8fafe;
  670. td{
  671. &:first-child{
  672. border-left:1px solid #3975f4;
  673. }
  674. &:last-child{
  675. border-right:1px solid #3975f4;
  676. }
  677. border-top:1px solid #3975f4;
  678. border-bottom:1px solid #3975f4;
  679. }
  680. }
  681. td{
  682. vertical-align: middle;
  683. margin:0 auto;
  684. padding:10px 0;
  685. &:first-child, &:last-child{
  686. color:#ed791c;
  687. text-align: center;
  688. }
  689. a{
  690. display:inline-block;
  691. padding:0 10px;
  692. margin:0 auto;
  693. line-height: 24px;
  694. border-radius:3px;
  695. height:24px;
  696. font-size: 12px;
  697. color:#fff;
  698. background: #3c7cf5;
  699. text-align: center;
  700. }
  701. ul{
  702. margin-left:5px;
  703. }
  704. .item{
  705. font-size: 12px;
  706. line-height: 18px;
  707. padding: 10px 0;
  708. vertical-align: top;
  709. width:33%;
  710. span{
  711. display: inline-block;
  712. width: 96px;
  713. text-align: right;
  714. margin-right: 10px;
  715. color: #3c7cf5;
  716. }
  717. p{
  718. display:block;
  719. width:210px;
  720. margin-left:100px;
  721. margin-bottom:0;
  722. color:#333;
  723. word-break: break-all;
  724. word-wrap:break-word;
  725. }
  726. }
  727. }
  728. }
  729. }
  730. }
  731. }
  732. }
  733. </style>