Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5688bf3e
authored
Dec 09, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
排行榜样式修改
1 parent
dfbeb0d9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
packageStudyCenter/pages/staffRank/staffRank.js
packageStudyCenter/pages/staffRank/staffRank.sass
packageStudyCenter/pages/staffRank/staffRank.wxml
packageStudyCenter/pages/staffRank/staffRank.js
View file @
5688bf3
...
@@ -48,6 +48,9 @@ Page({
...
@@ -48,6 +48,9 @@ Page({
getList
()
{
getList
()
{
const
userInfo
=
wx
.
$util
.
getUserInfo
()
const
userInfo
=
wx
.
$util
.
getUserInfo
()
let
{
tabIndex
}
=
this
.
data
let
{
tabIndex
}
=
this
.
data
this
.
setData
({
rankList
:
[]
})
api
.
getStaffStudyRank
({
periodType
:
tabIndex
,
staffPhone
:
userInfo
?.
phone
}).
then
(
res
=>
{
api
.
getStaffStudyRank
({
periodType
:
tabIndex
,
staffPhone
:
userInfo
?.
phone
}).
then
(
res
=>
{
let
{
code
,
data
,
message
}
=
res
let
{
code
,
data
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
...
...
packageStudyCenter/pages/staffRank/staffRank.sass
View file @
5688bf3
...
@@ -57,6 +57,7 @@ page {
...
@@ -57,6 +57,7 @@ page {
}
}
.list
{
.list
{
width
:
100%
;
width
:
100%
;
height
:
calc
(
100vh
-
var
(
--
fontSize426
))
;
.item
{
.item
{
height
:
var
(
--
fontSize128
)
;
height
:
var
(
--
fontSize128
)
;
opacity
:
1
;
opacity
:
1
;
...
...
packageStudyCenter/pages/staffRank/staffRank.wxml
View file @
5688bf3
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
</view>
</view>
<view class="num">{{currentUserRank.duration != null ? currentUserRank.duration : '-'}}小时</view>
<view class="num">{{currentUserRank.duration != null ? currentUserRank.duration : '-'}}小时</view>
</view>
</view>
<
view class="list
">
<
scroll-view scroll-y class="list" enhanced="{{true}}" show-scrollbar="{{false}}
">
<block wx:for="{{rankList}}" wx:key="index">
<block wx:for="{{rankList}}" wx:key="index">
<view class="item">
<view class="item">
<view class="left">
<view class="left">
...
@@ -30,6 +30,6 @@
...
@@ -30,6 +30,6 @@
<view class="num">{{item.duration != null ? item.duration : '-'}}小时</view>
<view class="num">{{item.duration != null ? item.duration : '-'}}小时</view>
</view>
</view>
</block>
</block>
</view>
</
scroll-
view>
</view>
</view>
</view>
</view>
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment