<template>
  <div id="style">
    <el-row>
      <el-col :span="24" class="main">
        <el-col :span="24">
          <el-col :span="4">
            <p>&nbsp;</p>
          </el-col>
          <el-col :span="16" style="position: relative;">
            <p class="text">
              做说游戏自言自语中和你摸婆婆二二磨破Toronto破热热热特服富二嘟嘟嘟读的特特特肚饿嘟嘟嘟肚饿的Tel读的咳咳的特特特fuel额度二二嘚瑟了特特复读的特特特肚饿
            </p>
            <span class="jian"></span>
          </el-col>
          <el-col :span="4" class="right-image">
            <el-image style="width:50px;height:50px;" :src="url"></el-image>
          </el-col>
        </el-col>
        <el-col :span="24">
          <el-col :span="4">
            <p>&nbsp;</p>
          </el-col>
          <el-col :span="16" style="position: relative;">
            <p class="text">
              做说游戏自言自语中和你摸婆婆二二磨破Toronto破热热热特服富二嘟嘟嘟读的特特特肚饿嘟嘟嘟肚饿的Tel读的咳咳的特特特fuel额度二二嘚瑟了特特复读的特特特肚饿
            </p>
            <span class="jian"></span>
          </el-col>
          <el-col :span="4" class="right-image">
            <el-image style="width:50px;height:50px;" :src="url"></el-image>
          </el-col>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'style',
  props: {},
  components: {},
  data: () => ({
    url: require('@/assets/master/logo.jpg'),
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.main {
  height: auto;
  background: #ccc;
}
.bubble {
  position: relative;
  background-color: #ffffff;
  min-height: 20px;
  line-height: 18px;
  color: #000;
  text-align: left;
  border-radius: 10px;
  font-family: sans-serif;
  padding: 10px;
}

.bubble:after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid;
}
.bubble-left:after {
  border-right-color: #fff;
  top: 50%;
  right: 100%;
  margin-top: -36px;
  color: #ccc;
}
// 右侧
.text {
  margin: 0;
  min-height: 20px;
  text-align: left;
  background: green;
  padding: 10px;
  border-radius: 5px;
}
.jian {
  display: inline-block;
  position: absolute;
  top: 15px;
  right: -20px;
  width: 0px;
  height: 0;
  border-width: 10px;
  border-style: solid;
  border-color: #ccc #ccc #ccc #008000;
}
.right-image {
  text-align: right;
}
</style>
