feat: ai问答
This commit is contained in:
+24
-3
@@ -17,8 +17,26 @@
|
||||
</view>
|
||||
|
||||
<view class="banner-container">
|
||||
<view class="garden-banner-bg">
|
||||
<text class="banner-deco">🌿🌸🍀🌺</text>
|
||||
<swiper
|
||||
class="banner-swiper"
|
||||
indicator-dots="{{false}}"
|
||||
autoplay="{{true}}"
|
||||
interval="{{4000}}"
|
||||
duration="{{600}}"
|
||||
circular="{{true}}"
|
||||
bindchange="onBannerChange"
|
||||
easing-function="easeInOutCubic"
|
||||
>
|
||||
<swiper-item wx:for="{{bannerList}}" wx:key="*this">
|
||||
<image src="{{item}}" mode="aspectFill" class="banner-image" />
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<view class="banner-dots">
|
||||
<view
|
||||
wx:for="{{bannerList}}"
|
||||
wx:key="*this"
|
||||
class="dot {{currentBanner === index ? 'active' : ''}}"
|
||||
/>
|
||||
</view>
|
||||
<view class="banner-overlay">
|
||||
<text class="count-tag">共养护 {{total}} 盆植物</text>
|
||||
@@ -64,7 +82,10 @@
|
||||
<view class="plant-info">
|
||||
<text class="plant-name">{{item.name}}</text>
|
||||
<view class="status-wrap">
|
||||
<text class="status">生长中</text>
|
||||
<text class="status">{{item.desc || '生长中'}}</text>
|
||||
<view wx:if="{{item.carePlans && item.carePlans.length > 0}}" class="care-dot-badge">
|
||||
<text>{{item.carePlans.length}}项养护</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user