From b55024ee2f42aa93e0ecaa3113bdeb286f6e59ac Mon Sep 17 00:00:00 2001
From: QYF-GitLab1 <1940665526@qq.com>
Date: 星期二, 29 七月 2025 18:01:55 +0800
Subject: [PATCH] 优化按钮显示,教学互动

---
 pages/scanResult/index.wxml |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/pages/scanResult/index.wxml b/pages/scanResult/index.wxml
index 5073613..6766c68 100644
--- a/pages/scanResult/index.wxml
+++ b/pages/scanResult/index.wxml
@@ -7,9 +7,10 @@
       </view>
       <view class="productInfo">
         <text wx:if="{{item.name}}" class="publicCss">{{ item.name }}</text>
-        <text wx:if="{{item.tourism_ISBN}}" class="publicCss">ISBN锛歿{ item.tourism_ISBN }}</text>
-        <text wx:if="{{item.tourism_author}}" class="publicCss">浣滆�咃細{{ item.tourism_author }}</text>
-        <text wx:if="{{item.price}}" class="publicCss">浠锋牸锛�<text style="color:red">锟{ item.price }}</text></text>
+        <!-- <text wx:if="{{item.price}}" class="publicCss"
+          >浠锋牸锛�<text style="color: red">锟{ item.price }}</text></text
+        > -->
+        <text class="type-box">{{item.itemType}}</text>
       </view>
     </view>
   </view>
@@ -22,9 +23,7 @@
       <view class="price">锟{ item.value }}鍏�</view>
       <view class="couponInfo">
         <text>{{ item.name }}</text>
-        <text class="timer">{{
-          item.isForAllProduct ? "鍏ㄥ満鍙敤" : "浠呭彲璐拱鎸囧畾鍟嗗搧"
-          }}</text>
+        <text class="timer">{{ item.isForAllProduct ? "鍏ㄥ満鍙敤" : "浠呭彲璐拱鎸囧畾鍟嗗搧" }}</text>
         <view class="timer">
           <text>{{ item.start }}</text>
           <text>~</text>
@@ -34,11 +33,15 @@
     </view>
   </view>
   <view class="button-example" wx:if="{{productInfo.length > 0 || couponList.length > 0}}">
-    <t-button theme="danger" bindtap="useActiveCode" size="large" block>{{textValue}}</t-button>
+    <t-button bindtap="useActiveCode" size="large" block>{{textValue}}</t-button>
   </view>
   <view class="text">
     <rich-text space="emsp" nodes="{{rules.tourism_content}}" />
   </view>
+  <view class="explain" wx:if="{{textValue == '婵�娲�'}}">
+    <view>婵�娲绘垚鍔熷悗锛岃鍒扳�滀含甯堟櫤鏁欌�濆皬绋嬪簭涓汉涓績鈥滄縺娲诲晢鍝佲�濅腑鏌ョ湅婵�娲诲晢鍝併��</view>
+    <view class="center">婵�娲荤爜鏈�缁堣В閲婃潈褰掑寳浜笀鑼冨ぇ瀛﹀嚭鐗堥泦鍥㈡墍鏈夈��</view>
+  </view>
 </view>
 <view wx:else class="empyt">
   <t-empty icon="error-circle" description="璇锋壂鎻忔纭殑浜岀淮鐮�" />

--
Gitblit v1.9.1