mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-21 00:36:44 +08:00
案例问题
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
<el-radio v-show="radio == 2" :label="1">查看所有</el-radio>
|
||||
<el-radio v-show="radio == 1" :label="2">只看案主 @案主可以给他发私信哦</el-radio>
|
||||
</el-radio-group> -->
|
||||
<el-checkbox v-if="objType ==3" class="btn" v-model="value" type="primary">{{'只看案主 @案主可以给他发私信哦'}}</el-checkbox>
|
||||
<el-checkbox v-if="objType ==3" class="btn" v-model="value" type="primary">{{'只看案主'}}</el-checkbox>
|
||||
<span v-if="objType ==3" class="anzhu"> @案主可以给他发私信哦</span>
|
||||
<!-- <span v-if="objType ==3"><span v-if="value" @click="value = true">查看所有</span><span v-if="!value" @click="value = false">只看案主 @案主可以给他发私信哦</span></span> -->
|
||||
</div>
|
||||
<!-- <div class="comments-top-right" v-if="objType !==2">
|
||||
@@ -28,6 +29,7 @@
|
||||
</el-popover> -->
|
||||
<el-popover placement="top-start" width="160" v-model="visible">
|
||||
<p style="margin-bottom: 10px">请选择要@的老师</p>
|
||||
|
||||
<div>
|
||||
<el-radio-group v-model="toUserId" @change="confirmTeacher()">
|
||||
<el-radio-button
|
||||
@@ -38,6 +40,7 @@
|
||||
>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
|
||||
<!-- <div style="text-align: right; margin: 0">
|
||||
<el-button size="mini" type="text" @click="cancelTeacher()">取消</el-button>
|
||||
<el-button type="primary" >确定</el-button>
|
||||
@@ -50,6 +53,7 @@
|
||||
<!-- type="textarea"
|
||||
:row="1" -->
|
||||
<el-input
|
||||
v-if="objType !==3"
|
||||
:autosize="{ minRows: 2, maxRows: 2 }"
|
||||
type="textarea"
|
||||
class="hideControl"
|
||||
@@ -58,6 +62,18 @@
|
||||
maxlength="800"
|
||||
placeholder="写下您的评论(800字以内),可以@作者哦~"
|
||||
></el-input>
|
||||
<el-input
|
||||
v-if="objType ==3"
|
||||
:autosize="{ minRows: 2, maxRows: 2 }"
|
||||
type="textarea"
|
||||
class="hideControl"
|
||||
show-word-limit
|
||||
v-model="inputValue"
|
||||
maxlength="800"
|
||||
placeholder="写下您的评论(800字以内),可以@案主哦~"
|
||||
></el-input>
|
||||
|
||||
|
||||
</div>
|
||||
<div style="width: 90px;display: flex;justify-content: flex-end;">
|
||||
<el-button @click="submit()" style="height: 48px" type="primary">发布</el-button>
|
||||
@@ -747,6 +763,10 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.anzhu{
|
||||
font-size: 14px;
|
||||
color: #999;
|
||||
}
|
||||
::v-deep .el-input--medium .el-input__inner {
|
||||
height: 48px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user