index.wxml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <view class="welcome-page">
  2. <!-- 1. 顶部品牌区 -->
  3. <view class="brand-section">
  4. <view class="slogan">让家更美好</view>
  5. <view class="sub-slogan">专业门窗定制 · 品质生活之选</view>
  6. </view>
  7. <!-- 2. 核心功能轮播区 -->
  8. <view class="swiper-section">
  9. <swiper
  10. class="feature-swiper"
  11. indicator-dots="{{true}}"
  12. autoplay="{{true}}"
  13. interval="{{3000}}"
  14. duration="{{500}}"
  15. circular="{{true}}"
  16. indicator-color="rgba(0,0,0,.3)"
  17. indicator-active-color="#764ba2"
  18. bindchange="onSwiperChange">
  19. <!-- 第1屏:海量案例 -->
  20. <swiper-item>
  21. <view class="swiper-item-content swiper-item-1">
  22. <view class="feature-icon">🏠</view>
  23. <view class="feature-title">海量案例 随心选</view>
  24. <view class="feature-desc">
  25. <text>数千款精选门窗案例</text>
  26. <text>总有一款适合您的家</text>
  27. </view>
  28. </view>
  29. </swiper-item>
  30. <!-- 第2屏:智能预约 -->
  31. <swiper-item>
  32. <view class="swiper-item-content swiper-item-2">
  33. <view class="feature-icon">📐</view>
  34. <view class="feature-title">智能预约 上门量尺</view>
  35. <view class="feature-desc">
  36. <text>专业设计师免费上门</text>
  37. <text>精准测量 定制方案</text>
  38. </view>
  39. </view>
  40. </swiper-item>
  41. <!-- 第3屏:全程跟踪 -->
  42. <swiper-item>
  43. <view class="swiper-item-content swiper-item-3">
  44. <view class="feature-icon">✅</view>
  45. <view class="feature-title">全程跟踪 安心无忧</view>
  46. <view class="feature-desc">
  47. <text>订单进度实时查看</text>
  48. <text>安装售后全程保障</text>
  49. </view>
  50. </view>
  51. </swiper-item>
  52. <!-- 第4屏:AI专属顾问 -->
  53. <swiper-item>
  54. <view class="swiper-item-content swiper-item-4">
  55. <view class="feature-icon">🤖</view>
  56. <view class="feature-title">AI专属顾问 智能推荐</view>
  57. <view class="feature-desc">
  58. <text>AI智能分析您的需求</text>
  59. <text>专业推荐最适合方案</text>
  60. </view>
  61. <view class="ai-badge">
  62. <text class="ai-badge-icon">✨</text>
  63. <text class="ai-badge-text">AI驱动</text>
  64. </view>
  65. </view>
  66. </swiper-item>
  67. </swiper>
  68. </view>
  69. <!-- 3. 价值亮点卡片区 -->
  70. <view class="value-section">
  71. <view class="value-title">核心功能</view>
  72. <view class="value-cards">
  73. <view class="value-card" bindtap="navigateToCases">
  74. <view class="card-icon">🏠</view>
  75. <view class="card-title">案例展示</view>
  76. <view class="card-desc">海量案例</view>
  77. </view>
  78. <view class="value-card" bindtap="navigateToProducts">
  79. <view class="card-icon">📦</view>
  80. <view class="card-title">产品中心</view>
  81. <view class="card-desc">精选产品</view>
  82. </view>
  83. <view class="value-card" bindtap="navigateToConsultation">
  84. <view class="card-icon">📝</view>
  85. <view class="card-title">方案定制</view>
  86. <view class="card-desc">专属设计</view>
  87. </view>
  88. <view class="value-card" bindtap="navigateToConsultation">
  89. <view class="card-icon">🤖</view>
  90. <view class="card-title">AI推荐</view>
  91. <view class="card-desc">智能匹配</view>
  92. </view>
  93. </view>
  94. </view>
  95. <!-- 4. 操作按钮区 -->
  96. <view class="action-section">
  97. <button class="btn-primary" bindtap="onStart">
  98. <text class="btn-icon">🚀</text>
  99. <text>立即开始探索</text>
  100. </button>
  101. </view>
  102. </view>