From d41f1f707dc643b726a42b9d2a63b186dd9e4f28 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 06 八月 2024 16:12:38 +0800
Subject: [PATCH] ll
---
wechat_jiaxuan/pages/consult/detail.wxml | 26 +++++++-------------------
1 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/wechat_jiaxuan/pages/consult/detail.wxml b/wechat_jiaxuan/pages/consult/detail.wxml
index 9768b3e..ec4f9e2 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,7 +9,10 @@
<!-- footer -->
- <view class="footer" style="padding-bottom: {{bottomLift}}px;">
+ <view wx:if="{{ origin && origin == 'b' }}">
+ <button 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>
@@ -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