From 883ca635ebb2df1ccb9e7f6dc19a88c7ad374cb6 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期日, 21 七月 2024 14:47:00 +0800
Subject: [PATCH] update 部分需求变更

---
 pages/home/supplier-home.vue |   50 +++++++++++++++++++++++++++-----------------------
 1 files changed, 27 insertions(+), 23 deletions(-)

diff --git a/pages/home/supplier-home.vue b/pages/home/supplier-home.vue
index c3ce2fa..c920aee 100644
--- a/pages/home/supplier-home.vue
+++ b/pages/home/supplier-home.vue
@@ -19,9 +19,13 @@
 				<image class="user-icon" v-if="currentInfo.picture" :src="currentInfo.picture" mode="aspectFit"></image>
 
 				<view class="name">
-					<view class="t1">{{ (!!currentInfo.supplierDTO?(currentInfo.supplierDTO.name):"") || currentInfo.nickName || currentInfo.loginName || '-'}}<span
+					<view class="t1">
+						{{ (!!currentInfo.supplierDTO?(currentInfo.supplierDTO.name):"") || currentInfo.nickName || currentInfo.loginName || '-'}}<span
 							v-if="currentInfo.supplierDTO&&currentInfo.supplierDTO.status!=='P'">
 							({{currentInfo.supplierDTO?currentInfo.supplierDTO.statusStr:''}})</span>
+						<span v-if="currentInfo.partnerDTO&&currentInfo.partnerDTO.status!=='P'">
+							({{currentInfo.partnerDTO?currentInfo.partnerDTO.statusStr:''}})</span>
+						<span v-if="!currentInfo.partnerDTO&&currentInfo.type==='partner'">(信息待完善)</span>
 					</view>
 					<view class="t2">{{currentInfo.tel || '暂无电话'}}</view>
 				</view>
@@ -34,7 +38,7 @@
 			<view class="flex tj-container" v-if="selftype==='partner'">.
 				<view class="tj-each">
 					<view class="num total">
-						¥999.80
+						¥0.00
 					</view>
 				</view>
 				<view class="tj-each" style="flex: 1;">
@@ -44,7 +48,7 @@
 				</view>
 			</view>
 			<view class="line"></view>
-			
+
 			<view class="flex tj-container" v-if="selftype==='supplier'">
 				<view class="tj-each">
 					<view class="num">
@@ -114,7 +118,7 @@
 		</view>
 		<view class="m-t-12" @click="getNoticeMore">
 			<uni-notice-bar class="notice-bar" color="#333" background-color="#fff" show-get-more show-icon
-				:scrollable="scrollable" :text="currentNotice.title||'暂无公共'" :key="currentNotice.id" />
+				:scrollable="scrollable" :text="currentNotice.title||'暂无公告'" :key="currentNotice.id" />
 			<span v-if="!currentNotice||!currentNotice.id">&nbsp;</span>
 		</view>
 		<view class="item-container">
@@ -224,24 +228,24 @@
 							this.scrollable = false
 						}
 						let that = this
-						if (this.noticeList.length >= 1) {
-							setInterval(() => {
-								console.log('interval,1')
-								that.currentNoticeIndex += 1
-								that.currentNoticeIndex %= that.noticeList.length
-								that.currentNotice = that.noticeList[that.currentNoticeIndex]
-								that.scrollable = false
-								that.$nextTick(() => {
-									if (that.currentNotice.title && that.currentNotice.title
-										.length >= 30) {
-										that.scrollable = true
-									} else {
-										that.scrollable = false
-									}
-								})
+						// if (this.noticeList.length >= 1) {
+						// 	setInterval(() => {
+						// 		console.log('interval,1')
+						// 		that.currentNoticeIndex += 1
+						// 		that.currentNoticeIndex %= that.noticeList.length
+						// 		that.currentNotice = that.noticeList[that.currentNoticeIndex]
+						// 		that.scrollable = false
+						// 		that.$nextTick(() => {
+						// 			if (that.currentNotice.title && that.currentNotice.title
+						// 				.length >= 30) {
+						// 				that.scrollable = true
+						// 			} else {
+						// 				that.scrollable = false
+						// 			}
+						// 		})
 
-							}, 8000)
-						}
+						// 	}, 8000)
+						// }
 
 					}
 				}
@@ -251,7 +255,7 @@
 		methods: {
 			async toFlowManage() {
 
-				
+
 				if (!this.currentInfo.supplierDTO) {
 					await this.$message.confirm('尚未入驻店铺信息,是否前往入驻?')
 					this.goto('/sub_pages/supplier/supplier-info/supplier-info', true)
@@ -262,7 +266,7 @@
 					this.$message.showLoading()
 					await this.$store.dispatch('getCurrentInfo')
 					this.$message.hideLoading()
-					
+
 					if (this.currentInfo.supplierDTO.status == 'P') {
 
 					} else {

--
Gitblit v1.9.3