From 623859790a3f074c103c792e5eaca33b199dbb91 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 06 八月 2024 15:14:41 +0800
Subject: [PATCH] update 花店端的一些细节功能、打印的、合伙人推广二维码的

---
 sub_pages/customer/shop/shop.vue |   34 +++++++++++++++++++++++++++++++---
 1 files changed, 31 insertions(+), 3 deletions(-)

diff --git a/sub_pages/customer/shop/shop.vue b/sub_pages/customer/shop/shop.vue
index 4ce52a8..2318028 100644
--- a/sub_pages/customer/shop/shop.vue
+++ b/sub_pages/customer/shop/shop.vue
@@ -63,7 +63,7 @@
 		<view class="brand-info">
 			<view v-if="flg==='0'" class="brand-info-0">
 				<view class="component-filter-container" style="padding-top: 12rpx;">
-					<view class="flex1">
+					<!-- <view class="flex1">
 						排序
 						<image src="../../../static/common/icon-arrow-down.png" class="icon-arrow-down"></image>
 					</view>
@@ -74,7 +74,7 @@
 					<view class="flex1">
 						参数
 						<image src="../../../static/common/icon-arrow-down.png" class="icon-arrow-down"></image>
-					</view>
+					</view> -->
 				</view>
 				<view class="top-title">
 					报价已包含打包费、材料费、交易佣金
@@ -155,8 +155,12 @@
 				</view>
 				<view class="form-input flex">
 					<view class="label">身份认证</view>
-					<view class="value">个人身份认证</view>
+					<view class="value">{{dto.idcardTypeStr||'未认证'}}</view>
 				</view>
+				<!-- 	<view class="form-input flex">
+					<view class="label">&nbsp;&nbsp;</view>
+					<view class="value">{{'已实名'}}</view>
+				</view> -->
 			</view>
 		</view>
 
@@ -205,6 +209,30 @@
 			this.query.supplierId = this.id
 			this.getList('post')
 		},
+		// #ifdef PUB_CUSTOMER
+		onShareAppMessage() {
+			let that = this;
+			var name = that.currentInfo.customerDTO && that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO &&
+				that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && that.currentInfo.partnerDTO.name || ''
+			var url =
+				`/sub_pages/customer/shop/shop?id=${this.id}&shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数
+			return {
+				title: this.dto.id && this.dto.name ? (this.dto.name + " 的店铺") : "花满芫",
+				path: url,
+			}
+		},
+		onShareTimeline() {
+			let that = this;
+			var name = that.currentInfo.customerDTO && that.currentInfo.customerDTO.name || that.currentInfo.supplierDTO &&
+				that.currentInfo.supplierDTO.name || that.currentInfo.partnerDTO && that.currentInfo.partnerDTO.name || ''
+			var url =
+				`/sub_pages/customer/shop/shop?id=${this.id}&shareId=${this.currentInfo&&this.currentInfo.id||''}&shareName=${name||''}`; //你的转发页面路径拼接参数
+			return {
+				title: this.dto.id && this.dto.name ? (this.dto.name + " 的店铺") : "花满芫",
+				path: url,
+			}
+		},
+		// #endif
 		onReachBottom() {
 			if (this.flg === '0') {
 				this.getMore('post')

--
Gitblit v1.9.3