作者 杨乐
1 个管道 的构建 通过 耗费 3 秒

提交

... ... @@ -937,13 +937,15 @@
</div>
<p id="accomplish"></p>
<div class="show1-BtnAll">
<!-- 下载作业 -->
<div id="downloadWork">
</div>
<!-- 提交作业 -->
<div class="show1-Btn2">
<div class="show1-Btn2-img">
<img src='./images/03-5.png' style="width: 100%;">
</div>
<a href="javascript" class="file">提交实习作业
<a class="file">提交实习作业
<input type="file" class='fileTxt' name="" id="" style="position: absolute;
font-size: 100px;
right: 0;
... ... @@ -951,6 +953,7 @@
opacity: 0;" >
</a>
</div>
<!-- 完成作业 -->
<div class="show1-Btn3" onclick="postData();" style="display: none;">
<div class="show1-Btn3-img">
<img src='./images/bingo.png' style="width: 100%;">
... ...
... ... @@ -150,11 +150,11 @@ $('#title-content').on('click', '.leftClick', function (e) {
// var index = $('#content-list').index($(this).find('.noCheck'))
// alert(index)
ajax("/recommend/recommendTwoList", "GET", header, params, function (res) {
// console.log(res);
console.log(res);
// let status = ''
for (let i in res.data) {
$.each(res.data[i].recommendThrees, function (index, val) {
// console.log(val);
console.log(val);
// status = val.status
if (val.id == first_id) {
if (val.status == '1') {
... ... @@ -164,9 +164,9 @@ $('#title-content').on('click', '.leftClick', function (e) {
$(".div_show4").hide()
$("#particulars").html(val.particulars)
$("#accomplish").html(val.accomplish)
// console.log(val.downloadHomework);
console.log(val.downloadHomework);
let work = `
<a href="${val.downloadHomework}" target="_blank" class='show1-Btn1-a'>
<a href="${val.downloadHomework}" class='show1-Btn1-a'>
<img src='./images/03-4.png'>
<span style='padding-left:10px'>下载实习作业</span>
</a>`
... ...