From 0308cfa37aa4875386622f168943820b2ce08786 Mon Sep 17 00:00:00 2001
From: Mr.Shi <1878285526@qq.com>
Date: 星期三, 13 九月 2023 14:45:38 +0800
Subject: [PATCH] 小程序

---
 minipro_standard/pages/mine/mine.vue |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/minipro_standard/pages/mine/mine.vue b/minipro_standard/pages/mine/mine.vue
index f39a243..de9726e 100644
--- a/minipro_standard/pages/mine/mine.vue
+++ b/minipro_standard/pages/mine/mine.vue
@@ -1,7 +1,8 @@
 <template>
 <view>
 	<div class="box">
-		<div class="box_info" :style="{background: 'url(' + img + ')'}">
+		 <!-- :style="{background: 'url(' + img + ')'}" -->
+		<div class="box_info">
 			<image :src="avatar" mode="widthFix" />
 			<div class="box_info_box">
 				<text>{{userInfo.realname}}</text>
@@ -10,6 +11,7 @@
 					<image src="@/static/mine_ic_change@2x.png" alt="" />
 				</div>
 			</div>
+			<image class="bg" src="@/static/mine_bg@2x.png" mode="widthFix"></image>
 		</div>
 		<div class="box_function">
 			<div class="box_function_item" v-for="(item, index) in MENU" :key="index" @click="jump(item.url)">
@@ -126,10 +128,19 @@
 			align-items: center;
 			background-repeat: no-repeat;
 			background-size: cover;
+			position: relative;
 			image {
 				width: 88rpx;
 				height: 88rpx;
 			}
+			.bg {
+				width: 100%;
+				height: 168rpx;
+				position: absolute;
+				top: 0;
+				left: 0;
+				z-index: -1;
+			}
 			.box_info_box {
 				height: 88rpx;
 				display: flex;

--
Gitblit v1.9.3