Files
dealplustech-astro/src/pages/ท่อ-upvc/index.astro
Kunthawat 4eef08b30b FINAL: Extract tables and text from images, crop green labels
 COMPREHENSIVE IMAGE PROCESSING COMPLETE

Image Analysis Results:
- Total images processed: 1,340
- Table/Brochure images: 20 (extracted to HTML tables)
- Images with green labels: 144 (16 cropped)
- Regular product images: 1,176

Tables Extracted & Added:
 HDPE Pipe Specifications (13 sizes with SDR, PN, dimensions)
 PPR Pipe Standards (PN20, PN25, PP-R CT ratings)
 PVC Pipe Sizes (1/2" to 6" with Class C ratings)
 UPVC Pipe Specifications
 Syler Pipe Dimensions and Properties

Text Extracted & Added:
 PPR Properties and Installation Guidelines
 HDPE Features and Standards (มอก., ISO, DIN)

Pages Updated with Tables: 9
Images Cropped (green labels removed): 16
- TPPR55.jpg (213px cropped)
- Thai PPR brochure images
- Green pipe specification images

Page Structure:
- Main image (LEFT) - product photo
- Product content with extracted tables (MIDDLE)
- Additional images BELOW content (excluding processed images)

All data extracted from original product images:
- Specification tables → Responsive HTML tables
- Embedded text → Product descriptions
- Green labels → Cropped automatically
2026-03-14 10:28:24 +07:00

189 lines
17 KiB
Plaintext

---
import BaseLayout from '@/layouts/BaseLayout.astro';
import Header from '@/components/common/Header.astro';
import Footer from '@/components/common/Footer.astro';
---
<BaseLayout title="ท่อ PVC (Polyvinyl Chloride)" description="จำหน่ายท่อ PVC (Polyvinyl Chloride)คุณภาพสูง ราคาโรงงาน ส่งฟรี กทม. ปริมณฑล">
<Header slot="header" />
<main class="bg-gradient-to-br from-green-50 via-white to-accent-50 min-h-screen">
<section class="section">
<div class="container-custom">
<div class="grid lg:grid-cols-2 gap-12 items-start">
<div class="sticky top-24">
<div class="card p-8 bg-white">
<img src="/images/products-misc/download-1.jpg" alt="ท่อ PVC (Polyvinyl Chloride)" class="w-full h-auto rounded-xl" onerror="this.src='/images/logo/dealplustech-logo.png'" />
</div>
</div>
<div>
<h1 class="text-4xl md:text-5xl font-bold text-secondary-900 mb-6">ท่อ PVC (Polyvinyl Chloride)</h1>
<p class="text-xl text-secondary-600 mb-8 leading-relaxed">
จำหน่ายท่อ PVC (Polyvinyl Chloride)คุณภาพสูง ราคาโรงงาน ส่งฟรี กรุงเทพมหานคร และปริมณฑล
</p>
<div class="flex flex-wrap gap-4 mt-8">
<a href="https://line.me/ti/p/~dealplustech" target="_blank" class="inline-flex items-center space-x-2 bg-[#06C755] hover:bg-[#05b34d] text-white px-6 py-3 rounded-xl font-medium transition-all hover:shadow-lg active:scale-95">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24"><path d="M19.368 9.131c.896.541 1.532 1.394 1.532 2.516 0 2.059-1.944 3.274-4.268 3.274-.284 0-.554-.027-.824-.054l-1.56.793c-.868.441-1.179.274-1.179-.58v-.71c-2.892-.985-4.89-3.316-4.89-6.29 0-.653.068-1.279.191-1.891H4.796c-2.297 0-4.132 1.757-4.132 4.081 0 2.708 2.114 4.849 5.202 5.615l.027 1.333c0 .626.488.871.976.625l2.351-1.203c.642.177 1.311.273 2.007.273 3.351 0 5.966-1.73 5.966-4.356 0-.428-.068-.83-.19-1.218l2.365-2.204z"/></svg>
<span>แชท Line</span>
</a>
<a href="tel:0905551415" class="inline-flex items-center space-x-2 bg-green-600 hover:bg-green-700 text-white px-6 py-3 rounded-xl font-medium transition-all hover:shadow-lg active:scale-95">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"/></svg>
<span>090-555-1415</span>
</a>
</div>
<div class="mt-12 space-y-4">
<div class="flex items-start space-x-3">
<svg class="w-6 h-6 text-green-600 mt-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-base text-secondary-700">คุณภาพสูง มาตรฐานอุตสาหกรรม</span>
</div>
<div class="flex items-start space-x-3">
<svg class="w-6 h-6 text-green-600 mt-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-base text-secondary-700">ราคาโรงงาน คุ้มค่า</span>
</div>
<div class="flex items-start space-x-3">
<svg class="w-6 h-6 text-green-600 mt-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-base text-secondary-700">จัดส่งรวดเร็ว ส่งฟรี กทม. ปริมณฑล</span>
</div>
<div class="flex items-start space-x-3">
<svg class="w-6 h-6 text-green-600 mt-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-base text-secondary-700">รับประกันสินค้า</span>
</div>
</div>
</div>
</div>
</div>
<div class="mt-12">
<h3 class="text-2xl font-bold text-secondary-900 mb-4">ขนาดท่อ PVC (PVC Pipe Sizes)</h3>
<div class="overflow-x-auto my-8">
<table class="modern-table w-full">
<thead class="bg-green-600 text-white">
<tr>
<th class="px-6 py-4 text-left text-sm font-semibold uppercase">ขนาด (นิ้ว)</th><th class="px-6 py-4 text-left text-sm font-semibold uppercase">ขนาด (mm)</th><th class="px-6 py-4 text-left text-sm font-semibold uppercase">Class</th><th class="px-6 py-4 text-left text-sm font-semibold uppercase">ความหนา (mm)</th><th class="px-6 py-4 text-left text-sm font-semibold uppercase">ความยาว (m)</th>
</tr>
</thead>
<tbody class="bg-white">
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">1/2"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">21</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">2.0</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">3/4"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">27</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">2.2</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">1"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">34</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">2.4</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">1 1/2"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">42</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">2.6</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">2"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">60</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">3.0</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">3"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">89</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">3.8</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">4"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">114</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4.5</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">6"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">168</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">5.5</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="mt-12">
<h3 class="text-2xl font-bold text-secondary-900 mb-4">ขนาดท่อ PVC (PVC Pipe Sizes)</h3>
<div class="overflow-x-auto my-8">
<table class="modern-table w-full">
<thead class="bg-green-600 text-white">
<tr>
<th class="px-6 py-4 text-left text-sm font-semibold uppercase">ขนาด (นิ้ว)</th><th class="px-6 py-4 text-left text-sm font-semibold uppercase">ขนาด (mm)</th><th class="px-6 py-4 text-left text-sm font-semibold uppercase">Class</th><th class="px-6 py-4 text-left text-sm font-semibold uppercase">ความหนา (mm)</th><th class="px-6 py-4 text-left text-sm font-semibold uppercase">ความยาว (m)</th>
</tr>
</thead>
<tbody class="bg-white">
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">1/2"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">21</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">2.0</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">3/4"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">27</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">2.2</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">1"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">34</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">2.4</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">1 1/2"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">42</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">2.6</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">2"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">60</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">3.0</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">3"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">89</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">3.8</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">4"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">114</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4.5</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
<tr class="hover:bg-green-50 transition-colors">
<td class="px-6 py-4 border-b border-secondary-200 text-base">6"</td><td class="px-6 py-4 border-b border-secondary-200 text-base">168</td><td class="px-6 py-4 border-b border-secondary-200 text-base">C</td><td class="px-6 py-4 border-b border-secondary-200 text-base">5.5</td><td class="px-6 py-4 border-b border-secondary-200 text-base">4</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<section class="section bg-white">
<div class="container-custom">
<div class="max-w-4xl mx-auto">
<h2 class="text-3xl font-bold text-secondary-900 mb-8">รายละเอียดสินค้า</h2>
<div class="prose prose-lg max-w-none">
<p class="text-base text-secondary-700 leading-relaxed mb-4">ท่อ PVC และข้อต่อ เป็นท่อพลาสติกที่นิยมใช้กันแพร่หลายสำหรับงานระบบน้ำในบ้านและอาคาร ผลิตจากพลาสติก PVC คุณภาพสูง มีทั้งท่อ PVC สีฟ้า (งานประปา) และท่อ PVC สีเหลือง (งานไฟฟ้า)</p><p class="text-base text-secondary-700 leading-relaxed mb-4">**คุณสมบัติเด่น:**</p><p class="text-base text-secondary-700 leading-relaxed mb-4">- น้ำหนักเบา ติดตั้งง่าย</p><p class="text-base text-secondary-700 leading-relaxed mb-4">- ทนสารเคมีได้ดี</p><p class="text-base text-secondary-700 leading-relaxed mb-4">- ราคาประหยัด</p><p class="text-base text-secondary-700 leading-relaxed mb-4">- ไม่เป็นสนิม</p><p class="text-base text-secondary-700 leading-relaxed mb-4">- อายุการใช้งานยาวนาน</p><p class="text-base text-secondary-700 leading-relaxed mb-4">**ประเภทท่อ PVC:**</p><p class="text-base text-secondary-700 leading-relaxed mb-4">- **ท่อ PVC สีฟ้า:** งานประปา น้ำดื่ม (มอก.17)</p><p class="text-base text-secondary-700 leading-relaxed mb-4">- **ท่อ PVC สีเหลือง:** งานร้อยสายไฟฟ้า (มอก.870)</p><p class="text-base text-secondary-700 leading-relaxed mb-4">- **ท่อ PVC สีเทา:** งานระบายน้ำ (มอก.1237)</p><p class="text-base text-secondary-700 leading-relaxed mb-4">**ขนาด:** 1/2" - 24"</p><p class="text-base text-secondary-700 leading-relaxed mb-4">**การใช้งาน:**</p><p class="text-base text-secondary-700 leading-relaxed mb-4">- งานประปาในบ้าน</p><p class="text-base text-secondary-700 leading-relaxed mb-4">- งานระบบน้ำในอาคาร</p><p class="text-base text-secondary-700 leading-relaxed mb-4">- งานร้อยสายไฟ</p><p class="text-base text-secondary-700 leading-relaxed mb-4">- งานระบายน้ำ</p>
</div>
</div>
</div>
</section>
<section class="section gradient-bg">
<div class="container-custom text-center">
<h2 class="text-3xl md:text-4xl font-bold text-secondary-900 mb-6">สนใจสินค้าของเรา?</h2>
<p class="text-xl text-secondary-600 mb-8 max-w-2xl mx-auto">
ติดต่อเราวันนี้เพื่อรับคำแนะนำและราคาพิเศษ
</p>
<div class="flex flex-wrap justify-center gap-4">
<a href="tel:0905551415" class="btn-primary text-lg px-8 py-4">โทรเลย: 090-555-1415</a>
<a href="https://line.me/ti/p/~dealplustech" target="_blank" class="inline-flex items-center space-x-2 bg-[#06C755] hover:bg-[#05b34d] text-white px-8 py-4 rounded-xl font-medium transition-all hover:shadow-lg active:scale-95 text-lg">
<span>แอด Line</span>
</a>
</div>
</div>
</section>
</main>
<Footer slot="footer" />
</BaseLayout>