feat(ui): 新增/优化界面样式、图标及交互组件

- 新增多个功能图标(箭头、盾牌、位置等)
- 优化全局按钮、标签、输入框等组件样式
- 修复导航栏高度计算逻辑,适配微信小程序
- 优化消息页、订单页、个人中心等页面布局
- 修复微信支付配置及通知接口问题
这个提交包含在:
2026-11-09 09:57:22 +08:00
父节点 68ac7876fd
当前提交 3ebd795cbb
共有 64 个文件被更改,包括 4756 次插入 和 1923 次删除

查看文件

@@ -1,13 +1,10 @@
<template>
<view class="user-mine-view">
<!-- 头部个人名片与资产核心区 (Zone 1: 一体化沉浸渐变背景) -->
<view class="profile-hero">
<view class="hero-bg-deco deco-lg"></view>
<view class="hero-bg-deco deco-sm"></view>
<!-- 沉浸式透明导航栏(单一大背景贯穿,彻底消除分层断层) -->
<YjyfNavBar theme="transparent" title="个人中心" :fixed="false" />
<!-- 统一固定吸顶导航栏(与其他页面 100% 统一,固定在手机顶部不随滚动划出) -->
<YjyfNavBar theme="orange" title="个人中心" :fixed="true" :placeholder="true" />
<!-- 头部个人名片与资产核心区 -->
<view class="profile-hero" :style="{ marginTop: (-navHeight) + 'px', paddingTop: navHeight + 'px' }">
<view class="hero-body">
<!-- 用户基本信息 -->
<view class="user-card">
@@ -182,7 +179,9 @@
import api from '@/utils/api.js';
import { isLogin, toLogin, setUser, clearAuth } from '@/utils/request.js';
import { getRole, setRole } from '@/utils/role.js';
import { getNavBarMetrics } from '@/utils/system.js';
const navHeight = ref(getNavBarMetrics().totalNavHeight);
const user = ref(null);
const master = ref(null);
const merchant = ref(null);
@@ -342,6 +341,7 @@
}
onMounted(() => {
navHeight.value = getNavBarMetrics().totalNavHeight;
load();
});
@@ -353,6 +353,8 @@
<style scoped>
.user-mine-view {
min-height: 100vh;
width: 100%;
overflow-x: hidden;
background: #F5F6F8;
padding-bottom: calc(150rpx + env(safe-area-inset-bottom));
box-sizing: border-box;
@@ -362,7 +364,11 @@
.profile-hero {
position: relative;
overflow: hidden;
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
background-color: #F0710D;
background-image: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
background-size: 100% 600rpx;
background-position: 0 0;
background-repeat: no-repeat;
padding-bottom: 36rpx;
border-bottom-left-radius: 36rpx;
border-bottom-right-radius: 36rpx;
@@ -371,26 +377,7 @@
.hero-body {
position: relative;
z-index: 2;
padding: 10rpx 32rpx 0;
}
.hero-bg-deco {
position: absolute;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
pointer-events: none;
}
.hero-bg-deco.deco-lg {
width: 360rpx;
height: 360rpx;
right: -80rpx;
top: -100rpx;
}
.hero-bg-deco.deco-sm {
width: 180rpx;
height: 180rpx;
left: -40rpx;
bottom: -60rpx;
padding: 16rpx 32rpx 0;
}
.user-card {
@@ -450,13 +437,16 @@
.role-badge {
margin-left: 14rpx;
padding: 4rpx 16rpx;
height: 40rpx;
padding: 0 16rpx;
border-radius: 20rpx;
background: rgba(255, 255, 255, 0.22);
backdrop-filter: blur(4px);
border: 1rpx solid rgba(255, 255, 255, 0.35);
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.role-badge.is-pro {
@@ -465,9 +455,10 @@
}
.role-badge-txt {
font-size: 20rpx;
font-size: 22rpx;
font-weight: 600;
color: #FFFFFF;
line-height: 1;
}
.role-badge.is-pro .role-badge-txt {
@@ -607,10 +598,13 @@
.wb-btn {
flex-shrink: 0;
padding: 0 24rpx;
height: 56rpx;
line-height: 56rpx;
border-radius: 28rpx;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 28rpx;
height: 60rpx;
line-height: 1;
border-radius: 30rpx;
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
color: #FFFFFF;
font-size: 24rpx;
@@ -758,9 +752,15 @@
}
.partner-tag {
font-size: 20rpx;
padding: 2rpx 14rpx;
border-radius: 14rpx;
display: inline-flex;
align-items: center;
justify-content: center;
height: 40rpx;
line-height: 40rpx;
text-align: center;
font-size: 22rpx;
padding: 0 16rpx;
border-radius: 20rpx;
font-weight: 600;
}