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-09-12 10:29:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
00d38d4edf3500b39f07faea97a7ae7700c352e1
00d38d4e
1 parent
b29f6957
fix(Activities): 修复无法返回时使用reLaunch跳转首页
style(RankingCard): 更新排行榜卡片背景样式
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
src/components/RankingCard.vue
src/pages/Activities/index.vue
src/components/RankingCard.vue
View file @
00d38d4
<!--
* @Date: 2025-01-09 00:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-11
15:40:19
* @LastEditTime: 2025-09-11
21:35:04
* @FilePath: /lls_program/src/components/RankingCard.vue
* @Description: 排行榜卡片组件
-->
<template>
<view class="ranking-card">
<view class="ranking-card
bg-blue-500 bg-opacity-50
">
<!-- 卡片头部 -->
<view class="card-header">
<view class="card-title">全市排行</view>
...
...
@@ -329,7 +329,8 @@ defineExpose({
<style lang="less">
.ranking-card {
background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 100%);
// background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 100%);
// background: var(--primary-color);
border-radius: 20rpx;
padding: 40rpx;
margin: 30rpx;
...
...
src/pages/Activities/index.vue
View file @
00d38d4
...
...
@@ -99,7 +99,7 @@ const handleGoBack = () => {
delta: 1
}).catch(() => {
// 如果无法返回,则跳转到首页
Taro.
switchTab
({
Taro.
reLaunch
({
url: '/pages/Dashboard/index'
})
})
...
...
Please
register
or
login
to post a comment