From 9ee92c174150ce862132b519451a7c8df3b63342 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期五, 27 十月 2023 12:48:24 +0800 Subject: [PATCH] 商户认证 --- cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_add_two.html | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_add_two.html b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_add_two.html index 2c8458d..377d70f 100644 --- a/cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_add_two.html +++ b/cloud-server-management/src/main/webapp/WEB-INF/view/system/tShop/TShop_add_two.html @@ -35,11 +35,11 @@ <div class="input-group" style="margin-left: 342px;" id="t2" > <div class="input-group-btn"> - <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button"> + <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button" > 跳转类型 </button> </div> - <select class="form-control" id="type" style="width: 400px;" > + <select class="form-control" id="type" style="width: 400px;" onchange="updateT(this)" > </select> </div> @@ -76,6 +76,18 @@ elem: '#time', range:true }); + + + + function updateT(e) { + var oneId = $('#type option:selected').text(); + console.log(oneId); + if (oneId!="详情"){ + $("#t3").hide() + }else{ + $("#t3").show() + } + } function updateType(e) { let name = $("#name").val() @@ -130,6 +142,9 @@ }); ajax.set("id",oneId); ajax.start(); + + updateT(document.getElementById("type")); + } </script> @} -- Gitblit v1.7.1