From ea87c908fb6cdfc3e227a584a53e6730efb8262a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 26 十月 2023 13:41:12 +0800
Subject: [PATCH] 小程序代码
---
minipro_standard/pages/mine/mine.vue | 13 +------------
1 files changed, 1 insertions(+), 12 deletions(-)
diff --git a/minipro_standard/pages/mine/mine.vue b/minipro_standard/pages/mine/mine.vue
index de9726e..f39a243 100644
--- a/minipro_standard/pages/mine/mine.vue
+++ b/minipro_standard/pages/mine/mine.vue
@@ -1,8 +1,7 @@
<template>
<view>
<div class="box">
- <!-- :style="{background: 'url(' + img + ')'}" -->
- <div class="box_info">
+ <div class="box_info" :style="{background: 'url(' + img + ')'}">
<image :src="avatar" mode="widthFix" />
<div class="box_info_box">
<text>{{userInfo.realname}}</text>
@@ -11,7 +10,6 @@
<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)">
@@ -128,18 +126,9 @@
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;
--
Gitblit v1.9.3