From cdca21c0c12fa79ad4e85321d0f0960c0c4c3f33 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 06 三月 2026 10:56:17 +0800
Subject: [PATCH] 优化

---
 mini-program/pages/share/share.vue |   34 +++++++++++++++++++++++++++++-----
 1 files changed, 29 insertions(+), 5 deletions(-)

diff --git a/mini-program/pages/share/share.vue b/mini-program/pages/share/share.vue
index a386638..0fa4518 100644
--- a/mini-program/pages/share/share.vue
+++ b/mini-program/pages/share/share.vue
@@ -51,8 +51,9 @@
 					</view>
 				</view>
 			</view>
-			<view class="list-item" style="padding-top: 50rpx; box-sizing: border-box;" v-if="info.inviteRecordList && info.inviteRecordList.length">
+			<view class="list-item" style="padding-top: 50rpx; box-sizing: border-box;">
 				<view class="list-item-top">
+					<text>閭�璇疯褰�</text>
 					<image src="/static/images/yaoqing_title@2x.png" mode="widthFix"></image>
 				</view>
 				<template v-if="info.inviteRecordList && info.inviteRecordList.length">
@@ -70,6 +71,7 @@
 						<view class="statis"  v-if="item.firstOrderStatus !==1" >宸叉敞鍐�</view>
 					</view>
 				</template>
+				<view class="list-item-wu" v-else>绌虹┖濡備篃锛屽揩鍘婚個璇峰惂</view>
 			</view>
 		</view>
 	</view>
@@ -82,7 +84,7 @@
 		},
 		data() {
 			return {
-				backgroundImge: null,
+				backgroundImge: '',
 				info:{}
 			}
 		},
@@ -99,11 +101,14 @@
 			return { 
 				title: '榧庡厓鍐滄満鍟嗗煄-閭�璇峰ソ鍙�',
 				path:path,
-				imageUrl: "/static/images/share.jpg"
+				imageUrl: uni.getStorageSync('backgroundImage').centerInviteBg
 			}
 		},
 		onLoad(){
-			 this.getBase64Img('/static/images/fenxiang_ic@2x.png')
+			if (uni.getStorageSync('backgroundImage')) {
+				this.backgroundImge = uni.getStorageSync('backgroundImage').userInviteBg
+			}
+			 // this.getBase64Img('/static/images/fenxiang_ic@2x.png')
 		},
 		methods:{
 			async  getDataList(){
@@ -148,6 +153,7 @@
 
 <style lang="scss" scoped>
 	.share {
+		min-height: 100vh;
 		.info-rule{
 			width: 30rpx;
 			background: rgba(0,0,0,0.4);
@@ -213,7 +219,7 @@
 			padding: 0 30rpx;
 			box-sizing: border-box;
 			position: relative;
-			top: -210rpx;
+			top: -248rpx;
 			left: 0;
 			.list-item {
 				width: 100%;
@@ -226,6 +232,14 @@
 				&:last-child {
 					margin: 0 !important;
 				}
+				.list-item-wu {
+					width: 100%;
+					text-align: center;
+					font-weight: 400;
+					font-size: 30rpx;
+					color: #999999;
+					margin: 50rpx 0;
+				}
 				.list-item-top {
 					width: 354rpx;
 					height: 72rpx;
@@ -238,6 +252,16 @@
 						width: 100%;
 						height: 100%;
 					}
+					text {
+						font-weight: 600;
+						font-size: 30rpx;
+						color: #FFFFFF;
+						position: absolute;
+						top: 20rpx;
+						left: 50%;
+						z-index: 999;
+						transform: translate(-50%, 0);
+					}
 				}
 				.list-item-row {
 					width: 100%;

--
Gitblit v1.9.3