This commit is contained in:
zpc 2025-10-12 20:33:03 +08:00
parent 40f742d5f8
commit 55a995a76c
2 changed files with 279 additions and 277 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="memberBox"> <view class="memberBox">
<u-toast ref="uToast" /><u-no-network></u-no-network> <u-toast ref="uToast" /><u-no-network></u-no-network>
<u-navbar :is-back="true" back-icon-name="scan" back-icon-color="#000" title="会员中心"></u-navbar> <u-navbar :is-back="true" back-icon-name="scanc" back-icon-color="#000" title="会员中心"></u-navbar>
<view class="headBox coreshop-bg-red"> <view class="headBox coreshop-bg-red">
<!--标题栏--> <!--标题栏-->
@ -34,9 +34,9 @@
<text>余额 {{ userInfo.balance }}</text> <text>余额 {{ userInfo.balance }}</text>
</view> --> </view> -->
</view> </view>
<view class="u-m-l-10 u-m-r-20 u-p-10" @click="syncWeChatInfo()"> <!-- <view class="u-m-l-10 u-m-r-20 u-p-10" @click="syncWeChatInfo()" >
<u-icon name="reload" color="#fff" size="32"></u-icon> <u-icon name="reload" color="#fff" size="32"></u-icon>
</view> </view> -->
<view class="u-m-l-20 u-p-10" @tap="navigateToHandle('/pages/member/setting/userInfo/index')"> <view class="u-m-l-20 u-p-10" @tap="navigateToHandle('/pages/member/setting/userInfo/index')">
<u-icon name="arrow-right" color="#fff" size="32"></u-icon> <u-icon name="arrow-right" color="#fff" size="32"></u-icon>
</view> </view>
@ -232,31 +232,31 @@
name: '我的优惠券', name: '我的优惠券',
icon: 'coupon', icon: 'coupon',
router: '/pages/member/coupon/index', router: '/pages/member/coupon/index',
showItem: true showItem: false
}, },
myBalance: { myBalance: {
name: '我的余额', name: '我的余额',
icon: 'rmb-circle', icon: 'rmb-circle',
router: '/pages/member/balance/index/index', router: '/pages/member/balance/index/index',
showItem: true showItem: false
}, },
myInvoice: { myInvoice: {
name: '我的发票', name: '我的发票',
icon: 'calendar', icon: 'calendar',
router: '/pages/member/invoice/index', router: '/pages/member/invoice/index',
showItem: true showItem: false
}, },
myServices: { myServices: {
name: '我的服务卡', name: '我的服务卡',
icon: 'bell', icon: 'bell',
router: '/pages/member/serviceOrder/index/index', router: '/pages/member/serviceOrder/index/index',
showItem: true showItem: false
}, },
myIntegral: { myIntegral: {
name: '我的积分', name: '我的积分',
icon: 'integral', icon: 'integral',
router: '/pages/member/integral/index', router: '/pages/member/integral/index',
showItem: true showItem: false
}, },
myAddress: { myAddress: {
name: '地址管理', name: '地址管理',
@ -268,13 +268,13 @@
name: '我的收藏', name: '我的收藏',
icon: 'bookmark', icon: 'bookmark',
router: '/pages/member/collection/index', router: '/pages/member/collection/index',
showItem: true showItem: false
}, },
myHistory: { myHistory: {
name: '我的足迹', name: '我的足迹',
icon: 'bag', icon: 'bag',
router: '/pages/member/history/index', router: '/pages/member/history/index',
showItem: true showItem: false
}, },
}, },
vas: { vas: {

View File

@ -1,18 +1,19 @@
<template> <template>
<view class=""> <view class="">
<view class="u-navbar" :style="[navbarStyle]" :class="{ 'u-navbar-fixed': isFixed, 'u-border-bottom': borderBottom }"> <view class="u-navbar" :style="[navbarStyle]"
:class="{ 'u-navbar-fixed': isFixed, 'u-border-bottom': borderBottom }">
<view class="u-status-bar" :style="{ height: statusBarHeight + 'px' }"></view> <view class="u-status-bar" :style="{ height: statusBarHeight + 'px' }"></view>
<view class="u-navbar-inner" :style="[navbarInnerStyle]"> <view class="u-navbar-inner" :style="[navbarInnerStyle]">
<view class="u-back-wrap" v-if="isBack" @tap="goBack"> <view class="u-back-wrap" v-if="isBack" @tap="goBack">
<view class="u-icon-wrap"> <view class="u-icon-wrap">
<u-icon :name="backIconName" :color="backIconColor" :size="backIconSize"></u-icon> <u-icon v-if="backIconName != 'scanc'" :name="backIconName" :color="backIconColor"
:size="backIconSize"></u-icon>
</view> </view>
<view class="u-icon-wrap u-back-text u-line-1" v-if="backText" :style="[backTextStyle]">{{ backText }}</view> <view class="u-icon-wrap u-back-text u-line-1" v-if="backText" :style="[backTextStyle]">{{ backText
}}</view>
</view> </view>
<view class="u-navbar-content-title" v-if="title" :style="[titleStyle]"> <view class="u-navbar-content-title" v-if="title" :style="[titleStyle]">
<view <view class="u-title u-line-1" :style="{
class="u-title u-line-1"
:style="{
color: titleColor, color: titleColor,
fontSize: titleSize + 'rpx', fontSize: titleSize + 'rpx',
fontWeight: titleBold ? 'bold' : 'normal' fontWeight: titleBold ? 'bold' : 'normal'
@ -29,7 +30,8 @@
</view> </view>
</view> </view>
<!-- 解决fixed定位后导航栏塌陷的问题 --> <!-- 解决fixed定位后导航栏塌陷的问题 -->
<view class="u-navbar-placeholder" v-if="isFixed && !immersive" :style="{ width: '100%', height: Number(navbarHeight) + statusBarHeight + 'px' }"></view> <view class="u-navbar-placeholder" v-if="isFixed && !immersive"
:style="{ width: '100%', height: Number(navbarHeight) + statusBarHeight + 'px' }"></view>
</view> </view>
</template> </template>