feat: 百科rag
This commit is contained in:
+16
-5
@@ -17,6 +17,9 @@
|
||||
enhanced
|
||||
show-scrollbar="{{false}}"
|
||||
scroll-top="{{scrollTop}}"
|
||||
refresher-enabled="{{true}}"
|
||||
bindrefresherrefresh="onRefresh"
|
||||
refresher-triggered="{{isRefreshing}}"
|
||||
>
|
||||
<view class="search-section">
|
||||
<view class="search-box-card">
|
||||
@@ -111,13 +114,9 @@
|
||||
</view>
|
||||
|
||||
<!-- Spacer -->
|
||||
<view style="height: 160rpx;"></view>
|
||||
<view style="height: 200rpx;"></view>
|
||||
</scroll-view>
|
||||
|
||||
<view class="floating-add-btn" bindtap="openIdentifyModal">
|
||||
<t-icon name="scan" size="40rpx" color="#FFF" />
|
||||
<text>植物识别</text>
|
||||
</view>
|
||||
|
||||
<!-- Identify Popup -->
|
||||
<t-popup visible="{{showIdentifyModal}}" bind:visible-change="onPopupVisibleChange" placement="bottom">
|
||||
@@ -147,4 +146,16 @@
|
||||
</view>
|
||||
</view>
|
||||
</t-popup>
|
||||
|
||||
<!-- Floating Buttons (must be after popup in DOM to stay on top) -->
|
||||
<view class="floating-btns" wx:if="{{!showIdentifyModal}}">
|
||||
<view class="floating-btn chat-btn" bindtap="goToAiChat">
|
||||
<text class="btn-emoji">🤖</text>
|
||||
<text>AI问答</text>
|
||||
</view>
|
||||
<view class="floating-btn scan-btn" bindtap="openIdentifyModal">
|
||||
<t-icon name="scan" size="40rpx" color="#FFF" />
|
||||
<text>植物识别</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user