style: 更新样式和文本描述
- 添加 bg-green-500 样式类 - 将"创建者"文本改为"大家长" - 更新步数排行榜接口注释说明 - 调整活动页面按钮颜色和移除主题颜色引用
Showing
4 changed files
with
12 additions
and
9 deletions
| 1 | /* | 1 | /* |
| 2 | * @Date: 2023-12-22 10:29:37 | 2 | * @Date: 2023-12-22 10:29:37 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-09-09 11:32:38 | 4 | + * @LastEditTime: 2025-09-09 11:49:32 |
| 5 | * @FilePath: /lls_program/src/api/points.js | 5 | * @FilePath: /lls_program/src/api/points.js |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | */ | 7 | */ |
| ... | @@ -49,7 +49,7 @@ export const collectPointAPI = (params) => fn(fetch.post(Api.COLLECT_POINT, para | ... | @@ -49,7 +49,7 @@ export const collectPointAPI = (params) => fn(fetch.post(Api.COLLECT_POINT, para |
| 49 | export const getPointListAPI = (params) => fn(fetch.get(Api.POINT_LIST, params)); | 49 | export const getPointListAPI = (params) => fn(fetch.get(Api.POINT_LIST, params)); |
| 50 | 50 | ||
| 51 | /** | 51 | /** |
| 52 | - * @description: 查询步数排行榜 | 52 | + * @description: 查询步数排行榜, 加上county参数查询的是相关区域的数据, 数据长度为10个, 不加上county参数查询的是上海数据, 数据长度是20个, 都是固定长度. |
| 53 | * @param {Object} params - 请求参数 | 53 | * @param {Object} params - 请求参数 |
| 54 | * @param {string} params.county - 区县 | 54 | * @param {string} params.county - 区县 |
| 55 | * @returns {Object} response - 响应对象 | 55 | * @returns {Object} response - 响应对象 | ... | ... |
| ... | @@ -17,6 +17,10 @@ | ... | @@ -17,6 +17,10 @@ |
| 17 | background-color: var(--primary-color) !important; | 17 | background-color: var(--primary-color) !important; |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | +.bg-green-500 { | ||
| 21 | + background-color: var(--warning-color) !important; | ||
| 22 | +} | ||
| 23 | + | ||
| 20 | .text-blue-500 { | 24 | .text-blue-500 { |
| 21 | color: var(--primary-color) !important; | 25 | color: var(--primary-color) !important; |
| 22 | } | 26 | } | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-19 14:11:06 | 2 | * @Date: 2022-09-19 14:11:06 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-09-09 11:10:35 | 4 | + * @LastEditTime: 2025-09-07 11:09:26 |
| 5 | * @FilePath: /lls_program/src/pages/ActivitiesCover/index.vue | 5 | * @FilePath: /lls_program/src/pages/ActivitiesCover/index.vue |
| 6 | * @Description: 活动海报页面 - 展示活动信息并处理定位授权 | 6 | * @Description: 活动海报页面 - 展示活动信息并处理定位授权 |
| 7 | --> | 7 | --> |
| ... | @@ -45,7 +45,8 @@ | ... | @@ -45,7 +45,8 @@ |
| 45 | <nut-button | 45 | <nut-button |
| 46 | type="primary" | 46 | type="primary" |
| 47 | size="large" | 47 | size="large" |
| 48 | - :color="THEME_COLORS.PRIMARY" | 48 | + class="join-button" |
| 49 | + color="#3B82F6" | ||
| 49 | :loading="isJoining" | 50 | :loading="isJoining" |
| 50 | @click="checkFamilyStatusAndJoinActivity" | 51 | @click="checkFamilyStatusAndJoinActivity" |
| 51 | > | 52 | > |
| ... | @@ -116,7 +117,7 @@ | ... | @@ -116,7 +117,7 @@ |
| 116 | @click="onLocationConfirm" | 117 | @click="onLocationConfirm" |
| 117 | type="primary" | 118 | type="primary" |
| 118 | size="normal" | 119 | size="normal" |
| 119 | - :color="THEME_COLORS.PRIMARY" | 120 | + color="#007AFF" |
| 120 | block | 121 | block |
| 121 | > | 122 | > |
| 122 | 同意授权 | 123 | 同意授权 |
| ... | @@ -138,8 +139,6 @@ import ShareButton from '../../components/ShareButton/index.vue' | ... | @@ -138,8 +139,6 @@ import ShareButton from '../../components/ShareButton/index.vue' |
| 138 | // 接口信息 | 139 | // 接口信息 |
| 139 | import { getMyFamiliesAPI } from '@/api/family' | 140 | import { getMyFamiliesAPI } from '@/api/family' |
| 140 | import { handleSharePageAuth, addShareFlag } from '@/utils/authRedirect' | 141 | import { handleSharePageAuth, addShareFlag } from '@/utils/authRedirect' |
| 141 | -// 主题颜色配置 | ||
| 142 | -import { THEME_COLORS } from '@/utils/config' | ||
| 143 | 142 | ||
| 144 | // 默认海报图 | 143 | // 默认海报图 |
| 145 | const defaultPoster = 'https://cdn.ipadbiz.cn/lls_prog/images/welcome_1.png'; | 144 | const defaultPoster = 'https://cdn.ipadbiz.cn/lls_prog/images/welcome_1.png'; | ... | ... |
| ... | @@ -178,12 +178,12 @@ | ... | @@ -178,12 +178,12 @@ |
| 178 | </view> | 178 | </view> |
| 179 | </view> | 179 | </view> |
| 180 | 180 | ||
| 181 | - <!-- 右侧:创建者标识 --> | 181 | + <!-- 右侧:大家长标识 --> |
| 182 | <view | 182 | <view |
| 183 | v-if="member.is_my" | 183 | v-if="member.is_my" |
| 184 | class="ml-3 px-2 py-1 bg-yellow-100 text-yellow-600 text-xs rounded flex-shrink-0" | 184 | class="ml-3 px-2 py-1 bg-yellow-100 text-yellow-600 text-xs rounded flex-shrink-0" |
| 185 | > | 185 | > |
| 186 | - 创建者 | 186 | + 大家长 |
| 187 | </view> | 187 | </view> |
| 188 | </view> | 188 | </view> |
| 189 | </view> | 189 | </view> | ... | ... |
-
Please register or login to post a comment