style: 统一替换橙色渐变主题色并重构导航栏组件

- 新增 back-white.svg 和 home.svg 图标文件
- 重构 YjyfNavBar 组件,默认主题改为橙色,使用 SVG 图标
- 统一各页面导航栏为自定义组件,替换原生导航栏
- 调整所有页面背景色为 #F5F6F8,统一视觉风格
- 优化渐变背景为 135deg 线性渐变,消除分层断层
- 更新 pages.json 配置,所有页面使用自定义导航样式
这个提交包含在:
YuanWen
2026-11-05 14:11:24 +08:00
父节点 127b606e75
当前提交 f60b2df7b3
共有 33 个文件被更改,包括 287 次插入 和 235 次删除

查看文件

@@ -37,11 +37,11 @@
<view class="nav-left" :style="{ width: leftWidth + 'px' }">
<slot name="left">
<view class="back-btn clickable-hover" v-if="canBack" @tap="handleBack">
<text class="back-icon" :class="'icon-' + theme">‹</text>
<image class="back-svg-icon" :src="theme === 'white' ? '/static/icons/back.svg' : '/static/icons/back-white.svg'" mode="aspectFit" />
<text class="back-text" v-if="backText" :class="'icon-' + theme">{{ backText }}</text>
</view>
<view class="home-btn clickable-hover" v-else-if="canHome" @tap="handleHome">
<text class="home-icon" :class="'icon-' + theme">⌂</text>
<image class="home-svg-icon" :src="theme === 'white' ? '/static/icons/home.svg' : '/static/icons/home-white.svg'" mode="aspectFit" />
</view>
</slot>
</view>
@@ -72,7 +72,7 @@
title: { type: String, default: '' },
theme: {
type: String,
default: 'white', // 'white' 白底黑字 | 'orange' 橙金渐变白字 | 'transparent' 透明
default: 'orange', // 统一默认为品牌主题色 'orange'
validator: (v) => ['white', 'orange', 'transparent'].includes(v)
},
customBackground: { type: String, default: '' },
@@ -93,7 +93,11 @@
'pages/index/index',
'pages/order/list',
'pages/message/message',
'pages/mine/mine'
'pages/mine/mine',
'pages/master/hall',
'pages/master/orders',
'pages/master/workbench',
'pages/merchant/workbench'
];
// 安全区域与各尺寸响应式变量
@@ -328,6 +332,12 @@
line-height: 1;
}
.back-svg-icon, .home-svg-icon {
width: 36rpx;
height: 36rpx;
flex-shrink: 0;
}
.back-text {
font-size: 26rpx;
margin-left: 4rpx;
@@ -353,7 +363,7 @@
background: #FFFFFF;
}
.theme-white.has-border {
border-bottom: 1rpx solid #EFEFEF;
border-bottom: 1rpx solid #F0F0F2;
}
.icon-white {
color: #1F1F1F;
@@ -364,7 +374,8 @@
/* 2. 橙金渐变主题 (orange) */
.theme-orange {
background: linear-gradient(135deg, #FF9436 0%, #F0710D 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
box-shadow: 0 4rpx 16rpx rgba(240, 113, 13, 0.12);
}
.icon-orange {
color: #FFFFFF;

查看文件

@@ -1,5 +1,5 @@
{
"pages": [ //pages数组中第一项表示应用启动页
"pages": [
{
"path": "pages/index/index",
"style": {
@@ -16,23 +16,23 @@
},
{
"path": "pages/service/list",
"style": { "navigationBarTitleText": "服务列表" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/service/detail",
"style": { "navigationBarTitleText": "服务详情" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/order/create",
"style": { "navigationBarTitleText": "确认订单" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/order/quick",
"style": { "navigationStyle": "custom", "backgroundColor": "#F6F7F9" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/category/category",
"style": { "navigationStyle": "custom", "backgroundColor": "#F6F7F9" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/order/list",
@@ -65,31 +65,31 @@
},
{
"path": "pages/master/apply",
"style": { "navigationBarTitleText": "师傅入驻" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/master/skills",
"style": { "navigationBarTitleText": "服务技能" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/master/workbench",
"style": { "navigationBarTitleText": "师傅工作台" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/master/hall",
"style": { "navigationBarTitleText": "订单大厅", "enablePullDownRefresh": false }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8", "enablePullDownRefresh": false }
},
{
"path": "pages/master/quote",
"style": { "navigationBarTitleText": "报价管理" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/master/wallet",
"style": { "navigationBarTitleText": "我的钱包" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/master/credit",
"style": { "navigationBarTitleText": "信用与申诉" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/mine/mine",
@@ -97,35 +97,36 @@
},
{
"path": "pages/merchant/apply",
"style": { "navigationBarTitleText": "商家入驻" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/merchant/workbench",
"style": { "navigationBarTitleText": "商家工作台" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/merchant/orders",
"style": { "navigationBarTitleText": "企业订单" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/merchant/batch",
"style": { "navigationBarTitleText": "批量下单" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/merchant/invoice",
"style": { "navigationBarTitleText": "开具发票" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/master/orders",
"style": {
"navigationBarTitleText": "接单管理",
"navigationStyle": "custom",
"backgroundColor": "#F5F6F8",
"enablePullDownRefresh": true,
"backgroundTextStyle": "dark"
}
},
{
"path": "pages/master/detail",
"style": { "navigationStyle": "custom", "backgroundColor": "#F4F5F7" }
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
},
{
"path": "pages/master/success",
@@ -139,9 +140,9 @@
}
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTextStyle": "white",
"navigationBarTitleText": "优匠优服",
"navigationBarBackgroundColor": "#FFFFFF",
"navigationBarBackgroundColor": "#F0710D",
"backgroundColor": "#F5F6F8"
},
"uniIdRouter": {}

查看文件

@@ -1,7 +1,7 @@
<template>
<view class="page">
<!-- 统一规范顶部导航栏(安全距离自适应) -->
<YjyfNavBar theme="white" title="服务地址管理" :border="true" />
<YjyfNavBar theme="orange" title="服务地址管理" />
<view class="list">
<view class="item" v-for="a in list" :key="a.id">
<view class="item-top">

查看文件

@@ -1,17 +1,8 @@
<template>
<view class="cat-page">
<!-- 沉浸式顶部橙色区域:包含状态栏、导航栏与搜索框 -->
<view class="hero-header" :style="{ paddingTop: statusBarHeight + 'px' }">
<!-- 自定义导航栏标题区 -->
<view class="nav-bar" :style="{ height: navBarHeight + 'px' }">
<view class="nav-left" @tap="goHome">
<image class="nav-icon" src="/static/icons/home-white.svg" mode="aspectFit" />
</view>
<view class="nav-title">
<text class="title-txt">发布订单</text>
</view>
<view class="nav-right"></view>
</view>
<view class="hero-header">
<YjyfNavBar theme="transparent" title="发布订单" :fixed="false" :show-home="true" @home="goHome" />
<!-- 搜索栏:白底圆角搜索框 + 品牌胶囊按钮 -->
<view class="search-box-wrap">
@@ -218,14 +209,14 @@
<style scoped>
.cat-page {
min-height: 100vh;
background: #F6F7F9;
background: #F5F6F8;
display: flex;
flex-direction: column;
}
/* 顶部橙色渐变 Hero Header */
.hero-header {
background: linear-gradient(135deg, #FF9436 0%, #F0710D 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
padding-bottom: 28rpx;
box-sizing: border-box;
}
@@ -323,7 +314,7 @@
align-items: center;
justify-content: center;
gap: 8rpx;
background: linear-gradient(135deg, #FF9436 0%, #F0710D 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
height: 64rpx;
padding: 0 28rpx;
border-radius: 32rpx;
@@ -464,7 +455,7 @@
}
.custom-publish-btn {
background: linear-gradient(135deg, #FF9436 0%, #F0710D 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
padding: 0 48rpx;
height: 76rpx;
line-height: 76rpx;

查看文件

@@ -1,7 +1,7 @@
<template>
<view class="page">
<!-- 统一顶部导航栏(安全距离自适应) -->
<YjyfNavBar theme="white" title="优惠券中心" :border="true" />
<YjyfNavBar theme="orange" title="优惠券中心" />
<view class="tabs">
<view class="tab" :class="{ on: tab === 'center' }" @tap="switchTab('center')">领券中心</view>
<view class="tab" :class="{ on: tab === 'mine' }" @tap="switchTab('mine')">我的券{{ counts.unused ? '(' + counts.unused + ')' : '' }}</view>

查看文件

@@ -1,4 +1,4 @@
<!--
<!--
优匠优服 · 首页(大厂标杆商业版 · 琥珀暖橙轻奢设计系统)
严格遵循:无假数据、无emoji、统一微质感矢量图标、彻底解决层级穿透与截断溢出
-->
@@ -414,7 +414,7 @@
============================================================ */
.page {
min-height: 100vh;
background: #F4F6F9;
background: #F5F6F8;
padding-bottom: 220rpx;
position: relative;
overflow-x: hidden;
@@ -424,7 +424,7 @@
/* ---------- 1. 顶部 Header 整体渐变容器 (自然流,杜绝切层) ---------- */
.hero-header-wrap {
position: relative;
background: linear-gradient(180deg, #FF5000 0%, #FF6400 55%, #FF7F14 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
padding-left: 24rpx;
padding-right: 24rpx;
padding-bottom: 48rpx;
@@ -577,7 +577,7 @@
height: 66rpx;
padding: 0 30rpx;
border-radius: 33rpx;
background: linear-gradient(135deg, #FF6800 0%, #EA580C 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
display: flex;
align-items: center;
justify-content: center;
@@ -598,7 +598,7 @@
left: 0;
right: 0;
height: 24rpx;
background: #F4F6F9;
background: #F5F6F8;
border-radius: 24rpx 24rpx 0 0;
}
@@ -917,7 +917,7 @@
width: 8rpx;
height: 30rpx;
border-radius: 4rpx;
background: linear-gradient(180deg, #FF6800 0%, #EA580C 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
margin-right: 12rpx;
}
.title-main {
@@ -1044,7 +1044,7 @@
.grid-book-btn {
padding: 8rpx 20rpx;
border-radius: 20rpx;
background: linear-gradient(135deg, #FF6800 0%, #EA580C 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
box-shadow: 0 4rpx 10rpx rgba(234, 88, 12, 0.30);
}
.grid-book-txt {

查看文件

@@ -1,4 +1,4 @@
<template>
<template>
<view class="page">
<!-- 顶部生活服务场景背景大图与柔和渐变过渡 -->
<view class="hero-bg-wrapper">
@@ -6,16 +6,8 @@
<view class="hero-bg-mask"></view>
</view>
<!-- 顶部安全导航栏(自适应系统状态栏) -->
<view class="nav-bar" :style="{ paddingTop: statusBarHeight + 'px' }">
<view
class="nav-back-btn clickable-hover"
v-if="showBack"
@tap="handleBackOrHome"
>
<image class="nav-back-icon" src="/static/icons/back.svg" mode="aspectFit" />
</view>
</view>
<!-- 统一规范顶部透明导航栏 -->
<YjyfNavBar theme="transparent" title="" :placeholder="false" @back="handleBackOrHome" />
<!-- 页面核心内容区域:极简纯净排版 -->
<view class="main-content">
@@ -583,7 +575,7 @@
width: 100%;
height: 96rpx;
border-radius: 48rpx;
background: linear-gradient(135deg, #FF8D1A 0%, #F0710D 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
box-shadow: 0 12rpx 28rpx rgba(240, 113, 13, 0.28);
display: flex;
align-items: center;
@@ -811,7 +803,7 @@
.drawer-confirm-btn {
height: 88rpx;
border-radius: 44rpx;
background: linear-gradient(135deg, #FF8D36 0%, #F0710D 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
display: flex;
align-items: center;
justify-content: center;

查看文件

@@ -1,8 +1,12 @@
<template>
<template>
<view class="page">
<!-- 头部一体化沉浸大卡(单一大背景贯穿,彻底消除分层断层) -->
<view class="hero">
<text class="hero-t">师傅入驻</text>
<text class="hero-s">实名认证 + 技能认证,审核通过即可接单</text>
<YjyfNavBar theme="transparent" title="师傅入驻" :fixed="false" />
<view class="hero-body">
<text class="hero-t">师傅入驻</text>
<text class="hero-s">实名认证 + 技能认证,审核通过即可接单</text>
</view>
</view>
<view class="status" v-if="info">
@@ -156,7 +160,8 @@
<style scoped>
.page { min-height: 100vh; background: #F5F6F8; padding-bottom: 60rpx; }
.hero { padding: 40rpx 36rpx; background: linear-gradient(160deg, #FFB85C 0%, #F98D25 60%, #ED6F0E 100%); }
.hero { padding-bottom: 36rpx; background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%); }
.hero-body { padding: 10rpx 36rpx 0; }
.hero-t { display: block; font-size: 40rpx; font-weight: 700; color: #fff; }
.hero-s { display: block; margin-top: 10rpx; font-size: 24rpx; color: rgba(255,255,255,0.9); }
.status { margin: 22rpx 28rpx 0; padding: 20rpx 24rpx; background: #FFF7F0; border-radius: 16rpx; display: flex; flex-direction: column; }

查看文件

@@ -1,5 +1,8 @@
<template>
<template>
<view class="page">
<!-- 统一规范顶部白底导航栏 -->
<YjyfNavBar theme="orange" title="信用与申诉" />
<!-- 信用指标面板 -->
<view class="card" v-if="credit">
<view class="card-head">

查看文件

@@ -1,17 +1,13 @@
<template>
<template>
<view class="detail-page">
<!-- 统一顶部导航栏 -->
<view class="nav-bar">
<view class="nav-btn clickable-hover" @tap="goBack">
<image class="nav-icon" src="/static/icons/back.svg" mode="aspectFit" />
</view>
<text class="nav-title">订单详情</text>
<view class="nav-actions">
<YjyfNavBar theme="orange" title="订单详情">
<template #right>
<view class="share-btn clickable-hover" @tap="shareOrder">
<image class="action-icon" src="/static/icons/master/share-action.svg" mode="aspectFit" />
</view>
</view>
</view>
</template>
</YjyfNavBar>
<view class="page-body" v-if="order">
<!-- 1. 顶部师傅围观与抢占提示条(对标工奇兵实机标语) -->
@@ -493,7 +489,7 @@
<style scoped>
.detail-page {
min-height: 100vh;
background: #F4F5F7;
background: #F5F6F8;
padding-bottom: 20rpx;
}

查看文件

@@ -1,20 +1,23 @@
<template>
<view class="page">
<!-- 紧凑师傅状态栏 -->
<view class="hall-header">
<view class="header-main">
<view class="h-user">
<view class="name-line">
<text class="h-name">{{ info ? info.realname : '优匠师傅' }}</text>
<view class="level-badge" v-if="info">
<text class="level-txt">Lv{{ info.level }}</text>
<!-- 顶部一体化沉浸式头部(单一连续背景渐变,彻底消除分层割裂) -->
<view class="hall-hero">
<YjyfNavBar theme="transparent" title="接单大厅" :fixed="false" />
<view class="hall-header-body">
<view class="header-main">
<view class="h-user">
<view class="name-line">
<text class="h-name">{{ info ? info.realname : '优匠师傅' }}</text>
<view class="level-badge" v-if="info">
<text class="level-txt">Lv{{ info.level }}</text>
</view>
</view>
<text class="h-stats">{{ info ? ('综合评分 ' + info.score + ' · 累计完成 ' + info.order_count + ' 单') : '优匠优服师傅工作端' }}</text>
</view>
<view class="work-toggle clickable-hover" :class="{ paused: info && info.work_status === 'off' }" @tap="toggleWork">
<view class="dot"></view>
<text class="toggle-txt">{{ info && info.work_status === 'off' ? '已暂停' : '听单中' }}</text>
</view>
<text class="h-stats">{{ info ? ('综合评分 ' + info.score + ' · 累计完成 ' + info.order_count + ' 单') : '优匠优服师傅工作端' }}</text>
</view>
<view class="work-toggle clickable-hover" :class="{ paused: info && info.work_status === 'off' }" @tap="toggleWork">
<view class="dot"></view>
<text class="toggle-txt">{{ info && info.work_status === 'off' ? '已暂停' : '听单中' }}</text>
</view>
</view>
</view>
@@ -253,14 +256,18 @@
<style scoped>
.page {
min-height: 100vh;
background: #F4F5F7;
background: #F5F6F8;
padding-bottom: 20rpx;
}
/* 顶部师傅状态 */
.hall-header {
background: linear-gradient(135deg, #FFB85C 0%, #F98D25 55%, #ED6F0E 100%);
padding: 24rpx 28rpx;
/* 顶部一体化沉浸师傅状态区(单一连续渐变) */
.hall-hero {
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
position: relative;
overflow: hidden;
}
.hall-header-body {
padding: 6rpx 28rpx 24rpx;
}
.header-main {
display: flex;

查看文件

@@ -1,5 +1,8 @@
<template>
<template>
<view class="page">
<!-- 统一规范顶部白底导航栏 -->
<YjyfNavBar theme="orange" title="接单管理" />
<!-- 顶部状态漏斗看板(对标工奇兵 4 态流转漏斗) -->
<view class="funnel-card">
<view class="funnel-row">

查看文件

@@ -1,5 +1,7 @@
<template>
<template>
<view class="page">
<YjyfNavBar theme="orange" title="报价管理" />
<!-- 针对特定工单提交报价 -->
<view class="card form-card" v-if="orderId">
<view class="card-head">

查看文件

@@ -1,5 +1,7 @@
<template>
<template>
<view class="skills-page">
<YjyfNavBar theme="orange" title="服务技能" />
<!-- 1. 顶部导航与说明区 -->
<view class="header-section">
<view class="tip-banner">
@@ -325,7 +327,7 @@
width: 100%;
height: 88rpx;
line-height: 88rpx;
background: linear-gradient(135deg, #FF7824 0%, #EA580C 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
color: #FFFFFF;
font-size: 30rpx;
font-weight: 700;

查看文件

@@ -1,13 +1,7 @@
<template>
<template>
<view class="success-page">
<!-- 自定义导航栏 -->
<view class="nav-bar">
<view class="nav-btn clickable-hover" @tap="goHall">
<image class="nav-icon" src="/static/icons/back.svg" mode="aspectFit" />
</view>
<text class="nav-title">抢单结果</text>
<view class="nav-placeholder"></view>
</view>
<!-- 统一规范顶部白底导航栏 -->
<YjyfNavBar theme="orange" title="抢单结果" @back="goHall" />
<view class="content-body">
<!-- 1. 成功插画 -->

查看文件

@@ -1,8 +1,10 @@
<template>
<view class="page">
<!-- 资产大卡 -->
<!-- 资产大卡(一体化沉浸大背景) -->
<view class="wallet-hero">
<view class="hero-top">
<YjyfNavBar theme="transparent" title="我的钱包" :fixed="false" />
<view class="wallet-body">
<view class="hero-top">
<text class="hero-lab">可提现余额(元)</text>
<view class="channel-tag">
<image class="wechat-ico" src="/static/icons/wechat.svg" mode="aspectFit" />
@@ -23,6 +25,7 @@
<view class="withdraw-cta clickable-hover" @tap="openWithdraw">
申请提现
</view>
</view>
</view>
<!-- 结算须知 -->
@@ -138,10 +141,11 @@
/* 资产卡片 */
.wallet-hero {
padding: 36rpx 30rpx 32rpx;
background: linear-gradient(160deg,#FFB85C 0%,#F98D25 55%,#ED6F0E 100%);
padding-bottom: 32rpx; position: relative;
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
display: flex; flex-direction: column;
}
.wallet-body { padding: 10rpx 30rpx 0; }
.hero-top { display: flex; align-items: center; justify-content: space-between; }
.hero-lab { font-size: 24rpx; color: rgba(255,255,255,.92); }
.channel-tag {

查看文件

@@ -1,52 +1,57 @@
<template>
<view class="page">
<!-- 1. 师傅顶部个人名片 -->
<!-- 1. 师傅顶部一体化沉浸名片区(单一大背景贯穿,彻底消除分层断层) -->
<view class="profile-hero">
<view class="hero-deco d1"></view>
<view class="hero-deco d2"></view>
<view class="user-block">
<view class="avatar-wrap">
<image class="avatar-img" src="/static/icons/user-avatar.svg" mode="aspectFit" />
<!-- 沉浸式透明导航栏 -->
<YjyfNavBar theme="transparent" title="师傅工作台" :fixed="false" />
<view class="hero-body">
<view class="user-block">
<view class="avatar-wrap">
<image class="avatar-img" src="/static/icons/user-avatar.svg" mode="aspectFit" />
</view>
<view class="user-meta">
<view class="name-row">
<text class="user-name">{{ info ? info.realname : '师傅' }}</text>
<view class="auth-tag">
<image class="auth-ico" src="/static/icons/shield.svg" mode="aspectFit" />
<text class="auth-txt">实名认证师傅</text>
</view>
</view>
<text class="user-level" v-if="info">
等级 Lv{{ info.level }} · 综合评分 {{ info.score }} 分 · 履约 {{ info.order_count }} 单
</text>
</view>
<view class="status-pill clickable-hover" :class="{ off: info && info.work_status === 'off' }" @tap="toggleWork">
<view class="status-dot"></view>
<text class="status-txt">{{ info && info.work_status === 'off' ? '暂停接单' : '听单中' }}</text>
</view>
</view>
<view class="user-meta">
<view class="name-row">
<text class="user-name">{{ info ? info.realname : '师傅' }}</text>
<view class="auth-tag">
<image class="auth-ico" src="/static/icons/shield.svg" mode="aspectFit" />
<text class="auth-txt">实名认证师傅</text>
<!-- 2. 资产工钱大卡(对标工奇兵待结算工钱) -->
<view class="assets-box">
<view class="asset-top">
<text class="asset-title">可提现工钱(元)</text>
<view class="bill-link clickable-hover" @tap="go('/pages/master/wallet')">
<text class="bill-txt">账单明细</text>
<image class="arrow-ico" src="/static/icons/arrow-right.svg" mode="aspectFit" />
</view>
</view>
<text class="user-level" v-if="info">
等级 Lv{{ info.level }} · 综合评分 {{ info.score }} 分 · 履约 {{ info.order_count }} 单
</text>
</view>
<view class="status-pill clickable-hover" :class="{ off: info && info.work_status === 'off' }" @tap="toggleWork">
<view class="status-dot"></view>
<text class="status-txt">{{ info && info.work_status === 'off' ? '暂停接单' : '听单中' }}</text>
</view>
</view>
<!-- 2. 资产工钱大卡(对标工奇兵待结算工钱) -->
<view class="assets-box">
<view class="asset-top">
<text class="asset-title">可提现工钱(元)</text>
<view class="bill-link clickable-hover" @tap="go('/pages/master/wallet')">
<text class="bill-txt">账单明细</text>
<image class="arrow-ico" src="/static/icons/arrow-right.svg" mode="aspectFit" />
<view class="asset-main">
<text class="asset-val">{{ info ? Number(info.money).toFixed(2) : '0.00' }}</text>
<view class="withdraw-btn clickable-hover" @tap="go('/pages/master/wallet')">
申请提现
</view>
</view>
</view>
<view class="asset-main">
<text class="asset-val">{{ info ? Number(info.money).toFixed(2) : '0.00' }}</text>
<view class="withdraw-btn clickable-hover" @tap="go('/pages/master/wallet')">
申请提现
<view class="asset-sub">
<text class="sub-item">今日收入 ¥{{ todayIncome }}</text>
<text class="sub-divider">|</text>
<text class="sub-item">累计收入 ¥{{ totalIncome }}</text>
</view>
</view>
<view class="asset-sub">
<text class="sub-item">今日收入 ¥{{ todayIncome }}</text>
<text class="sub-divider">|</text>
<text class="sub-item">累计收入 ¥{{ totalIncome }}</text>
</view>
</view>
</view>
@@ -203,10 +208,13 @@
<style scoped>
.page { min-height: 100vh; background: #F5F6F8; padding-bottom: 40rpx; }
/* 顶部名片 */
/* 顶部名片(单一连续大渐变) */
.profile-hero {
position: relative; overflow: hidden; padding: 36rpx 28rpx 30rpx;
background: linear-gradient(160deg, #FFB85C 0%, #F98D25 55%, #ED6F0E 100%);
position: relative; overflow: hidden; padding-bottom: 30rpx;
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
}
.hero-body {
position: relative; z-index: 2; padding: 10rpx 28rpx 0;
}
.hero-deco { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.13); }
.d1 { width: 320rpx; height: 320rpx; right: -120rpx; top: -130rpx; }

查看文件

@@ -1,8 +1,12 @@
<template>
<template>
<view class="page">
<!-- 头部一体化沉浸大卡(单一大背景贯穿,彻底消除分层断层) -->
<view class="hero">
<text class="hero-t">商家入驻</text>
<text class="hero-s">企业账号可批量下单、按月对账、开具发票</text>
<YjyfNavBar theme="transparent" title="商家入驻" :fixed="false" />
<view class="hero-body">
<text class="hero-t">商家入驻</text>
<text class="hero-s">企业账号可批量下单、按月对账、开具发票</text>
</view>
</view>
<view class="status" v-if="info">
@@ -143,7 +147,8 @@
<style scoped>
.page { min-height: 100vh; background: #F5F6F8; padding-bottom: 60rpx; }
.hero { padding: 40rpx 36rpx; background: linear-gradient(160deg,#FFB85C 0%,#F98D25 60%,#ED6F0E 100%); }
.hero { padding-bottom: 36rpx; background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%); }
.hero-body { padding: 10rpx 36rpx 0; }
.hero-t { display: block; font-size: 40rpx; font-weight: 700; color: #fff; }
.hero-s { display: block; margin-top: 10rpx; font-size: 24rpx; color: rgba(255,255,255,.9); }
.status { margin: 22rpx 28rpx 0; padding: 20rpx 24rpx; background: #FFF7F0; border-radius: 16rpx; display: flex; flex-direction: column; }

查看文件

@@ -1,5 +1,7 @@
<template>
<template>
<view class="page">
<YjyfNavBar theme="orange" title="批量下单" />
<view class="card">
<view class="card-title">选择服务</view>
<view class="fi">

查看文件

@@ -1,5 +1,8 @@
<template>
<template>
<view class="page">
<!-- 统一规范顶部白底导航栏 -->
<YjyfNavBar theme="orange" title="开具发票" />
<view class="card">
<view class="card-head"><text class="card-title">开票信息</text><text class="card-more" @tap="go('/pages/merchant/apply')">修改 ›</text></view>
<view class="li"><text class="k">发票抬头</text><text class="v">{{ title || '未设置' }}</text></view>

查看文件

@@ -1,5 +1,8 @@
<template>
<template>
<view class="page">
<!-- 统一规范顶部白底导航栏 -->
<YjyfNavBar theme="orange" title="企业订单" />
<view class="tabs">
<view v-for="t in tabs" :key="t.key" class="tab" :class="{ on: cur === t.key }" @tap="switchTab(t.key)">
<text class="tab-txt">{{ t.name }}</text>

查看文件

@@ -1,18 +1,23 @@
<template>
<template>
<view class="page">
<!-- 头部一体化沉浸大卡(单一大背景贯穿,彻底消除分层断层) -->
<view class="header">
<view class="deco"></view>
<view class="h-top">
<view class="h-l">
<text class="h-name">{{ info ? info.name : '商家' }}</text>
<text class="h-meta">{{ info ? ('结算方式:' + (info.settle_type === 'monthly' ? '月结' : '预付')) : '加载中...' }}</text>
<!-- 沉浸式透明导航栏 -->
<YjyfNavBar theme="transparent" title="商家工作台" :fixed="false" />
<view class="h-content">
<view class="h-top">
<view class="h-l">
<text class="h-name">{{ info ? info.name : '商家' }}</text>
<text class="h-meta">{{ info ? ('结算方式:' + (info.settle_type === 'monthly' ? '月结' : '预付')) : '加载中...' }}</text>
</view>
<view class="h-badge">{{ verifyText }}</view>
</view>
<view class="stats">
<view class="stat"><text class="stat-n">{{ info ? info.order_count : 0 }}</text><text class="stat-l">累计订单</text></view>
<view class="stat"><text class="stat-n">{{ info ? info.total_amount : 0 }}</text><text class="stat-l">累计金额</text></view>
<view class="stat"><text class="stat-n">{{ info ? info.invoiceable : 0 }}</text><text class="stat-l">可开票</text></view>
</view>
<view class="h-badge">{{ verifyText }}</view>
</view>
<view class="stats">
<view class="stat"><text class="stat-n">{{ info ? info.order_count : 0 }}</text><text class="stat-l">累计订单</text></view>
<view class="stat"><text class="stat-n">{{ info ? info.total_amount : 0 }}</text><text class="stat-l">累计金额</text></view>
<view class="stat"><text class="stat-n">{{ info ? info.invoiceable : 0 }}</text><text class="stat-l">可开票</text></view>
</view>
</view>
@@ -191,7 +196,8 @@
<style scoped>
.page { min-height: 100vh; background: #F5F6F8; padding-bottom: 60rpx; }
.header { position: relative; padding: 34rpx 30rpx 26rpx; overflow: hidden; background: linear-gradient(160deg,#FFB85C 0%,#F98D25 55%,#ED6F0E 100%); }
.header { position: relative; padding-bottom: 26rpx; overflow: hidden; background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%); }
.h-content { position: relative; z-index: 2; padding: 10rpx 30rpx 0; }
.deco { position: absolute; width: 320rpx; height: 320rpx; right: -120rpx; top: -130rpx; border-radius: 50%; background: rgba(255,255,255,.13); }
.h-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.h-l { flex: 1; min-width: 0; display: flex; flex-direction: column; }

查看文件

@@ -1,7 +1,7 @@
<template>
<view class="page">
<!-- 统一顶部导航栏(安全距离自适应) -->
<YjyfNavBar theme="white" title="消息中心" :border="true" />
<YjyfNavBar theme="orange" title="消息中心" />
<view class="head">
<view class="cats">
<view v-for="c in cats" :key="c.key" class="cat clickable-hover" :class="{ on: category === c.key }" @tap="switchCat(c.key)">{{ c.name }}</view>

查看文件

@@ -1,47 +1,49 @@
<template>
<view class="page">
<!-- 统一规范顶部导航栏(安全距离自适应) -->
<YjyfNavBar theme="orange" title="个人中心" :placeholder="true" />
<!-- 头部个人名片与资产核心区 (Zone 1) -->
<!-- 头部个人名片与资产核心区 (Zone 1: 一体化沉浸渐变背景) -->
<view class="profile-hero">
<view class="hero-bg-deco deco-lg"></view>
<view class="hero-bg-deco deco-sm"></view>
<!-- 用户基本信息 -->
<view class="user-card">
<view class="avatar-wrap">
<image v-if="user && user.avatar" class="avatar-img" :src="user.avatar" mode="aspectFill" />
<image v-else class="avatar-ph-img" src="/static/icons/user-avatar.svg" mode="aspectFit" />
</view>
<view class="user-info">
<view class="name-line">
<text class="user-name">{{ user ? user.nickname : '未登录' }}</text>
<view class="role-badge" :class="{ 'is-pro': isMasterOrMerchant }">
<text class="role-badge-txt">{{ roleText }}</text>
</view>
</view>
<text class="user-mobile" v-if="mobileText">{{ mobileText }}</text>
<text class="user-subtag" v-if="master && master.score">服务评分 {{ master.score }} 分</text>
</view>
</view>
<!-- 沉浸式透明导航栏(单一大背景贯穿,彻底消除分层断层) -->
<YjyfNavBar theme="transparent" title="个人中心" :fixed="false" />
<!-- 核心资产卡片(仅聚焦余额与优惠券,无冗余项) -->
<view class="assets-card">
<view class="asset-item clickable-hover" @tap="showBalanceTip">
<view class="asset-val-box">
<text class="asset-symbol">¥</text>
<text class="asset-number">{{ user ? Number(user.balance).toFixed(2) : '0.00' }}</text>
<view class="hero-body">
<!-- 用户基本信息 -->
<view class="user-card">
<view class="avatar-wrap">
<image v-if="user && user.avatar" class="avatar-img" :src="user.avatar" mode="aspectFill" />
<image v-else class="avatar-ph-img" src="/static/icons/user-avatar.svg" mode="aspectFit" />
</view>
<view class="user-info">
<view class="name-line">
<text class="user-name">{{ user ? user.nickname : '未登录' }}</text>
<view class="role-badge" :class="{ 'is-pro': isMasterOrMerchant }">
<text class="role-badge-txt">{{ roleText }}</text>
</view>
</view>
<text class="user-mobile" v-if="mobileText">{{ mobileText }}</text>
<text class="user-subtag" v-if="master && master.score">服务评分 {{ master.score }} 分</text>
</view>
<text class="asset-title">账户余额</text>
</view>
<view class="asset-line"></view>
<view class="asset-item clickable-hover" @tap="go('/pages/coupon/coupon')">
<view class="asset-val-box">
<text class="asset-number">{{ coupon }}</text>
<text class="asset-unit">张</text>
<!-- 核心资产卡片(仅聚焦余额与优惠券,无冗余项) -->
<view class="assets-card">
<view class="asset-item clickable-hover" @tap="showBalanceTip">
<view class="asset-val-box">
<text class="asset-symbol">¥</text>
<text class="asset-number">{{ user ? Number(user.balance).toFixed(2) : '0.00' }}</text>
</view>
<text class="asset-title">账户余额</text>
</view>
<view class="asset-line"></view>
<view class="asset-item clickable-hover" @tap="go('/pages/coupon/coupon')">
<view class="asset-val-box">
<text class="asset-number">{{ coupon }}</text>
<text class="asset-unit">张</text>
</view>
<text class="asset-title">优惠券</text>
</view>
<text class="asset-title">优惠券</text>
</view>
</view>
</view>
@@ -349,21 +351,27 @@
<style scoped>
.page {
min-height: 100vh;
background: #F6F7F9;
background: #F5F6F8;
padding-bottom: calc(150rpx + env(safe-area-inset-bottom));
box-sizing: border-box;
}
/* ---------- 头部个人主页英雄区 (Zone 1) ---------- */
/* ---------- 头部个人主页英雄区 (Zone 1: 一体化沉浸) ---------- */
.profile-hero {
position: relative;
overflow: hidden;
background: linear-gradient(150deg, #FFA03A 0%, #F57D13 55%, #E66606 100%);
padding: 32rpx 32rpx 36rpx;
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
padding-bottom: 36rpx;
border-bottom-left-radius: 36rpx;
border-bottom-right-radius: 36rpx;
}
.hero-body {
position: relative;
z-index: 2;
padding: 10rpx 32rpx 0;
}
.hero-bg-deco {
position: absolute;
border-radius: 50%;
@@ -662,7 +670,7 @@
align-items: center;
justify-content: space-between;
height: 96rpx;
border-bottom: 1rpx solid #F6F7F9;
border-bottom: 1rpx solid #F5F6F8;
}
.menu-btn {

查看文件

@@ -1,5 +1,7 @@
<template>
<template>
<view class="page">
<YjyfNavBar theme="orange" title="确认订单" />
<view class="svc">
<view class="svc-thumb"><text class="svc-txt">{{ svc ? svc.name.slice(0, 2) : '' }}</text></view>
<view class="svc-info">
@@ -475,7 +477,7 @@
.page { min-height: 100vh; background: #F5F6F8; padding-bottom: 180rpx; }
.svc {
display: flex; align-items: center; padding: 26rpx 28rpx;
background: linear-gradient(160deg, #FFB85C 0%, #F98D25 60%, #ED6F0E 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
}
.svc-thumb {
width: 96rpx; height: 96rpx; border-radius: 18rpx; flex-shrink: 0;

查看文件

@@ -311,7 +311,7 @@
</script>
<style scoped>
.page { min-height: 100vh; background: #F5F6F8; padding-bottom: 160rpx; }
.hero { padding: 40rpx 36rpx; background: linear-gradient(160deg, #FFB85C 0%, #F98D25 60%, #ED6F0E 100%); }
.hero { padding: 40rpx 36rpx; background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%); }
.hero-status { display: block; font-size: 40rpx; font-weight: 700; color: #fff; letter-spacing: 2rpx; }
.hero-tip { display: block; margin-top: 10rpx; font-size: 24rpx; color: rgba(255,255,255,0.9); }

查看文件

@@ -1,7 +1,7 @@
<template>
<view class="page">
<!-- 统一规范顶部导航栏(安全距离自适应) -->
<YjyfNavBar theme="white" title="我的订单" :border="true" />
<YjyfNavBar theme="orange" title="我的订单" />
<view class="tabs">
<view v-for="t in tabs" :key="t.key" class="tab" :class="{ on: cur === t.key }" @tap="switchTab(t.key)">

查看文件

@@ -1,16 +1,8 @@
<template>
<view class="page">
<!-- 自定义顶部导航栏 -->
<view class="nav-header" :style="{ paddingTop: statusBarHeight + 'px' }">
<view class="nav-bar" :style="{ height: navBarHeight + 'px' }">
<view class="nav-back clickable-hover" @tap="handleNavBack">
<image class="back-icon" src="/static/icons/arrow-right.svg" mode="aspectFit" style="transform: rotate(180deg);" />
</view>
<view class="nav-title">
<text class="title-txt">{{ currentStepTitle }}</text>
</view>
<view class="nav-right"></view>
</view>
<!-- 统一规范顶部沉浸式导航栏与步骤条 -->
<view class="nav-header">
<YjyfNavBar theme="transparent" :title="currentStepTitle" :fixed="false" @back="handleNavBack" />
<!-- 步骤指示器条 -->
<view class="step-indicator-bar">
<view class="step-tab" :class="{ active: currentStep >= 1 }">
@@ -1588,14 +1580,14 @@
<style scoped>
.page {
min-height: 100vh;
background: #F4F5F7;
background: #F5F6F8;
padding-bottom: 240rpx;
box-sizing: border-box;
}
/* ---------- 导航栏与步骤条 ---------- */
.nav-header {
background: linear-gradient(135deg, #FF9436 0%, #F0710D 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
position: sticky;
top: 0;
z-index: 99;

查看文件

@@ -1,7 +1,7 @@
<template>
<view class="page">
<!-- 统一顶部导航栏(安全距离自适应) -->
<YjyfNavBar theme="white" title="服务评价" :border="true" />
<YjyfNavBar theme="orange" title="服务评价" />
<view class="card">
<view class="title">给本次服务打分</view>
<view class="stars">

查看文件

@@ -1,5 +1,7 @@
<template>
<template>
<view class="page">
<YjyfNavBar theme="orange" :title="detail ? detail.name : '服务详情'" />
<!-- 骨架屏呼吸占位 (彻底解决白屏) -->
<view class="skeleton-box" v-if="loading && !detail">
<view class="sk-hero yjyf-shimmer"></view>
@@ -71,7 +73,7 @@
.page { min-height: 100vh; background: #F5F6F8; padding-bottom: 160rpx; }
.hero {
display: flex; align-items: center; padding: 34rpx 28rpx;
background: linear-gradient(160deg, #FFB85C 0%, #F98D25 60%, #ED6F0E 100%);
background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%);
}
.hero-thumb {
width: 130rpx; height: 130rpx; border-radius: 22rpx; flex-shrink: 0;

查看文件

@@ -1,5 +1,8 @@
<template>
<template>
<view class="page">
<!-- 统一规范顶部白底导航栏 -->
<YjyfNavBar theme="orange" :title="catName || '服务列表'" />
<view class="head">
<text class="cat">{{ catName || '全部服务' }}</text>
<text class="count">{{ list.length }} 项可预约</text>

查看文件

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="#FFFFFF" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="15 18 9 12 15 6"></polyline>
</svg>

之后

宽度:  |  高度:  |  大小: 235 B

查看文件

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="#1F1F1F" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round">
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>
<polyline points="9 22 9 12 15 12 15 22"/>
</svg>

之后

宽度:  |  高度:  |  大小: 292 B