
<template>
  <div class="verificationMember usersList">
    <div class="head-title">
        会员等级
        <el-button @click="goUrl" style="float:right;margin-top: -5px;" size="small" type="primary">添加会员等级</el-button>
    </div>
    <div class="content">
        <div>
            <div class="searchInput">
                <el-input style="display:inline-block;width:225px;height:30px"
                placeholder="请输入会员名称搜索"
                v-model="value"
                size="small"
                clearable>
                </el-input>
                <span class="el-icon-search" style="color:#979dad;font-size:14px;position:relative;top:1px"></span>
            </div>
        </div>
        <el-table
            :data="tableData"
            border
            style="width: 100%;margin:20px 0">
            <el-table-column
            prop="ID"
            label="ID">
            </el-table-column>
            <el-table-column
            prop="address"
            width="280"
            label="会员等级">
                <template slot-scope="scope">
                    <div class="app-image" style="background-image: url('https://wx.qlogo.cn/mmopen/vi_32/HO8Q9ibH7UtSFzHs67f0MH6VWjftiboELYLBya5OxpZkHDlicLMq39gxRHS4NhOG1AUepQ13JdUyrT7eM52u6hAsg/132');
                    background-size: cover; background-position: center center; width: 50px; height: 50px; border-radius: 0%; float: left; margin-right: 8px;"></div> 
                    <div flex="dir:left cross:center">易飞易&港中旅小李15351281772</div> 
                    <img style="width:24px;height:24px" src="../../assets/img/userman/wx.png" alt="" class="platform-img">
                    <button type="button" class="el-button el-button--success" style="float: right; padding: 5px !important;">
                        <span>显示OpenId</span>
                    </button>
                    <div>ow_7I5dE_g9Fe1BuBPKdk8RNtEj0</div> 
                </template>  
            </el-table-column>
            <el-table-column
            prop="name"
            label="会员名称">
            </el-table-column>
            <el-table-column
            prop="name"
            label="折扣">
            </el-table-column>
            <el-table-column
            prop="name"
            label="购买价格(元)">
                <template slot-scope="scope">
                    <span class="blue">0</span>
                </template>
            </el-table-column>
            <el-table-column
            prop="name"
            label="累计金额升级条件(元)">
                <template slot-scope="scope">
                    <span class="blue">0</span>
                </template>
            </el-table-column>
            <el-table-column
            prop="name"
            label="启用状态">
                <template slot-scope="scope">
                    <span class="blue">0</span>
                </template>
            </el-table-column>
            <el-table-column
            prop="address"
            width="200"
            label="操作">
            <template slot-scope="scope">
                <img style="width:32px;height:32px" src="../../assets/img/userman/edit.png" alt="">
                <img style="width:32px;height:32px;margin:0 10px" src="../../assets/img/userman/integral.png" alt="">
                <img style="width:32px;height:32px" src="../../assets/img/userman/balance.png" alt="">
            </template>    
            </el-table-column>
        </el-table>
        <el-pagination style="text-align:right"
        background
        @current-change="handleCurrentChange"
        :page-size="msg.pageSize"
        layout="prev, pager, next"
        :total="total">
        </el-pagination>
    </div>
  </div>
</template>
<script>
  export default {
    data() {
      return {
        addMsg:{},
        dialogVisible:false,
        value:'',
        options:[],
        tableData:[
            {ID:'111'}
        ],
        msg:{
            pageIndex:1,
            pageSize:15,
        },
        total:0,
        rules: {
                name: [
                    { required: true, message: '新手机号', trigger: 'blur' }
                ],
            },

        
      };
    },
    created() {

    },
    methods: {
        goUrl(){
            this.$router.push({
                name: 'setMember',
                query: {
                    blank: "y"
                }
            });
        },
        handleCurrentChange(val) {
            this.msg.pageIndex = val;
            this.getList();
        },
        getList(){

        },

    },
    mounted() {
      
    }
  };

</script>
<style>
.usersList .blue{
    color:#409EFF;
    
}
.usersList .content .searchInput{
    border: 1px solid #DCDFE6;
    border-radius: 4px;
}
.usersList .content .searchInput .el-input__inner{
    border:none;outline:none;
    height: 30px;
    line-height: 30px;
}
.usersList .content .searchInput{
    line-height: normal;
    display: inline-table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    width:250px;
    margin-right: 20px;
}
.usersList .content{
    background: #fff;
    margin-top:10px;
    padding: 20px;
    box-sizing: border-box;
}

</style>
