|
@@ -222,34 +222,21 @@
|
|
|
<div class="lineTitle" style="margin-bottom:10px">学习内容</div>
|
|
|
<div class="add_info_box">
|
|
|
<button class="c_pub_button_add pub_btn_add_img" @click="addImg($event)">
|
|
|
- 添加文件
|
|
|
+ 文件
|
|
|
<input type="file" accept="*" style="display: none" v-if="inputShow"
|
|
|
@change="beforeUpload2($event, unitIndex, 13, 0)" />
|
|
|
</button>
|
|
|
- <!-- <button class="info_btn" @click="addImg($event)">
|
|
|
- 添加视频
|
|
|
- <input type="file" accept="video/mp4, video/quicktime, video/x-msvideo" style="display: none"
|
|
|
- v-if="inputShow" @change="beforeUpload2($event, unitIndex, 2, 0)
|
|
|
- " />
|
|
|
- </button>
|
|
|
- <button class="info_btn" @click="addImg($event)">
|
|
|
- 添加文档
|
|
|
- <input type="file"
|
|
|
- accept="application/pdf, application/.ppt, .ppt, .pptx, .xlsx, .xls, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
|
- style="display: none" v-if="inputShow" @change="beforeUpload2($event, unitIndex, 3, 0)
|
|
|
- " />
|
|
|
- </button> -->
|
|
|
<button class="c_pub_button_add pub_btn_add_img" @click="addAttText(0)">
|
|
|
- 添加图文
|
|
|
+ 图文
|
|
|
</button>
|
|
|
<button class="c_pub_button_add pub_btn_add_img" @click="openLine(0)">
|
|
|
- 添加链接
|
|
|
+ 链接
|
|
|
</button>
|
|
|
<button class="c_pub_button_add pub_btn_add_img" @click="pasteLine(0)">
|
|
|
- 嵌入代码
|
|
|
+ 代码
|
|
|
</button>
|
|
|
<button class="c_pub_button_add pub_btn_add_img" @click="openSource(0)">
|
|
|
- 添加资源
|
|
|
+ 资源
|
|
|
</button>
|
|
|
<!-- <button class="info_btn" @click="addImg($event)">
|
|
|
其他附件
|