Implement share functionality and UI updates: Add share button to various pages, create share popup with URL input, and enhance CSS styles for better layout and responsiveness. Update JavaScript for clipboard functionality and navigator share API support.
This commit is contained in:
@@ -249,6 +249,10 @@
|
||||
<div class="eventView">
|
||||
<div class="viewInner">
|
||||
<div class="viewTitle">
|
||||
<div class="util-area">
|
||||
<button type="button" class="btn-share" onclick="openSharePopup()">공유하기</button>
|
||||
<button type="button" class="btn-wish">좋아요</button>
|
||||
</div>
|
||||
<p>
|
||||
<span>
|
||||
<span class="badge">진행중</span>
|
||||
@@ -485,11 +489,30 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="sharePopup" class="popupWarp" style="display: none">
|
||||
<div class="popInner sharePop">
|
||||
<div class="popContents">
|
||||
<h1>공유하기</h1>
|
||||
<div class="shareCon">
|
||||
<div class="shareUrlBox">
|
||||
<input type="text" id="shareUrl" class="shareUrlInput" value="" readonly />
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="towButton">
|
||||
<button type="button" class="cartBtn leftBtn" onclick="close_layer_popup('sharePopup')"><p>닫기</p></button>
|
||||
<button type="button" class="PurchaseBtn rightBtn" onclick="copyShareLink()"><p>링크복사</p></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<script>
|
||||
open_layer_popup("loginCoupon");
|
||||
open_layer_popup("getCoupon");
|
||||
open_layer_popup("failCouponDown");
|
||||
open_layer_popup("failCouponExpired");
|
||||
// open_layer_popup("loginCoupon");
|
||||
// open_layer_popup("getCoupon");
|
||||
// open_layer_popup("failCouponDown");
|
||||
// open_layer_popup("failCouponExpired");
|
||||
</script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user