commit 046748f2a3fa06cdca67f762131344479d1717ff
Author: root <root@hub.scroll.pub> Date: 2024-12-28 14:59:01 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..3a4d5ac --- /dev/null +++ b/body.html @@ -0,0 +1,68 @@ +<header class="header"> + <div class="container"> + <h1 class="logo">SMT Pro</h1> + <nav class="nav"> + <ul> + <li><a href="#about">关于我们</a></li> + <li><a href="#products">产品</a></li> + <li><a href="#contact">联系我们</a></li> + </ul> + </nav> + </div> +</header> + +<section id="hero" class="hero"> + <div class="container"> + <h2>专业SMT设备销售</h2> + <p>雅马哈贴片机、印刷机、HELLER回流焊</p> + <a href="#products" class="btn">查看产品</a> + </div> +</section> + +<section id="about" class="about"> + <div class="container"> + <h2>关于我们</h2> + <p>我们是一家专业的SMT设备销售公司,致力于为客户提供高质量的雅马哈贴片机、印刷机和HELLER回流焊设备。凭借多年的行业经验,我们确保每一台设备都能满足客户的需求。</p> + </div> +</section> + +<section id="products" class="products"> + <div class="container"> + <h2>我们的产品</h2> + <div class="product-grid"> + <div class="product-card"> + <h3>雅马哈贴片机</h3> + <p>高效、精准的贴片机,适用于各种电子制造需求。</p> + </div> + <div class="product-card"> + <h3>印刷机</h3> + <p>高质量的印刷机,确保每一块电路板的完美印刷。</p> + </div> + <div class="product-card"> + <h3>HELLER回流焊</h3> + <p>先进的回流焊设备,提供稳定的焊接效果。</p> + </div> + </div> + </div> +</section> + +<section id="contact" class="contact"> + <div class="container"> + <h2>联系我们</h2> + <form id="contact-form"> + <label for="name">姓名</label> + <input type="text" id="name" name="name" required> + <label for="email">邮箱</label> + <input type="email" id="email" name="email" required> + <label for="message">留言</label> + <textarea id="message" name="message" required></textarea> + <button type="submit" class="btn">发送</button> + </form> + </div> +</section> + +<footer class="footer"> + <div class="container"> + <p>SMT Pro - 专业SMT设备销售</p> + </div> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..3c1bf03 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://smtpro.scroll.pub +metaTags +editButton /edit.html +title SMT Pro - 雅马哈贴片机、印刷机、HELLER回流焊设备销售 +style.css +body.html +script.js \ No newline at end of file diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..9f6b3d1 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "454ac078-1208-4d9b-9818-7ed4f06bc670", + "object": "chat.completion", + "created": 1735397919, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nsmtpro.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://smtpro.scroll.pub\nmetaTags\neditButton /edit.html\ntitle SMT Pro - 雅马哈贴片机、印刷机、HELLER回流焊设备销售\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"header\">\n <div class=\"container\">\n <h1 class=\"logo\">SMT Pro</h1>\n <nav class=\"nav\">\n <ul>\n <li><a href=\"#about\">关于我们</a></li>\n <li><a href=\"#products\">产品</a></li>\n <li><a href=\"#contact\">联系我们</a></li>\n </ul>\n </nav>\n </div>\n</header>\n\n<section id=\"hero\" class=\"hero\">\n <div class=\"container\">\n <h2>专业SMT设备销售</h2>\n <p>雅马哈贴片机、印刷机、HELLER回流焊</p>\n <a href=\"#products\" class=\"btn\">查看产品</a>\n </div>\n</section>\n\n<section id=\"about\" class=\"about\">\n <div class=\"container\">\n <h2>关于我们</h2>\n <p>我们是一家专业的SMT设备销售公司,致力于为客户提供高质量的雅马哈贴片机、印刷机和HELLER回流焊设备。凭借多年的行业经验,我们确保每一台设备都能满足客户的需求。</p>\n </div>\n</section>\n\n<section id=\"products\" class=\"products\">\n <div class=\"container\">\n <h2>我们的产品</h2>\n <div class=\"product-grid\">\n <div class=\"product-card\">\n <h3>雅马哈贴片机</h3>\n <p>高效、精准的贴片机,适用于各种电子制造需求。</p>\n </div>\n <div class=\"product-card\">\n <h3>印刷机</h3>\n <p>高质量的印刷机,确保每一块电路板的完美印刷。</p>\n </div>\n <div class=\"product-card\">\n <h3>HELLER回流焊</h3>\n <p>先进的回流焊设备,提供稳定的焊接效果。</p>\n </div>\n </div>\n </div>\n</section>\n\n<section id=\"contact\" class=\"contact\">\n <div class=\"container\">\n <h2>联系我们</h2>\n <form id=\"contact-form\">\n <label for=\"name\">姓名</label>\n <input type=\"text\" id=\"name\" name=\"name\" required>\n <label for=\"email\">邮箱</label>\n <input type=\"email\" id=\"email\" name=\"email\" required>\n <label for=\"message\">留言</label>\n <textarea id=\"message\" name=\"message\" required></textarea>\n <button type=\"submit\" class=\"btn\">发送</button>\n </form>\n </div>\n</section>\n\n<footer class=\"footer\">\n <div class=\"container\">\n <p>SMT Pro - 专业SMT设备销售</p>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #007bff;\n --secondary-color: #0056b3;\n --background-color: #f8f9fa;\n --text-color: #333;\n --white: #fff;\n}\n\nbody {\n font-family: 'Arial', sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n margin: 0;\n padding: 0;\n}\n\n.container {\n width: 90%;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.header {\n background-color: var(--primary-color);\n color: var(--white);\n padding: 1rem 0;\n}\n\n.header .logo {\n margin: 0;\n font-size: 1.5rem;\n}\n\n.nav ul {\n list-style: none;\n padding: 0;\n margin: 0;\n display: flex;\n justify-content: flex-end;\n}\n\n.nav ul li {\n margin-left: 1rem;\n}\n\n.nav ul li a {\n color: var(--white);\n text-decoration: none;\n}\n\n.hero {\n background: url('hero-bg.jpg') no-repeat center center/cover;\n color: var(--white);\n padding: 5rem 0;\n text-align: center;\n}\n\n.hero h2 {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n.hero p {\n font-size: 1.2rem;\n margin-bottom: 2rem;\n}\n\n.btn {\n background-color: var(--secondary-color);\n color: var(--white);\n padding: 0.75rem 1.5rem;\n text-decoration: none;\n border-radius: 5px;\n transition: background-color 0.3s ease;\n}\n\n.btn:hover {\n background-color: var(--primary-color);\n}\n\n.about, .products, .contact {\n padding: 4rem 0;\n}\n\n.about h2, .products h2, .contact h2 {\n text-align: center;\n margin-bottom: 2rem;\n}\n\n.product-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 1.5rem;\n}\n\n.product-card {\n background-color: var(--white);\n padding: 1.5rem;\n border-radius: 5px;\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);\n text-align: center;\n}\n\n.product-card h3 {\n margin-bottom: 1rem;\n}\n\n.contact form {\n max-width: 600px;\n margin: 0 auto;\n}\n\n.contact label {\n display: block;\n margin-bottom: 0.5rem;\n}\n\n.contact input, .contact textarea {\n width: 100%;\n padding: 0.75rem;\n margin-bottom: 1rem;\n border: 1px solid #ccc;\n border-radius: 5px;\n}\n\n.contact button {\n width: 100%;\n}\n\n.footer {\n background-color: var(--primary-color);\n color: var(--white);\n text-align: center;\n padding: 1rem 0;\n}\n\n@media (max-width: 768px) {\n .nav ul {\n flex-direction: column;\n align-items: center;\n }\n\n .nav ul li {\n margin: 0.5rem 0;\n }\n\n .hero h2 {\n font-size: 2rem;\n }\n\n .hero p {\n font-size: 1rem;\n }\n\n .product-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.getElementById('contact-form').addEventListener('submit', function(event) {\n event.preventDefault();\n alert('感谢您的留言,我们会尽快与您联系!');\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 266, + "completion_tokens": 1541, + "total_tokens": 1807, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 266 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..4314c6b --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# smtpro.scroll.pub +Website generated by DeepSeek from prompt: 我的公司是一个SMT设备销售公司,销售雅马哈贴片机,印刷机,HELLER回流焊,我需要一个网站做产品推广 \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..74a48a6 --- /dev/null +++ b/script.js @@ -0,0 +1,4 @@ +document.getElementById('contact-form').addEventListener('submit', function(event) { + event.preventDefault(); + alert('感谢您的留言,我们会尽快与您联系!'); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..97ad24f --- /dev/null +++ b/style.css @@ -0,0 +1,159 @@ +:root { + --primary-color: #007bff; + --secondary-color: #0056b3; + --background-color: #f8f9fa; + --text-color: #333; + --white: #fff; +} + +body { + font-family: 'Arial', sans-serif; + line-height: 1.6; + color: var(--text-color); + background-color: var(--background-color); + margin: 0; + padding: 0; +} + +.container { + width: 90%; + max-width: 1200px; + margin: 0 auto; +} + +.header { + background-color: var(--primary-color); + color: var(--white); + padding: 1rem 0; +} + +.header .logo { + margin: 0; + font-size: 1.5rem; +} + +.nav ul { + list-style: none; + padding: 0; + margin: 0; + display: flex; + justify-content: flex-end; +} + +.nav ul li { + margin-left: 1rem; +} + +.nav ul li a { + color: var(--white); + text-decoration: none; +} + +.hero { + background: url('hero-bg.jpg') no-repeat center center/cover; + color: var(--white); + padding: 5rem 0; + text-align: center; +} + +.hero h2 { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +.hero p { + font-size: 1.2rem; + margin-bottom: 2rem; +} + +.btn { + background-color: var(--secondary-color); + color: var(--white); + padding: 0.75rem 1.5rem; + text-decoration: none; + border-radius: 5px; + transition: background-color 0.3s ease; +} + +.btn:hover { + background-color: var(--primary-color); +} + +.about, .products, .contact { + padding: 4rem 0; +} + +.about h2, .products h2, .contact h2 { + text-align: center; + margin-bottom: 2rem; +} + +.product-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 1.5rem; +} + +.product-card { + background-color: var(--white); + padding: 1.5rem; + border-radius: 5px; + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); + text-align: center; +} + +.product-card h3 { + margin-bottom: 1rem; +} + +.contact form { + max-width: 600px; + margin: 0 auto; +} + +.contact label { + display: block; + margin-bottom: 0.5rem; +} + +.contact input, .contact textarea { + width: 100%; + padding: 0.75rem; + margin-bottom: 1rem; + border: 1px solid #ccc; + border-radius: 5px; +} + +.contact button { + width: 100%; +} + +.footer { + background-color: var(--primary-color); + color: var(--white); + text-align: center; + padding: 1rem 0; +} + +@media (max-width: 768px) { + .nav ul { + flex-direction: column; + align-items: center; + } + + .nav ul li { + margin: 0.5rem 0; + } + + .hero h2 { + font-size: 2rem; + } + + .hero p { + font-size: 1rem; + } + + .product-grid { + grid-template-columns: 1fr; + } +} \ No newline at end of file