<template>
  <div id="erweima">
    <el-row>
      <el-col :span="24">
        <el-col :span="24" class="info">
          <el-button>
            <el-image style="width:25px;height:25px;" :src="shoucang"></el-image>
          </el-button>
          <el-button type="text" @click="open">
            <el-image style="width:25px;height:25px;" :src="erweimas"></el-image>
          </el-button>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'erweima',
  props: {},
  components: {},
  data: () => ({
    erweimas: require('../../../assets/二维码.png'),
    shoucang: require('../../../assets/收藏.png'),
  }),
  created() {},
  computed: {},
  methods: {
    open() {
      this.$alert('<p>二维码</p>', '二维码分享', {
        dangerouslyUseHTMLString: true,
      });
    },
  },
};
</script>

<style lang="less" scoped>
/deep/.el-button {
  width: 60px;
  height: 60px;
  padding: 0;
  background-color: #a90d0d;
  border: none;
  margin: 6px 0;
}
/deep/.el-message-box__btns {
  text-align: center;
}
</style>
