Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-10-01 11:38:21 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d8314e52938fa89538a7979b101661c2a926308d
d8314e52
1 parent
30cb8c7a
docs: 将"拍照留念"统一修改为"亲情展示"
更新多处UI文本,将"拍照留念"统一修改为"亲情展示",保持文案一致性
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
12 deletions
src/components/FamilyAlbum.vue
src/components/PointsCollector.vue
src/components/UploadMediaPopup.vue
src/pages/Dashboard/index.vue
src/pages/UploadMedia/index.config.js
src/pages/UploadMedia/index.vue
src/components/FamilyAlbum.vue
View file @
d8314e5
...
...
@@ -52,7 +52,7 @@
@click="navigateToUpload"
>
<view class="text-gray-400 text-2xl mb-1">+</view>
<view class="text-gray-500 text-xs text-center">
拍照留念
</view>
<view class="text-gray-500 text-xs text-center">
亲情展示
</view>
</view>
</view>
...
...
src/components/PointsCollector.vue
View file @
d8314e5
...
...
@@ -125,8 +125,8 @@ const sourceTypeMap = {
'CHECK_IN': '参与奖励',
'CHECK_IN_COUNT': '完成奖励',
'FAMILY_SIZE': '家庭成员',
'COMPANION_PHOTO': '
陪伴拍照
',
'WHEELCHAIR_COMPANION': '
特殊陪伴
'
'COMPANION_PHOTO': '
亲情展示
',
'WHEELCHAIR_COMPANION': '
勇气积分
'
}
/**
...
...
src/components/UploadMediaPopup.vue
View file @
d8314e5
...
...
@@ -9,7 +9,7 @@
<PopupWrapper
v-model:visible="popupVisible"
position="bottom"
title="
拍照留念
"
title="
亲情展示
"
height="80%"
:close-on-click-overlay="false"
@close="handleClose"
...
...
src/pages/Dashboard/index.vue
View file @
d8314e5
<!--
* @Date: 2025-08-27 17:43:45
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-
09-28 11:28:31
* @LastEditTime: 2025-
10-01 11:30:56
* @FilePath: /lls_program/src/pages/Dashboard/index.vue
* @Description: 首页
-->
...
...
@@ -35,7 +35,7 @@
@sync-failed="handleSyncFailed"
>
<template #default>
<!-- 合并的大卡片:今日步数 + 积分收集器 +
拍照留念
-->
<!-- 合并的大卡片:今日步数 + 积分收集器 +
亲情展示
-->
<template v-if="!showTotalPointsOnly">
<PointsCollector
ref="pointsCollectorRef"
...
...
@@ -71,12 +71,12 @@
</view>
</template>
<!-- 底部:
拍照留念
-->
<!-- 底部:
亲情展示
-->
<template #footer>
<view @tap="openCamera" class="w-full bg-blue-500 text-white py-3 rounded-lg flex flex-col items-center justify-center">
<view class="flex items-center justify-center text-sm">
<Photograph :size="isTabletDevice ? 35 : 20" class="mr-2" />
拍照
留念
,奖励积分
拍照
展示亲情
,奖励积分
</view>
</view>
</template>
...
...
@@ -113,12 +113,12 @@
</view>
</template>
<!-- 底部:
拍照留念
-->
<!-- 底部:
亲情展示
-->
<template #footer>
<view @tap="openCamera" class="w-full bg-blue-500 text-white py-3 rounded-lg flex flex-col items-center justify-center">
<view class="flex items-center justify-center">
<Photograph size="20" class="mr-2" />
拍照
留念
,奖励积分
拍照
展示亲情
,奖励积分
</view>
</view>
</template>
...
...
src/pages/UploadMedia/index.config.js
View file @
d8314e5
export
default
{
navigationBarTitleText
:
'
拍照留念
'
,
navigationBarTitleText
:
'
亲情展示
'
,
navigationBarBackgroundColor
:
'#ffffff'
,
navigationBarTextStyle
:
'black'
,
backgroundColor
:
'#f9fafb'
...
...
src/pages/UploadMedia/index.vue
View file @
d8314e5
<!--
* @Date: 2025-08-28 17:07:39
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-10-01 11:31:18
* @FilePath: /lls_program/src/pages/UploadMedia/index.vue
* @Description: 文件描述
-->
<template>
<view class="min-h-screen bg-gray-50">
...
...
@@ -183,7 +190,7 @@ onMounted(() => {
};
// 根据来源设置页面标题
const title = pageParams.value.from === 'checkin' ? '上传图片' : '
拍照留念
';
const title = pageParams.value.from === 'checkin' ? '上传图片' : '
亲情展示
';
Taro.setNavigationBarTitle({ title });
});
...
...
Please
register
or
login
to post a comment