|
@@ -1,6 +1,57 @@
|
|
|
<template>
|
|
|
<div id="export">
|
|
|
- <p>export</p>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24" class="main">
|
|
|
+ <el-col :span="24" class="one">
|
|
|
+ <el-col :span="24" class="top">
|
|
|
+ <p>专家培训在线模板</p>
|
|
|
+ <p>主办方:吉林省计算中心</p>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="two">
|
|
|
+ <el-col :span="12" class="left" :offset="6">
|
|
|
+ <el-col :span="24" class="top">
|
|
|
+ <span style="color:#409eff">人才视频</span>
|
|
|
+ <span>直播</span>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="down">
|
|
|
+ 视频播放框
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12" class="right" :offset="6">
|
|
|
+ <el-col :span="24" class="top">
|
|
|
+ 公共聊天
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="down">
|
|
|
+ <el-col :span="24" class="list">
|
|
|
+ <el-col :span="24" class="chatList" v-for="(item, index) in chatList" :key="index">
|
|
|
+ <el-col :span="2" class="image">
|
|
|
+ <el-image :src="touxiang" style="width:30px;height:30px"></el-image>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="22" class="other">
|
|
|
+ <el-col :span="24" class="otherone">
|
|
|
+ <span>{{ item.name }}</span>
|
|
|
+ <span>{{ item.date }}</span>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="othertwo">
|
|
|
+ <p class="remark">{{ item.content }}</p>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="chat">
|
|
|
+ <el-col :span="21" class="input">
|
|
|
+ <el-input v-model="text" placeholder="请输入聊天内容"></el-input>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3" class="btn">
|
|
|
+ <el-button type="primary" size="mini">发送</el-button>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -11,7 +62,18 @@ export default {
|
|
|
props: {},
|
|
|
components: {},
|
|
|
data: function() {
|
|
|
- return {};
|
|
|
+ return {
|
|
|
+ // 聊天列表
|
|
|
+ chatList: [
|
|
|
+ { name: '顾红伟', date: '10:00', content: '信息内容' },
|
|
|
+ { name: '顾红伟', date: '10:00', content: '信息内容' },
|
|
|
+ ],
|
|
|
+ touxiang: require('@/assets/emotion/touxiang.png'),
|
|
|
+ // 发言内容
|
|
|
+ text: '',
|
|
|
+ per: require('@/assets/personal.jpg'),
|
|
|
+ // 招聘信息
|
|
|
+ };
|
|
|
},
|
|
|
created() {},
|
|
|
methods: {},
|
|
@@ -24,4 +86,120 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
-<style lang="less" scoped></style>
|
|
|
+<style lang="less" scoped>
|
|
|
+.main {
|
|
|
+ .one {
|
|
|
+ .top {
|
|
|
+ margin: 0 0 15px 0;
|
|
|
+ text-align: center;
|
|
|
+ p:nth-child(1) {
|
|
|
+ font-size: 40px;
|
|
|
+ }
|
|
|
+ p:nth-child(2) {
|
|
|
+ font-size: 18px;
|
|
|
+ padding: 15px 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .two {
|
|
|
+ // height: 900px;
|
|
|
+ margin: 0 0 15px 0;
|
|
|
+ text-align: center;
|
|
|
+ .left {
|
|
|
+ height: 450px;
|
|
|
+ overflow: hidden;
|
|
|
+ border: 5px solid #000;
|
|
|
+ background: #fff;
|
|
|
+ border-radius: 5px;
|
|
|
+ padding: 10px;
|
|
|
+ .top {
|
|
|
+ height: 30px;
|
|
|
+ line-height: 30px;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 20px;
|
|
|
+ margin: 0 0 5px 0;
|
|
|
+ }
|
|
|
+ .down {
|
|
|
+ height: 385px;
|
|
|
+ background-color: #000;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .right {
|
|
|
+ height: 450px;
|
|
|
+ margin-top: 30px;
|
|
|
+ border-top-left-radius: 5px;
|
|
|
+ border-bottom-left-radius: 5px;
|
|
|
+ overflow: hidden;
|
|
|
+ background: #f0ffff5f;
|
|
|
+ border-bottom: 1px solid #f1f1f1;
|
|
|
+ .top {
|
|
|
+ height: 40px;
|
|
|
+ line-height: 40px;
|
|
|
+ padding: 0 10px;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #fff;
|
|
|
+ background-color: #409eff;
|
|
|
+ }
|
|
|
+ .down {
|
|
|
+ height: 410px;
|
|
|
+ overflow: hidden;
|
|
|
+ padding: 0 0 0 10px;
|
|
|
+ .list {
|
|
|
+ height: 370px;
|
|
|
+ overflow-y: auto;
|
|
|
+ .chatList {
|
|
|
+ padding: 10px 0;
|
|
|
+ border-bottom: 1px dashed #409eff;
|
|
|
+ .image {
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ .other {
|
|
|
+ .otherone {
|
|
|
+ span:nth-child(1) {
|
|
|
+ color: #000;
|
|
|
+ font-size: 16px;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ span:nth-child(2) {
|
|
|
+ display: inline-block;
|
|
|
+ margin: 0 0 0 15px;
|
|
|
+ color: #ccc;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .othertwo {
|
|
|
+ margin: 5px 0 0 0;
|
|
|
+ color: #000;
|
|
|
+ .remark {
|
|
|
+ min-height: 20px;
|
|
|
+ font-size: 15px;
|
|
|
+ padding: 5px;
|
|
|
+ border-radius: 5px;
|
|
|
+ background: #cccccc5f;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .chat {
|
|
|
+ height: 40px;
|
|
|
+ .input {
|
|
|
+ /deep/.el-input__inner {
|
|
|
+ height: 35px;
|
|
|
+ line-height: 35px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .btn {
|
|
|
+ /deep/.el-button--mini,
|
|
|
+ .el-button--mini.is-round {
|
|
|
+ padding: 10px 15px;
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|