| | |
| | | </div> |
| | | </div> |
| | | </PopUpFrame> |
| | | |
| | | <div class="video-container" |
| | | v-if="isShowFilmPlayer" |
| | | style="position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; justify-content: flex-end;" |
| | | > |
| | | <iframe width=”780″ |
| | | height=”440″ |
| | | style="position: fixed; bottom: 30px; right: 30px; z-index: 9999;" |
| | | allowfullscreen |
| | | src="https://www.youtube.com/embed/655JnwbuRGA?autoplay=1&mute=1" |
| | | ></iframe> |
| | | <div class="close-btn" @click="closeVideo()">X</div> |
| | | </div> |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | seniority : '', |
| | | appointments : [] |
| | | }; |
| | | |
| | | isShowFilmPlayer = true; |
| | | |
| | | ////////////////////////////////////////////////////////////////////// |
| | | |
| | |
| | | this.storageClearNotContactAppointmentIdFromMsg(); |
| | | } |
| | | |
| | | closeVideo() { |
| | | this.isShowFilmPlayer = false; |
| | | } |
| | | |
| | | /////////////////////////////////////////////////////////////////////////////// |
| | | |
| | | get gender(): string { |
| | |
| | | max-width: 335px; |
| | | } |
| | | } |
| | | |
| | | /* 確保 .video-container 有相對/絕對定位或固定寬度 */ |
| | | .video-container { |
| | | position: relative; |
| | | width: 600px; /* 根據你的影片尺寸調整 */ |
| | | } |
| | | |
| | | /* 關閉按鈕樣式 */ |
| | | .close-btn { |
| | | position: absolute; |
| | | top: -10px; |
| | | right: -10px; |
| | | cursor: pointer; |
| | | font-size: 20px; |
| | | color: #fff; |
| | | background-color: #000; |
| | | width: 30px; |
| | | height: 30px; |
| | | text-align: center; |
| | | line-height: 30px; |
| | | border-radius: 50%; |
| | | opacity: 0.7; |
| | | } |
| | | |
| | | .close-btn:hover { |
| | | opacity: 1; |
| | | } |
| | | |
| | | </style> |