Logo white

other / mew-iview

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • mew-iview
  • src
  • components
  • color-picker
  • recommend-colors.vue
  • update ColorPicker
    9af2f01c
    梁灏 authored
    2017-08-17 10:18:38 +0800  
    Browse Code »
recommend-colors.vue 465 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<template>
    <div>
        <template v-for="(item, index) in list">
            <span><em :style="{'background': item}"></em></span>
            <br v-if="(index + 1) % 10 === 0 && index !== 0 && (index + 1) !== list.length">
        </template>
    </div>
</template>
<script>
    export default {
        props: {
            list: Array
        },
        data () {
            return {

            };
        },
        methods: {

        }
    };
</script>