Blame view

admin-web-master/src/views/aaa/components/canvasShow/basics/live/app/index.vue 1.32 KB
3f535f30   杨鑫   '初始'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
  <template>
    <div class="live-list-page">
      <div class="title">
        <img src="../../../static/images/live/img-title.png" alt="商品推荐"/>
      </div>
      <div class="live-list">
        <LiveBox class="live-item"
                 v-for="item in roomList"
                 :key="item.roomid"
                 :liveData.sync="item"
                 @click="toLiveRoom(item)"
        />
      </div>
      <button v-show="componentContent.showMore" class="btn-more" @click="jumpGroupWorks(productData)">查看全部 <span class="icon iconfont icon-arrow-right"></span></button>
    </div>
  </template>
  
  <script>
  import {commonMixin} from '../mixin'
  import LiveBox from './item'
  export default {
    mixins: [commonMixin],
    components: {
      LiveBox
    },
    data () {
      return {
      }
    }
  }
  </script>
  
  <style lang="scss" scoped>
  .live-list-page{
    .title{
      text-align: center;
      margin-bottom: 20px;
    }
    .live-list{
      padding-left: 20px;
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      .live-item{
        margin:0 14px 14px 0;
        width: 348px;
        height: 464px;
        border-radius: 8px;
        overflow: hidden;
      }
    }
    .btn-more {
      width: 170px;
      height: 54px;
      border: 2px solid #C5AA7B;
      color: #C5AA7B;
      font-size: 24px;
      background-color: transparent;
      margin: 20px auto 0;
      display: block;
    }
  }
  </style>