From 1c5915a6501be036a2228398d06d64f4cbae573c Mon Sep 17 00:00:00 2001 From: liaozetao <1107136310@qq.com> Date: Wed, 20 Dec 2023 14:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B1=95=E7=A4=BA=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/firstpage/RecommendResourceAdminView.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/firstpage/RecommendResourceAdminView.vue b/src/views/firstpage/RecommendResourceAdminView.vue index 32e22cf..be1b6e3 100644 --- a/src/views/firstpage/RecommendResourceAdminView.vue +++ b/src/views/firstpage/RecommendResourceAdminView.vue @@ -852,7 +852,11 @@ export default { }) $("#resourceA").change(function () { var optVal = $(this).val(); - if (optVal != undefined && optVal == 5) { + window.changeContent('A'); + if (optVal != undefined && optVal == 4) { + $('#contentA').val(''); + $("#boxA").show(); + } else if (optVal != undefined && optVal == 5) { $('#contentA').val(''); $('#contentLabA').html('网址链接*:'); $("#boxA").show(); @@ -867,6 +871,7 @@ export default { }); $("#resourceB").change(function () { var optVal = $(this).val(); + window.changeContent('B'); if (optVal != undefined && optVal == 4) { $('#contentB').val(''); $("#boxB").show(); @@ -885,6 +890,7 @@ export default { }); $("#resourceC").change(function () { var optVal = $(this).val(); + window.changeContent('C'); if (optVal != undefined && optVal == 4) { $('#contentC').val(''); $("#boxC").show(); @@ -903,6 +909,7 @@ export default { }); $("#resourceD").change(function () { var optVal = $(this).val(); + window.changeContent('D'); if (optVal != undefined && optVal == 4) { $('#contentD').val(''); $("#boxD").show(); @@ -921,6 +928,7 @@ export default { }); $("#resourceE").change(function () { var optVal = $(this).val(); + window.changeContent('E'); if (optVal != undefined && optVal == 4) { $('#contentE').val(''); $("#boxE").show();