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 |   41 ++++++++++++++---------------------------
 1 files changed, 14 insertions(+), 27 deletions(-)

diff --git a/wechat_jiaxuan/pages/consult/detail.wxml b/wechat_jiaxuan/pages/consult/detail.wxml
index 28d7894..ee2e68f 100644
--- a/wechat_jiaxuan/pages/consult/detail.wxml
+++ b/wechat_jiaxuan/pages/consult/detail.wxml
@@ -1,44 +1,31 @@
-<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">涓夌缇庡ソ鐜勫叧锛岃繘灞嬬灛闂村嵏杞界柌鎯�</view>
-    <view class="datetime">鍙戝竷鏃堕棿锛�2021-08-21 10:0</view>
-    <view class="content">
-      瀹㈠巺銆侀鍘呫�佸崸瀹ゃ�佸帹鎴裤�侀槼鍙扳�︹�﹀涓┖闂寸殑绉拌皳锛屽ぇ澶氭湸瀹炴棤鍗庯紝鍞嫭鈥滅巹鍏斥�濅竴璇嶆牸澶栧崕涓芥娊璞°��
-      杩欎釜涓嶅お璧风溂鐨勫皬绌洪棿锛屽彇璇嶆潵鑷亾鏁欙細鈥滅巹鍏斥�濇寚淇偧鍐呬腹杩囩▼涓紝浣撳唴鐨勬皵缁曞贰鍏ㄨ韩鏃讹紝鏈�鍏堥�氳繃鐨勫湴鏂癸紝涔熸湁鈥滃か鐜勫叧鑰咃紝鑷崇巹鑷冲涔嬫満鍏充篃鈥濈殑璇存硶銆�
-    </view>
+    <view class="main_title">{{ info.title }}</view>
+    <view class="datetime">鍙戝竷鏃堕棿锛歿{ info.publishDt }}</view>
+    <mp-html content="{{info.content}}"></mp-html>
   </view>
+
+
   <!-- 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>
-      <view class="sub_btn">
+      <view class="sub_btn" bindtap="handleDesign">
         <image class="sheji" src="../../static/icon/ic_sheji.png" mode="widthFix"></image>
         <view>鍏嶈垂棰勭害涓撳睘璁捐</view>
       </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