From ca73a173f008c8d7a9d700bad897ca24fe2d2203 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 16 十月 2023 09:29:57 +0800
Subject: [PATCH] 111
---
minipro_standard/pages/mine/mine.vue | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/minipro_standard/pages/mine/mine.vue b/minipro_standard/pages/mine/mine.vue
index 1fbb9f3..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,9 +128,18 @@
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;
@@ -192,7 +203,7 @@
width: 350rpx;
height: 88rpx;
background: #F7F7F7;
- border-radius: 8rpx;
+ border-radius: 44rpx;
display: flex;
align-items: center;
justify-content: center;
--
Gitblit v1.9.3