160 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			160 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Vue
		
	
	
	
	
	
<template>
 | 
						|
  <div class="cont">
 | 
						|
    <div class="title">
 | 
						|
      <div>上课人员</div>
 | 
						|
    
 | 
						|
    </div>
 | 
						|
    <div class="info">
 | 
						|
      <div class="item">
 | 
						|
        <div style="display:flex">
 | 
						|
          <div class="stuinfo">
 | 
						|
            <div>andy</div>
 | 
						|
          </div>
 | 
						|
        </div>
 | 
						|
 | 
						|
        <div class="icons">
 | 
						|
            <img src="@/static/images/camera.png" @click="sendmasg" alt="" class="icon">
 | 
						|
            <img src="@/static/images/vol.png" alt="" class="icon">
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
 | 
						|
       <div class="item">
 | 
						|
        <div style="display:flex">
 | 
						|
          <div class="stuinfo">
 | 
						|
            <div>andy</div>
 | 
						|
          </div>
 | 
						|
        </div>
 | 
						|
 | 
						|
        <div class="icons">
 | 
						|
            <img src="@/static/images/camera.png" alt="" class="icon">
 | 
						|
            <img src="@/static/images/vol.png" alt="" class="icon">
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
 | 
						|
       <div class="item">
 | 
						|
        <div style="display:flex">
 | 
						|
          <div class="stuinfo">
 | 
						|
            <div>andy</div>
 | 
						|
          </div>
 | 
						|
        </div>
 | 
						|
         <div class="icons">
 | 
						|
            <img src="@/static/images/camera.png" alt="" class="icon">
 | 
						|
            <img src="@/static/images/vol.png" alt="" class="icon">
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
 | 
						|
       <div class="item">
 | 
						|
        <div style="display:flex">
 | 
						|
          <div class="stuinfo">
 | 
						|
            <div>andy</div>
 | 
						|
          </div>
 | 
						|
        </div>
 | 
						|
 | 
						|
         <div class="icons">
 | 
						|
            <img src="@/static/images/camera.png" alt="" class="icon">
 | 
						|
            <img src="@/static/images/vol.png" alt="" class="icon">
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
    </div>
 | 
						|
  </div>
 | 
						|
</template>
 | 
						|
<style lang="scss" scoped>
 | 
						|
.cont {
 | 
						|
  width: 316px;
 | 
						|
  height: 630px;
 | 
						|
  background-color: #fff;
 | 
						|
  border-radius: 17px;
 | 
						|
  padding: 0 28px;
 | 
						|
  position: relative;
 | 
						|
  overflow: auto;
 | 
						|
  .title {
 | 
						|
    padding: 23px 0 11px 0;
 | 
						|
    font-size: 13px;
 | 
						|
    color: #111;
 | 
						|
    line-height: 1;
 | 
						|
    border-bottom: 1px solid #eee;
 | 
						|
    display: flex;
 | 
						|
    justify-content: space-between;
 | 
						|
    .more {
 | 
						|
      color: #999999;
 | 
						|
      font-size: 11px;
 | 
						|
    }
 | 
						|
  }
 | 
						|
  .info {
 | 
						|
    .item {
 | 
						|
      display: flex;
 | 
						|
      align-content: center;
 | 
						|
      justify-content: space-between;
 | 
						|
    //   margin-top: 23px;
 | 
						|
    height: 80px;
 | 
						|
    line-height: 80px;
 | 
						|
      font-size: 10px;
 | 
						|
      border-bottom: 1px solid #EEEEEE;
 | 
						|
      .icons{
 | 
						|
        // width: 61px;
 | 
						|
        height: 23px;
 | 
						|
        .icon{
 | 
						|
          width: 25px;
 | 
						|
          height: 23px;
 | 
						|
          margin-right: 6px;
 | 
						|
        }
 | 
						|
      }
 | 
						|
      .stuinfo {
 | 
						|
        margin: auto 0;
 | 
						|
        margin-left: 11px;
 | 
						|
        color: #111111;
 | 
						|
        .lessonname {
 | 
						|
          color: #666666;
 | 
						|
        }
 | 
						|
      }
 | 
						|
      .takehour {
 | 
						|
        color: #08ae98;
 | 
						|
        font-size: 11px;
 | 
						|
        margin: auto 0;
 | 
						|
        text-align: center;
 | 
						|
      }
 | 
						|
      > div>img {
 | 
						|
        width: 57px;
 | 
						|
        height: 57px;
 | 
						|
        border-radius: 50%;
 | 
						|
      }
 | 
						|
    }
 | 
						|
  }
 | 
						|
  .button {
 | 
						|
    position: absolute;
 | 
						|
    width: 260px;
 | 
						|
    bottom: 28px;
 | 
						|
    display: flex;
 | 
						|
    justify-content: space-between;
 | 
						|
    > div {
 | 
						|
      width: 114px;
 | 
						|
      height: 23px;
 | 
						|
      border-radius: 3px;
 | 
						|
      font-size: 10px;
 | 
						|
      color: #fff;
 | 
						|
      line-height: 23px;
 | 
						|
      text-align: center;
 | 
						|
    }
 | 
						|
    .modify {
 | 
						|
      background-color: #08ae98;
 | 
						|
    }
 | 
						|
    .del {
 | 
						|
      background-color: #d12c2e;
 | 
						|
    }
 | 
						|
  }
 | 
						|
}
 | 
						|
</style>
 | 
						|
<script lang="ts">
 | 
						|
import { defineComponent } from "vue";
 | 
						|
 | 
						|
export default defineComponent({
 | 
						|
  setup(prop,context){
 | 
						|
    function sendmasg(){
 | 
						|
      context.emit("sentext")
 | 
						|
    }
 | 
						|
    return {
 | 
						|
      sendmasg
 | 
						|
    }
 | 
						|
  }
 | 
						|
});
 | 
						|
</script> |