hookehuyr

fix: 更新分享功能的标题文案

修改Dashboard和RewardDetail页面的分享标题,使其更符合产品需求
1 <!-- 1 <!--
2 * @Date: 2025-08-27 17:43:45 2 * @Date: 2025-08-27 17:43:45
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-09-16 22:15:45 4 + * @LastEditTime: 2025-09-17 14:28:08
5 * @FilePath: /lls_program/src/pages/Dashboard/index.vue 5 * @FilePath: /lls_program/src/pages/Dashboard/index.vue
6 * @Description: 首页 6 * @Description: 首页
7 --> 7 -->
...@@ -467,7 +467,7 @@ useLoad((options) => { ...@@ -467,7 +467,7 @@ useLoad((options) => {
467 */ 467 */
468 const onShareAppMessage = (res) => { 468 const onShareAppMessage = (res) => {
469 const shareData = { 469 const shareData = {
470 - title: '欢迎加入老来赛', 470 + title: '和家人一起走路、一起打卡、一起兑换',
471 path: `/pages/Dashboard/index`, 471 path: `/pages/Dashboard/index`,
472 imageUrl: '' 472 imageUrl: ''
473 }; 473 };
......
...@@ -257,12 +257,12 @@ useLoad((options) => { ...@@ -257,12 +257,12 @@ useLoad((options) => {
257 */ 257 */
258 const onShareAppMessage = (res) => { 258 const onShareAppMessage = (res) => {
259 // 确保数据已加载,提供默认值 259 // 确保数据已加载,提供默认值
260 - const title = reward.value?.title ? `${reward.value.title}` : '精彩优惠券等你来兑换'; 260 + // const title = reward.value?.title ? `${reward.value.title}` : '精彩优惠券等你来兑换';
261 const shareId = reward.value?.id || couponId.value || ''; 261 const shareId = reward.value?.id || couponId.value || '';
262 // const imageUrl = reward.value?.banner || ''; 262 // const imageUrl = reward.value?.banner || '';
263 263
264 const shareData = { 264 const shareData = {
265 - title: title, 265 + title: '众多抵用优惠券等你健步积分来换',
266 path: addShareFlag(`/pages/RewardDetail/index?id=${shareId}`), 266 path: addShareFlag(`/pages/RewardDetail/index?id=${shareId}`),
267 // imageUrl: imageUrl 267 // imageUrl: imageUrl
268 }; 268 };
......