Blame view

src/views/sfysection.vue 1.15 KB
fafdedae   liuqimichale   道闸 诱导屏
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
64
65
66
67
  <template>
    <div>
      <titlesection title="地磁"></titlesection>
      <totalsection :totalNum="totalVal"></totalsection>
      <ul class="flexfm sfy-wrap">
        <li>
          <div class="sign">
            <p>1234</p>
            <p>签到</p>
          </div>
        </li>
        <li>1</li>
      </ul>
    </div>
  </template>
  
  <script>
  import titlesection from '../components/titlesection'
  import totalsection from '../components/total'
  import { formatNum } from '../filters/filters'
  import {fetchList} from '../api/api'
  
  export default {
    name: 'sfysection',
    components: {
      titlesection,
      totalsection
    },
    data() {
      return {
        totalVal: '219734',
      }
    },
    created() {
    },
    methods: {
      getList() {
        fetchList()
        .then(res => {
          console.log(res);
  
        });
      },
    }
  }
  </script>
  
  <style lang="scss"  scoped>
    .sfy-wrap{
      display: flex;
      padding: 0 23px;
      li{
        flex: 1;
        display: flex;
        align-items:center;
        >div{
          width: 100%;
          height: 74px;
          padding-left: 87px;
          color: #fff;
        }
        .sign{
          background: url("../assets/img/sign.png") no-repeat;
        }
      }
    }
  </style>