|
@@ -256,7 +256,7 @@ function funcTest4() {
|
|
|
<p><span class="fs-5">'+ deslist2.DesignerName + '</span>設計師</p>\
|
|
|
</a>\
|
|
|
<button type="button" class="btn border border-white"><a target="_blank" href="tel: '+ deslist2.TollFreeCall + '"><img class="" src="img/002-phone-call.svg" alt=""></a>\</button>\
|
|
|
- <button type="button" id="'+ deslist2.id + '" data-info="' + deslist2.id + '" class="btn border border-white" data-bs-toggle="modal" data-bs-target="#exampleModal"><img class="" src="img/001-blogging.svg" alt=""></button>\
|
|
|
+ <button type="button" id="'+ deslist2.id + '" data-info="' + deslist2.id + '" class="mesg btn border border-white" data-bs-toggle="modal" data-bs-target="#exampleModal"><img class="" src="img/001-blogging.svg" alt=""></button>\
|
|
|
</div>\
|
|
|
<div class="banner-2 col-7 order-2 col-lg-2 order-3 px-0 mx-0">\
|
|
|
<a class="desbutton" data-info="'+ deslist2.id + '" href="./about/index.html?id=' + deslist2.id + '"><img class="img-fluid" src="' + deslist2.Designerimg + '" alt=""></a>\
|
|
@@ -581,10 +581,11 @@ $(function () {
|
|
|
});
|
|
|
});
|
|
|
|
|
|
-$(".btn").click(function () {
|
|
|
+$(".mesg").click(function () {
|
|
|
var desid =$(this).data("info");
|
|
|
console.log(desid);
|
|
|
// var desid2=String(desid);
|
|
|
// console.log(desid2);
|
|
|
- $("#version").html(desid);
|
|
|
+ $("#version").val(desid);
|
|
|
+ // $("#version").html(desid);
|
|
|
});
|