feat(brand): rename product to 帮道
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="icon" href="/static/mentor.png" />
|
||||
<title>银城员工端</title>
|
||||
<title>帮道</title>
|
||||
<script>
|
||||
(function () {
|
||||
var path = window.location.pathname.replace(/\/+$/, '');
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name" : "银城员工端",
|
||||
"name" : "帮道",
|
||||
"appid" : "__UNI__B36D8BE",
|
||||
"description" : "物业AI人力资源系统用户侧",
|
||||
"description" : "帮道员工端",
|
||||
"vueVersion" : "3",
|
||||
"versionName" : "0.1.0",
|
||||
"versionCode" : "100",
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
{
|
||||
"path": "pages/user/broadcast/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "银城大喇叭"
|
||||
"navigationBarTitleText": "帮道大喇叭"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -281,7 +281,7 @@
|
||||
"globalStyle": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "银城员工端",
|
||||
"navigationBarTitleText": "帮道",
|
||||
"navigationBarBackgroundColor": "#f3f5f7",
|
||||
"backgroundColor": "#f3f5f7"
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<view class="brand-lockup">
|
||||
<image class="login-logo" src="/static/brand-logo.png" mode="aspectFit" />
|
||||
<view class="brand-copy">
|
||||
<text class="brand-name">银城帮道</text>
|
||||
<text class="brand-name">帮道</text>
|
||||
<text class="brand-divider">·</text>
|
||||
<text class="login-eyebrow">数字师傅</text>
|
||||
</view>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<view class="page position-page">
|
||||
<view class="brand-bar">
|
||||
<image class="brand-logo" src="/static/brand-logo.png" mode="aspectFit" />
|
||||
<text class="brand-name">银城帮道</text>
|
||||
<text class="brand-name">帮道</text>
|
||||
</view>
|
||||
|
||||
<view class="position-head">
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<view class="page employee-page-shell detail-page">
|
||||
<view class="subpage-header">
|
||||
<button class="subpage-back-button" aria-label="返回银城大喇叭" @click="goBack"><uni-icons type="back" size="20" color="#25282d" /></button>
|
||||
<button class="subpage-back-button" aria-label="返回帮道大喇叭" @click="goBack"><uni-icons type="back" size="20" color="#25282d" /></button>
|
||||
<view class="subpage-heading">
|
||||
<text class="employee-kicker">公司消息</text>
|
||||
<text class="page-title">银城大喇叭</text>
|
||||
<text class="page-title">帮道大喇叭</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<button class="subpage-back-button" aria-label="返回今日" @click="goBack"><uni-icons type="back" size="20" color="#25282d" /></button>
|
||||
<view class="subpage-heading">
|
||||
<text class="employee-kicker">公司消息</text>
|
||||
<text class="page-title">银城大喇叭</text>
|
||||
<text class="page-title">帮道大喇叭</text>
|
||||
<text class="page-subtitle">查看公司发布的通知、制度和重要提醒。</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<!-- Top Hero Header Card -->
|
||||
<view class="hero-identity-card">
|
||||
<view class="hero-brand-bar">
|
||||
<text class="hero-brand-name">银城物业 · 员工端</text>
|
||||
<text class="hero-brand-name">帮道 · 员工端</text>
|
||||
<view class="online-tag">
|
||||
<view class="green-dot" />
|
||||
<text class="online-text">已登录</text>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<view class="brand-bar">
|
||||
<view class="brand-left">
|
||||
<image class="brand-logo" src="/static/brand-logo.png" mode="aspectFit" />
|
||||
<text class="brand-name">银城帮道</text>
|
||||
<text class="brand-name">帮道</text>
|
||||
<view class="brand-status-badge">
|
||||
<view class="status-dot-live"></view>
|
||||
<text class="status-text">AI 在线</text>
|
||||
@@ -227,10 +227,10 @@ const positionProfile = ref(getSelectedPositionProfile());
|
||||
const unreadBroadcastCount = ref<number | null>(null);
|
||||
const hasUnreadBroadcast = computed(() => typeof unreadBroadcastCount.value === 'number' && unreadBroadcastCount.value > 0);
|
||||
const broadcastBellLabel = computed(() => unreadBroadcastCount.value === null
|
||||
? '银城大喇叭,未读状态暂不可用'
|
||||
? '帮道大喇叭,未读状态暂不可用'
|
||||
: unreadBroadcastCount.value > 0
|
||||
? `银城大喇叭,${unreadBroadcastCount.value} 条未读消息`
|
||||
: '银城大喇叭,无未读消息');
|
||||
? `帮道大喇叭,${unreadBroadcastCount.value} 条未读消息`
|
||||
: '帮道大喇叭,无未读消息');
|
||||
const quickQuestions = computed(() => positionProfile.value.quickQuestions);
|
||||
const primaryTipQuestion = computed(() => quickQuestions.value[0] || '岗位SOP');
|
||||
const pendingSopQueryKey = 'aihr_sop_pending_query';
|
||||
|
||||
@@ -72,7 +72,7 @@ export const downloadSummaryCardImage = async (card: SummaryCardResponse) => {
|
||||
let y = 118;
|
||||
context.fillStyle = '#e60012';
|
||||
context.font = '700 28px system-ui, sans-serif';
|
||||
context.fillText('银城数字师傅 · SOP 总结卡', PADDING, y);
|
||||
context.fillText('帮道 · 数字师傅 · SOP 总结卡', PADDING, y);
|
||||
y += 80;
|
||||
context.fillStyle = '#172033';
|
||||
context.font = '800 56px system-ui, sans-serif';
|
||||
|
||||
@@ -15,7 +15,7 @@ const centeredButtonRule = (source, selector) => {
|
||||
assert.match(rule, /line-height:\s*1(?:;|\s)/);
|
||||
};
|
||||
|
||||
test('银城大喇叭仅使用认证后的真实广播接口', async () => {
|
||||
test('帮道大喇叭仅使用认证后的真实广播接口', async () => {
|
||||
const service = await read('../src/services/broadcast.ts');
|
||||
|
||||
assert.match(service, /\/api\/aihr\/broadcast\/unread-count/);
|
||||
@@ -35,9 +35,9 @@ test('首页喇叭只在确认有未读消息时显示红点,未登录保留
|
||||
assert.match(page, /const request = requests\.begin\('broadcast-unread'\);\s*unreadBroadcastCount\.value = null;/);
|
||||
assert.match(page, /visibleAccountKey !== nextAccountKey[\s\S]*unreadBroadcastCount\.value = null;/);
|
||||
assert.match(page, /<button class="brand-bell" :aria-label="broadcastBellLabel"/);
|
||||
assert.match(page, /'银城大喇叭,未读状态暂不可用'/);
|
||||
assert.match(page, /'银城大喇叭,无未读消息'/);
|
||||
assert.match(page, /`银城大喇叭,\$\{unreadBroadcastCount\.value\} 条未读消息`/);
|
||||
assert.match(page, /'帮道大喇叭,未读状态暂不可用'/);
|
||||
assert.match(page, /'帮道大喇叭,无未读消息'/);
|
||||
assert.match(page, /`帮道大喇叭,\$\{unreadBroadcastCount\.value\} 条未读消息`/);
|
||||
assert.match(page, /rememberLoginRedirect\(path\)/);
|
||||
assert.match(page, /uni\.navigateTo\(\{ url: path \}\)/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user