From ebc6e7ee67f13e7aa311e737dfcb4c5caed112ee Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 15 八月 2024 18:23:57 +0800
Subject: [PATCH] ll

---
 wechat_jiaxuan/pages/consult/detail.wxml |   28 ++++++++--------------------
 1 files changed, 8 insertions(+), 20 deletions(-)

diff --git a/wechat_jiaxuan/pages/consult/detail.wxml b/wechat_jiaxuan/pages/consult/detail.wxml
index 9768b3e..ee2e68f 100644
--- a/wechat_jiaxuan/pages/consult/detail.wxml
+++ b/wechat_jiaxuan/pages/consult/detail.wxml
@@ -1,5 +1,6 @@
-<view>
-  <!-- <navBar title="{{ navTitle }}"></navBar> -->
+<view style="padding-top: {{ origin != 'b' && info.users && info.users.id ? '148' : '0' }}rpx;">
+    <!-- 鍚嶇墖 -->
+    <idCard users="{{ info.users }}" wx:if="{{ origin != 'b' && info.users && info.users.id }}" />
   <view class="main_content">
     <view class="main_title">{{ info.title }}</view>
     <view class="datetime">鍙戝竷鏃堕棿锛歿{ info.publishDt }}</view>
@@ -8,13 +9,16 @@
 
 
   <!-- footer -->
-  <view class="footer" style="padding-bottom: {{bottomLift}}px;">
+  <view wx:if="{{ origin && origin == 'b' }}">
+    <button hover-class="none" open-type="share" style="bottom: {{bottomLift + 6}}px;" class="share_btn">鍒嗕韩</button>
+  </view>
+  <view wx:else class="footer" style="padding-bottom: {{bottomLift}}px;">
     <view class="btns">
       <!-- <view class="item">
         <image class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image>
         <view class="name">鏀惰棌</view>
       </view> -->
-      <button open-type="share" class="item" bindtap="handleShare">
+      <button hover-class="none" open-type="share" class="item" bindtap="handleShare">
         <image class="icon" src="../../static/icon/detail_nav_share.png" mode="widthFix"></image>
         <view class="name">鍒嗕韩</view>
       </button>
@@ -24,20 +28,4 @@
       </view>
     </view>
   </view>
-  <!--  -->
-  <van-popup position="bottom" show="{{ showShare }}" bind:close="onClose">
-    <view class="share_modal">
-      <view class="btns">
-        <button open-type="share" class="item" bindtap="handleShare">
-          <image src="../../static/icon/wechat.png"></image>
-          <view>鍙戦�佸ソ鍙�</view>
-        </button>
-        <button class="item">
-          <image src="../../static/icon/download.png"></image>
-          <view>涓嬭浇娴锋姤</view>
-        </button>
-      </view>
-      <view bindtap="onClose" class="cancel">鍙栨秷</view>
-    </view>
-  </van-popup>
 </view>
\ No newline at end of file

--
Gitblit v1.9.3