product-detailed.vue 16.2 KB
Newer Older
786817560's avatar
786817560 committed
1
<!--
786817560's avatar
786817560 committed
2
 * @Descrip: 产品明细
786817560's avatar
786817560 committed
3 4
 * @Author: your name
 * @Date: 2019-10-15 14:30:00
786817560's avatar
786817560 committed
5
 * @LastEditTime: 2019-12-16 18:33:42
786817560's avatar
786817560 committed
6 7 8
 * @LastEditors: Please set LastEditors
   -->
<template>
786817560's avatar
786817560 committed
9
  <h-view
786817560's avatar
786817560 committed
10
    id="detailed" class="public-style"
786817560's avatar
786817560 committed
11
    title="产品查询">
786817560's avatar
786817560 committed
12 13
    <h-header :proportion="[5,1,1]" class="bar-custom">
      <div slot="left" class="h-header-btn">
786817560's avatar
786817560 committed
14
        <img src="@/assets/userBind/arrow.png" @click="$routeGo()">
786817560's avatar
786817560 committed
15 16 17
        <span>产品明细</span>
      </div>
    </h-header>
786817560's avatar
786817560 committed
18
    <div v-if="slide" class="tab-style">
786817560's avatar
786817560 committed
19
      <div :class="{'done':num === 0,'undone':num !== 0}" @click="tabCheck(0)"><img :src="num === 0?baseInfoImg:unBaseInfo"><span>基本信息</span></div>
786817560's avatar
786817560 committed
20 21 22
      <div :class="{'done':num === 1,'undone':num !== 1}" @click="tabCheck(1)"><img :src="num === 1?detail:unDetail"><span>商品详情</span></div>
      <div :class="{'done':num === 2,'undone':num !== 2}" @click="tabCheck(2)"><img :src="num === 2?config:unConfig"><span>产品配置</span></div>
    </div>
786817560's avatar
786817560 committed
23

786817560's avatar
786817560 committed
24
    <!-- 基本信息 -->
786817560's avatar
786817560 committed
25 26 27 28 29 30 31 32 33 34 35 36 37
    <!-- <h-content v-swipeup="(e)=>vueTouch('上滑',e)" v-swipedown="(e)=>vueTouch('下滑',e)" class="hcontent"> -->
    <scroll
      v-swipeup="(e)=>vueTouch('上滑',e)" v-swipedown="(e)=>vueTouch('下滑',e)" ref="scrolls" :listenScroll="true"
      class="scrolls" @scroll="startScroll">
      <!-- 基本信息 -->
      <div id="baseInfo" class="base">
        <swipe :interval="5000" class="hls-swipe">
          <swipe-item v-for="(item,index) in picLists" :key="index" class="hls-swipe">
            <img :src="item.url" alt="">
          </swipe-item>
        </swipe>
        <div class="base-content">
          <div class="top-code">
linxin's avatar
linxin committed
38
            <div>产品型号 &nbsp;{{ baseInfo.product_code }}</div>
786817560's avatar
786817560 committed
39 40 41 42
            <div>{{ baseInfo.division_n }}</div>
          </div>
          <div class="pro-name">{{ baseInfo.product_name }}</div>
          <div class="pro-price">
linxin's avatar
linxin committed
43
            <p>参考价 <span class="prices">{{ baseInfo.plan_price | currency }}</span></p>
786817560's avatar
786817560 committed
44 45 46 47 48 49 50 51 52 53
            <p class="dates">价格有效期 &nbsp;{{ baseInfo.price_date_to | dateFormat }}</p>
          </div>
          <div class="agent">
            <div class="items">
              <img src="@/assets/productQuery/agent.png" alt="">
              <p>{{ baseInfo.agent_bp_name }}</p>
            </div>
            <div class="items">
              <img src="@/assets/productQuery/address.png" alt="">
              <p>{{ baseInfo.business_address }} .{{ baseInfo.province_name }}</p>
786817560's avatar
786817560 committed
54
            </div>
786817560's avatar
786817560 committed
55 56 57
            <div class="items">
              <img src="@/assets/productQuery/call.png" alt="">
              <p>{{ baseInfo.phone }}</p>
786817560's avatar
786817560 committed
58
            </div>
786817560's avatar
786817560 committed
59 60 61
            <div class="items">
              <img src="@/assets/productQuery/house.png" alt="">
              <p>{{ baseInfo.factory_bp_name }}</p>
786817560's avatar
786817560 committed
62
            </div>
786817560's avatar
786817560 committed
63 64
          </div>
        </div>
786817560's avatar
786817560 committed
65
      </div>
786817560's avatar
786817560 committed
66

786817560's avatar
786817560 committed
67 68 69
      <!-- 商品详情 -->
      <div id="prodetail" ref="detail" class="pro-details prodetail">
        <div class="equipment-list">商品详情</div>
786817560's avatar
786817560 committed
70

786817560's avatar
786817560 committed
71 72
        <div v-for="item in picLists" :key="item.product_attachment_id" class="proPic">
          <img :src="item.url" alt="">
786817560's avatar
786817560 committed
73
        </div>
786817560's avatar
786817560 committed
74 75 76 77 78 79 80 81 82

      </div>
      <!-- 产品配置 -->
      <div id="procfg" class="pro-details procnf">
        <div class="equipment-list">产品配置</div>
        <div class="table-wrap" v-html="confgInfo.product_properties"/>
      </div>
    </scroll>
    <!-- </h-content> -->
786817560's avatar
786817560 committed
83
    <bottom-tab class="footer-button">
786817560's avatar
786817560 committed
84 85 86
      <tab-button
        :class="{bgcolor: bgc_flag}" class="butt"
        @click.native="goTrial(baseInfo.plan_price,baseInfo.price_date_to)"><img
李晓兵's avatar
李晓兵 committed
87 88
        src="@/assets/productQuery/trial.png" alt=""> 试算
      </tab-button>
786817560's avatar
786817560 committed
89
      <tab-button class="collect butt" @click.native="collect"><img :src="src" alt="">收藏</tab-button>
786817560's avatar
786817560 committed
90 91
    </bottom-tab>
    <div v-if="collect_flag" class="show-collect">
786817560's avatar
786817560 committed
92
      <img src="@/assets/productQuery/collectImg.png" alt="">
786817560's avatar
786817560 committed
93
      <p>{{ show_text }}</p>
786817560's avatar
786817560 committed
94
    </div>
786817560's avatar
786817560 committed
95 96 97 98
  </h-view>
</template>

<script>
786817560's avatar
786817560 committed
99
import Tab from './tab'
786817560's avatar
786817560 committed
100
import baseInfoImg from '@/assets/productQuery/baseInfo.png'
786817560's avatar
786817560 committed
101 102 103 104 105
import unBaseInfo from '@/assets/productQuery/unBaseInfo.png'
import detail from '@/assets/productQuery/detail.png'
import unDetail from '@/assets/productQuery/unDetail.png'
import config from '@/assets/productQuery/config.png'
import unConfig from '@/assets/productQuery/unConfig.png'
786817560's avatar
786817560 committed
106 107 108 109 110 111 112
export default {
  name: 'ProDetailed',
  components: {
    Tab,
  },
  data () {
    return {
786817560's avatar
786817560 committed
113
      num: 0,
786817560's avatar
786817560 committed
114 115
      picLists: [], // 图片列表
      baseInfo: {}, // 基本信息
786817560's avatar
786817560 committed
116
      show_text: '',
786817560's avatar
786817560 committed
117 118 119
      confgInfo: {}, // 配置信息
      detailInfo: {}, // 详情
      bgc_flag: true, // 背景图切换
786817560's avatar
786817560 committed
120
      collect_flag: false,
786817560's avatar
786817560 committed
121
      slide: false,
786817560's avatar
786817560 committed
122
      baseInfoImg: baseInfoImg,
786817560's avatar
786817560 committed
123 124 125 126 127 128
      unBaseInfo: unBaseInfo,
      detail: detail,
      unDetail: unDetail,
      config: config,
      unConfig: unConfig,
      height: 0,
Hello's avatar
Hello committed
129
      src: '',
786817560's avatar
786817560 committed
130 131 132
    }
  },
  computed: {},
786817560's avatar
786817560 committed
133 134 135
  watch: {

  },
786817560's avatar
786817560 committed
136
  beforeRouteEnter (to, from, next) {
786817560's avatar
786817560 committed
137
    // debugger
邹骏's avatar
邹骏 committed
138
    if (from.name === 'ProductList' || from.name === 'MyProductList' || from.name === 'HomePage' || from.name === 'EntityList') {
786817560's avatar
786817560 committed
139
      next(vm => {
李晓兵's avatar
李晓兵 committed
140 141 142 143
        vm.baseInfo = {}
        vm.confgInfo = {}
        vm.detailInfo = {}
        vm.picLists = []
786817560's avatar
786817560 committed
144
        vm.num = 0
786817560's avatar
786817560 committed
145
        vm.slide = false
786817560's avatar
786817560 committed
146
        vm.product_id = vm.$route.params.product_id
786817560's avatar
786817560 committed
147
        vm.bp_id = vm.$route.params.bp_id
786817560's avatar
786817560 committed
148 149 150 151 152 153 154 155
        vm.baseMsg()
        vm.detailMsg()
        vm.confgMsg()
      })
    }
    next()
  },
  created () {
李晓兵's avatar
李晓兵 committed
156

786817560's avatar
786817560 committed
157 158
  },
  activated () {
linxin's avatar
linxin committed
159
    if (window.localStorage.getItem('collect_status') === 'Y') {
786817560's avatar
786817560 committed
160 161 162 163 164
      this.src = require('@/assets/productQuery/coll-success.png')
    } else {
      this.src = require('@/assets/productQuery/collect.png')
    }
  },
Hello's avatar
Hello committed
165
  methods: {
邹骏's avatar
邹骏 committed
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
    startScroll () {
      this.slide = true
    },
    // tab切换
    tabCheck (num) {
      let scrollContent = document.getElementsByClassName('scrollContent')[0]
      if (num === 0) {
        this.num = 0
        this.$refs.scrolls.scrollToElement(document.getElementsByClassName('base')[0])
      } else if (num === 1) {
        this.num = 1
        this.$refs.scrolls.scrollToElement(document.getElementsByClassName('prodetail')[0])
      } else {
        this.num = 2
        this.$refs.scrolls.scrollToElement(document.getElementsByClassName('procnf')[0])
      }
    },
    vueTouch: function (s, e) {
      let clientHeight = document.body.clientHeight // 屏幕可视高度
      let procnfGather = document.getElementsByClassName('procnf')[0].getBoundingClientRect() // 配置信息元素集合
      let detailGather = document.getElementsByClassName('prodetail')[0].getBoundingClientRect() // 详情信息元素集合
      let baseGather = document.getElementsByClassName('base')[0].getBoundingClientRect() // 基本信息元素集合
      if (clientHeight - procnfGather.top >= procnfGather.height) {
        this.num = 2
      } else if (detailGather.top <= clientHeight / 2) {
        this.num = 1
      } else if (-(baseGather.top) <= baseGather.height / 2 || detailGather.top > clientHeight / 2) {
        this.num = 0
      }
    },
    // 收藏
    collect () {
      if (window.localStorage.getItem('collect_status') === 'Y') {
        let vm = this
        let url = $config.basePath + 'delete_collection'
        let param = {
          master: {
            product_id: vm.product_id,
786817560's avatar
786817560 committed
204
            user_phone: window.localStorage.user_phone,
邹骏's avatar
邹骏 committed
205 206 207
            bp_id: vm.bp_id,
          },
        }
Jennie Shi's avatar
Jennie Shi committed
208
        vm.hlsPopup.showLoading('请稍候')
邹骏's avatar
邹骏 committed
209 210 211 212 213 214 215 216 217 218 219
        vm.$post(url, param).then(function (res) {
          vm.hlsPopup.hideLoading()
          if (res.result === 'S') {
            window.localStorage.setItem('collect_status', 'N')
            vm.show_text = '取消成功'
            vm.collect_flag = true
            vm.src = require('@/assets/productQuery/collect.png')
            setTimeout(() => {
              vm.text = '收藏'
              vm.collect_flag = false
            }, 1500)
李晓兵's avatar
李晓兵 committed
220
          }
邹骏's avatar
邹骏 committed
221 222 223 224 225 226 227 228 229 230
        })
      } else {
        this.show_text = '恭喜,收藏成功!'
        this.collect_flag = true
        let vm = this
        let url = $config.basePath + 'save_collection'
        let param = {
          master: {
            product_id: vm.product_id,
            user_phone: window.localStorage.user_phone,
786817560's avatar
786817560 committed
231
            bp_id: vm.bp_id,
邹骏's avatar
邹骏 committed
232 233
          },
        }
Jennie Shi's avatar
Jennie Shi committed
234
        vm.hlsPopup.showLoading('请稍候')
邹骏's avatar
邹骏 committed
235 236 237 238 239 240 241 242 243 244 245
        vm.$post(url, param).then(function (res) {
          vm.hlsPopup.hideLoading()
          if (res.result === 'S') {
            window.localStorage.setItem('collect_status', 'Y')
            vm.src = require('@/assets/productQuery/coll-success.png')
            setTimeout(() => {
              vm.text = '取消收藏'
              vm.collect_flag = false
            }, 1500)
          } else {
            hlsPopup.showLongCenter(res.message)
李晓兵's avatar
李晓兵 committed
246
          }
邹骏's avatar
邹骏 committed
247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282
        })
      }
    },
    // 基本信息查询
    baseMsg () {
      let vm = this
      let url = $config.basePath + 'prd_product_info'
      let param = {
        product_id: vm.$route.params.product_id,
        bp_id: vm.bp_id,
        user_phone: window.localStorage.user_phone,
      }
      vm.hlsPopup.showLoading('数据加载中')
      vm.$post(url, param).then(function (res) {
        vm.hlsPopup.hideLoading()
        if (res.result === 'S') {
          vm.baseInfo = res.info
        } else {
          hlsPopup.showLongCenter(res.message)
        }
      })
    },
    // 详情查询
    detailMsg () {
      let vm = this
      let url = $config.basePath + 'prd_product_detial'
      let param = {
        product_id: vm.$route.params.product_id,
      }
      vm.hlsPopup.showLoading('数据加载中')
      vm.$post(url, param).then(function (res) {
        vm.hlsPopup.hideLoading()
        if (res.result === 'S') {
          vm.detailInfo = res.info
          res.lists.forEach(item => {
            item['url'] = process.env.filePath + 'attachment_id=' + item.product_attachment_id + '&access_token=' + window.localStorage.access_token
李晓兵's avatar
李晓兵 committed
283
          })
邹骏's avatar
邹骏 committed
284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316
          vm.picLists = res.lists
        } else {
          hlsPopup.showLongCenter(res.message)
        }
      })
    },
    // 配置查询
    confgMsg () {
      let vm = this
      let url = $config.basePath + 'prd_product_conf'
      let param = {
        bp_id: vm.bp_id,
        product_id: vm.$route.params.product_id,
      }
      vm.hlsPopup.showLoading('数据加载中')
      vm.$post(url, param).then(function (res) {
        vm.hlsPopup.hideLoading()
        if (res.result === 'S') {
          vm.confgInfo = res.info
        } else {
          hlsPopup.showLongCenter(res.message)
        }
      })
    },
    // 试算price:产品参考价,date:有效日期
    goTrial (price, date) {
      this.$router.push({
        name: 'FinancingTrial',
        params: {
          plan_price: price,
          price_date_to: date,
          division: this.baseInfo.division,
          bp_id: this.baseInfo.bp_id,
李晓兵's avatar
李晓兵 committed
317
        },
邹骏's avatar
邹骏 committed
318 319 320
      })
    },
  },
786817560's avatar
786817560 committed
321
}
786817560's avatar
786817560 committed
322
</script>
邹骏's avatar
邹骏 committed
323
<style lang='less' scoped>
李晓兵's avatar
李晓兵 committed
324
  #detailed {
786817560's avatar
786817560 committed
325 326 327
    .scrollContent {
      padding-bottom: 90px;
    }
786817560's avatar
786817560 committed
328
    .hls-swipe {
786817560's avatar
786817560 committed
329
      background: #fff;
786817560's avatar
786817560 committed
330 331 332 333
      img {
        width: 100%;
      }
    }
786817560's avatar
786817560 committed
334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381
  .tab-style{
    display:flex;
    justify-content: center;
    padding-top:12px;
    padding-bottom: 8px;
    align-items: center;
    background-color: #fff;
    box-shadow:0 2px 3px 0  rgba(220,220,221,0.50);

    div{
      position: relative;
      height: 32px;
      width: 172px;
      border-radius:16px;
      border-radius: 16px;
      font-family: PingFangSC-Semibold;
      font-size: 14px;
      letter-spacing: 0.43px;
      margin:  0 4px;
      line-height: 32px;
      display: flex;
      flex-direction: row;
      justify-content: center
    }
    .undone{
      background: rgba(220,220,221,0.26);
      color: #383F45;
    }
    .done{
      background: rgba(0,70,156,0.10);
      color: #00469C;
    }

    img{
      height: 16px;
      width: 16px;
      // display: block;
      // float: left;
       // margin: 6px 0 0 43px;
       margin-top: 8px;
       margin-right: 4px;
    }

    span{
      // position: absolute;
      left:70px;
    }
  }
786817560's avatar
786817560 committed
382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397
    .detail-pic {
      width: 100%;
    }
    .base-content {
      width: 100%;
     // height: 226px;
      background: #fff;
      padding: 10px 24px 0 24px;
      margin-bottom: 10px;
      position: relative;
      .top-code {
        display: flex;
        flex-direction: row;
        div {
          font-family: PingFangSC-Semibold;
          height: 24px;
linxin's avatar
linxin committed
398
          padding:0px 4px;
786817560's avatar
786817560 committed
399 400 401 402 403 404 405
          line-height: 24px;
          font-size: 13px;
          color: #FDB62F;
          background: rgba(253, 182, 47, 0.25);
          border-radius: 2px;
          text-align: center;
        }
linxin's avatar
linxin committed
406 407 408
        // div:nth-of-type(1) {
        //   width: 101px;
        // }
786817560's avatar
786817560 committed
409 410
        div:nth-of-type(2) {
          margin-left: 16px;
786817560's avatar
786817560 committed
411 412
         // width: 73px;
         padding: 0 4px;
786817560's avatar
786817560 committed
413
        }
786817560's avatar
786817560 committed
414
      }
786817560's avatar
786817560 committed
415
      .pro-name {
786817560's avatar
786817560 committed
416
        font-family: PingFangSC-Semibold;
786817560's avatar
786817560 committed
417 418 419 420
        font-size: 18px;
        color: #232323;
        letter-spacing: 0;
        font-weight: 600;
linxin's avatar
linxin committed
421
        margin-top: 25px;
786817560's avatar
786817560 committed
422
      }
786817560's avatar
786817560 committed
423 424 425 426
      .pro-price {
        width: 100%;
        height: 50px;
        line-height: 50px;
李晓兵's avatar
李晓兵 committed
427 428
        font-family: PingFangSC-Regular;
        font-size: 14px;
786817560's avatar
786817560 committed
429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452
        color: #4B4A4B;
        position: relative;
        border-bottom: 1px solid #f3f3f7;
        p {
          position: absolute;
          height: 50px;
          line-height: 50px;
        }
        p:nth-of-type(1) {
          left: 0;
        }
        .prices {
          font-family: Verdana-Bold;
          font-size: 18px;
          color: #1D3FFF;
          font-weight: 600
        }
        .dates {
          font-family: PingFangSC-Regular;
          font-size: 12px;
          color: rgba(74,75,74,0.60);
          position: absolute;
          right: 0;
        }
李晓兵's avatar
李晓兵 committed
453
      }
786817560's avatar
786817560 committed
454
      .agent {
李晓兵's avatar
李晓兵 committed
455 456
        font-family: PingFangSC-Regular;
        font-size: 14px;
786817560's avatar
786817560 committed
457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473
        color: #4A4B4A;
        padding-bottom: 4px;
        .items {
        //  height: 20px;
          display: flex;
          flex-direction: row;
          margin-top: 7px;
          p {
           // height: 20px;
            line-height: 20px;
            margin-left: 8px;
          }
        }
        img {
          width: 20px;
          height: 20px;
        }
李晓兵's avatar
李晓兵 committed
474
      }
786817560's avatar
786817560 committed
475
    }
786817560's avatar
786817560 committed
476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499
    .pro-details {
      margin-top: 10px;
      margin-bottom: 10px;
      background: #fff;
      .equipment-list {
        height: 40px;
        line-height: 40px;
        background-color: #fff;
        color: #00469c;
        font-size: 15px;
        margin-left: 16px;
        position: relative;
      }
      .equipment-list::before {
        content: "";
        display: block;
        width: 4px;
        height: 20px;
        background-color: #00469c;
        position: absolute;
        left: -15px;
        top: 10px;
      }
}
786817560's avatar
786817560 committed
500 501 502
.procnf {
        margin-bottom: 70px
      }
李晓兵's avatar
李晓兵 committed
503 504 505 506
    .footer-button {
      .butt {
        width: 48%;
        margin-left: 3px;
786817560's avatar
786817560 committed
507

李晓兵's avatar
李晓兵 committed
508 509
        border-radius: 4px;
      }
786817560's avatar
786817560 committed
510 511 512
      .butt:nth-of-type(2) {
        border: 1px solid #FDB62F;
      }
李晓兵's avatar
李晓兵 committed
513 514 515 516 517 518 519 520 521

      img {
        height: 19px;
        width: 19px;
        //margin-top: 2px;
        margin-right: 3px;
      }

      .collect {
786817560's avatar
786817560 committed
522
        color: #FDB62F;
李晓兵's avatar
李晓兵 committed
523 524 525 526
      }
    }

    .bgcolor {
786817560's avatar
786817560 committed
527 528
      background: @headerColor;
      border: 1px solid @headerColor;
李晓兵's avatar
李晓兵 committed
529
      border-radius: 4px;
786817560's avatar
786817560 committed
530 531
      font-family: PingFangSC-Semibold;
      color: #FFFFFF;
786817560's avatar
786817560 committed
532
    }
李晓兵's avatar
李晓兵 committed
533 534

    .show-collect {
786817560's avatar
786817560 committed
535 536
      width: 260px;
      height: 109px;
李晓兵's avatar
李晓兵 committed
537 538 539 540 541 542 543 544 545 546
      opacity: 0.7;
      background: #383F45;
      border-radius: 4px;
      position: fixed;
      top: 0px;
      left: 0px;
      right: 0px;
      bottom: 0px;
      margin: auto;
      display: flex;
786817560's avatar
786817560 committed
547
      flex-direction: column;
李晓兵's avatar
李晓兵 committed
548
      align-items: center;
786817560's avatar
786817560 committed
549
      // justify-content: center;
李晓兵's avatar
李晓兵 committed
550 551 552 553 554

      p {
        font-family: PingFangSC-Semibold;
        font-size: 16px;
        color: #FFFFFF;
786817560's avatar
786817560 committed
555 556 557
        height: 22px;
        line-height: 22px;
        margin-top: 12px;
李晓兵's avatar
李晓兵 committed
558 559 560
      }

      img {
786817560's avatar
786817560 committed
561 562 563
        width: 35px;
        height: 35px;
        margin-top: 20px;
李晓兵's avatar
李晓兵 committed
564 565 566 567 568
      }
    }

    .proPic {
      width: 100%;
786817560's avatar
786817560 committed
569
      padding: 0 24px;
李晓兵's avatar
李晓兵 committed
570
      img {
786817560's avatar
786817560 committed
571
        width: 100%
李晓兵's avatar
李晓兵 committed
572 573 574
      }
    }
    .table-wrap{
786817560's avatar
786817560 committed
575
      padding: 0 24px;
李晓兵's avatar
李晓兵 committed
576 577 578 579 580 581 582 583 584 585 586
      table {
        background-color: #fff !important;
        td{
          border:1px solid #ccc;
          text-align: center;
          vertical-align: middle;
          span{
            color:#000 !important;
          }
        }
      }
786817560's avatar
786817560 committed
587
    }
786817560's avatar
786817560 committed
588
  }
786817560's avatar
786817560 committed
589
</style>