蒂芙尼的礼物
蒂芙尼的礼物的剧情介绍

Nothing compares to the magic and excitement of the holidays in New York City, where the streets blaze with lights, windows dazzle and a special box from Tiffany could change the course of a person’s life. Or several lives. Rachel and Gary (Zoey Deutch, Ray Nicholson) are happy enough but not quite ready for that big commitment. Ethan and Vanessa (Kendrick Smith Sampson, Shay M...动作

function qrsearch() { // 获取触发提交事件的表单 var form = window.event ? window.event.target : (arguments[0] ? arguments[0].target : null); if (!form) { form = document.querySelector('form[action*="/search"]'); } var input = form ? form.querySelector('input[name="q"]') : document.querySelector('input[name="q"]'); if (!input) { return false; } var q = input.value; if (!q || q.trim() === '') { return false; } return true; } // 确保回车键能正常提交表单 (function() { function initSearchForms() { var searchForms = document.querySelectorAll('form[action*="/search"]'); searchForms.forEach(function(form) { var input = form.querySelector('input[name="q"]'); if (input) { // 监听回车键事件 input.addEventListener('keydown', function(e) { if (e.key === 'Enter' || e.keyCode === 13) { e.preventDefault(); var q = this.value.trim(); if (q) { form.submit(); } } }); } }); } // DOM加载完成后初始化 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', initSearchForms); } else { initSearchForms(); } // window.load 后也执行一次 window.addEventListener('load', function() { setTimeout(initSearchForms, 100); }); })();