mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 23:06:45 +08:00
Merge branch 'stat' of https://codeup.aliyun.com/6265f483e4166464dc2f9c14/boeu/portal into stat
This commit is contained in:
BIN
public/images/phone.png
Normal file
BIN
public/images/phone.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 637 B |
@@ -195,7 +195,7 @@
|
|||||||
<el-input show-word-limit class="hideControl" type="textarea" v-model="replyInfo.content" maxlength="100" placeholder="回复内容..."></el-input>
|
<el-input show-word-limit class="hideControl" type="textarea" v-model="replyInfo.content" maxlength="100" placeholder="回复内容..."></el-input>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 120px;display: flex;justify-content: flex-end;">
|
<div style="width: 120px;display: flex;justify-content: flex-end;">
|
||||||
<el-button @click="submitDlgReply(com)" type="primary">发布1回复</el-button>
|
<el-button @click="submitDlgReply(com)" type="primary">发布回复</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-show="theme==1" class="interact-bar-btns" :style="{'justify-content':showAlign}">
|
<div v-show="theme==1" class="interact-bar-btns" :style="{'justify-content':showAlign}">
|
||||||
<div v-if="answers" @click="addAnswers()" :style="`min-width: ${nodeWidth};`" class="interact-bar-btn" :class="{cursor:!readonly || clickAnswer}">
|
<div v-if="answers" @click="addAnswers()" :style="`min-width: ${nodeWidth};`" class="interact-bar-btn" :class="{cursor:!readonly || clickAnswer}">
|
||||||
<el-tooltip effect="light" content="回答" placement="left" :visible-arrow="false" popper-class="text-tooltip">
|
<el-tooltip effect="light" :content="type == 4 || type == 5 ?'回答':'回复'" placement="left" :visible-arrow="false" popper-class="text-tooltip">
|
||||||
<!-- <svg-icon style="margin-right: 0;" icon-class="comment"></svg-icon> -->
|
<!-- <svg-icon style="margin-right: 0;" icon-class="comment"></svg-icon> -->
|
||||||
<!-- <img style="width:16px;height:14px;vertical-align: middle;" :src="require('@/assets/images/icon/answers.png')"> -->
|
<!-- <img style="width:16px;height:14px;vertical-align: middle;" :src="require('@/assets/images/icon/answers.png')"> -->
|
||||||
<svg-icon style="margin-right: 0;font-size: 14px;" icon-class="comment"></svg-icon>
|
<svg-icon style="margin-right: 0;font-size: 14px;" icon-class="comment"></svg-icon>
|
||||||
|
|||||||
@@ -189,7 +189,7 @@
|
|||||||
<div class="teacher-info">
|
<div class="teacher-info">
|
||||||
<div class="teacher-name">
|
<div class="teacher-name">
|
||||||
<span> {{ item.teacherName }}</span>
|
<span> {{ item.teacherName }}</span>
|
||||||
<span style="font-size: 12px; color:#666666 ;">( {{item.authorInfo.orgInfo}} )</span>
|
<span style="font-size: 12px; color:#666666 ;">( {{cutOrgNamePath(item.authorInfo.orgInfo)}} )</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="teacher-remark" v-html="item.authorInfo.sign"></div>
|
<div class="teacher-remark" v-html="item.authorInfo.sign"></div>
|
||||||
</div>
|
</div>
|
||||||
@@ -235,6 +235,7 @@
|
|||||||
courseType,
|
courseType,
|
||||||
getType,
|
getType,
|
||||||
toScore,
|
toScore,
|
||||||
|
cutOrgNamePath,
|
||||||
userAvatarText
|
userAvatarText
|
||||||
} from '@/utils/tools.js';
|
} from '@/utils/tools.js';
|
||||||
import pdfPreview from '@/components/PdfPreview/index.vue';
|
import pdfPreview from '@/components/PdfPreview/index.vue';
|
||||||
@@ -266,6 +267,7 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
cutOrgNamePath,
|
||||||
loading:false,
|
loading:false,
|
||||||
controlHeight:400,//左边控制区域的内容高度
|
controlHeight:400,//左边控制区域的内容高度
|
||||||
timer: '',
|
timer: '',
|
||||||
|
|||||||
@@ -5,7 +5,12 @@
|
|||||||
<el-avatar :src="avatar" :size="116" alt=""></el-avatar>
|
<el-avatar :src="avatar" :size="116" alt=""></el-avatar>
|
||||||
<!-- <span>{{userInfo.name}}</span> -->
|
<!-- <span>{{userInfo.name}}</span> -->
|
||||||
<!-- <el-button type="primary" @click="openAvatar">修改头像</el-button> -->
|
<!-- <el-button type="primary" @click="openAvatar">修改头像</el-button> -->
|
||||||
|
<div @click="openAvatar" class="avatarhover">
|
||||||
|
<img :src="`${webBaseUrl}/images/phone.png`" alt="">
|
||||||
|
<h6>修改头像</h6>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- <el-form :model="form" label-position="right" label-width="80px"> -->
|
<!-- <el-form :model="form" label-position="right" label-width="80px"> -->
|
||||||
<div class="informationItem">
|
<div class="informationItem">
|
||||||
<div class="information-header">
|
<div class="information-header">
|
||||||
@@ -410,7 +415,35 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.avatarhover{
|
||||||
|
width: 116px;
|
||||||
|
height: 116px;
|
||||||
|
background-color: rgba(0, 0, 0, 0.4);
|
||||||
|
border-radius: 50%;
|
||||||
|
position: absolute;
|
||||||
|
cursor:pointer;
|
||||||
|
display: none;
|
||||||
|
left: 0%;
|
||||||
|
top:0px;
|
||||||
|
text-align: center;
|
||||||
|
img{
|
||||||
|
width: 42px;
|
||||||
|
height: 38px;
|
||||||
|
vertical-align: bottom;
|
||||||
|
margin-top: 22px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
h6{
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #FFFFFF;
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
.avatar:hover .avatarhover{
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
::v-deep .el-checkbox-button--medium .el-checkbox-button__inner{
|
::v-deep .el-checkbox-button--medium .el-checkbox-button__inner{
|
||||||
// padding: 10px 40px !important;
|
// padding: 10px 40px !important;
|
||||||
width: 146px;
|
width: 146px;
|
||||||
@@ -506,6 +539,8 @@
|
|||||||
// margin: 0 auto;
|
// margin: 0 auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
.avatar{
|
.avatar{
|
||||||
|
width: 116px;
|
||||||
|
height: 116px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
left: 5%;
|
left: 5%;
|
||||||
|
|||||||
Reference in New Issue
Block a user