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-01 21:00:59 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cc540127c718440a1bc9f2e8cc08b29dd20b2ae1
cc540127
1 parent
972719db
fix(WeRunAuth): 修复微信步数同步成功提示未显示的问题
style(FamilyRank): 调整样式代码格式保持一致性
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
src/components/WeRunAuth.vue
src/pages/FamilyRank/index.vue
src/components/WeRunAuth.vue
View file @
cc54012
...
...
@@ -147,10 +147,10 @@ const getWeRunData = async () => {
const { code, data } = await syncWxStepAPI({ encryptedData: weRunRes.encryptedData, iv: weRunRes.iv });
if (code) {
// 提示获取步数成功
//
Taro.showToast({
// title: `获取步数成功:${mockSteps}步
`,
//
icon: 'none'
//
})
Taro.showToast({
title: `获取步数成功
`,
icon: 'none'
})
console.warn('同步微信步数成功', data);
// todaySteps.value = decryptedData.todaySteps
isLoading.value = false
...
...
src/pages/FamilyRank/index.vue
View file @
cc54012
...
...
@@ -11,8 +11,8 @@
<view class="header">
<view class="nav-tabs">
<!-- 滑动指示器 -->
<view
class="tab-indicator"
<view
class="tab-indicator"
:class="{ 'indicator-shanghai': activeTab === 'shanghai' }"
></view>
<view
...
...
@@ -140,14 +140,14 @@ const isContentSwitching = ref(false)
*/
const switchTab = (tab) => {
if (activeTab.value === tab) return
// 开始切换动画
isContentSwitching.value = true
// 延迟切换内容,让淡出动画先执行
setTimeout(() => {
activeTab.value = tab
// 内容切换后,结束切换状态,开始淡入动画
setTimeout(() => {
isContentSwitching.value = false
...
...
@@ -344,7 +344,7 @@ const myRank = ref({
align-items: center;
position: relative;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
&:hover {
transform: translateY(-10rpx);
}
...
...
@@ -493,7 +493,7 @@ const myRank = ref({
padding: 24rpx 32rpx;
border-bottom: 1rpx solid rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
&:hover {
background: rgba(74, 144, 226, 0.05);
transform: translateX(8rpx);
...
...
@@ -571,7 +571,7 @@ const myRank = ref({
box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.1);
z-index: 99;
transition: all 0.3s ease;
&:hover {
transform: translateY(-4rpx);
box-shadow: 0 12rpx 40rpx rgba(0, 0, 0, 0.15);
...
...
Please
register
or
login
to post a comment