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 98ad6c54
authored
Dec 08, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
走查样式修改
1 parent
45d02d57
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
47 additions
and
18 deletions
packageStudyCenter/pages/staffRank/staffRank.sass
packageStudyCenter/pages/staffRank/staffRank.wxml
packageStudyCenter/pages/studyCenter/components/categoryScreen/categoryScreen.js
packageStudyCenter/pages/studyCenter/components/categoryScreen/categoryScreen.sass
packageStudyCenter/pages/studyCenter/components/categoryScreen/categoryScreen.wxml
packageStudyCenter/pages/staffRank/staffRank.sass
View file @
98ad6c5
...
@@ -4,21 +4,23 @@ page {
...
@@ -4,21 +4,23 @@ page {
}
}
.rank-container
{
.rank-container
{
margin
:
var
(
--
fontSize24
)
var
(
--
fontSize28
)
;
margin
:
var
(
--
fontSize24
)
var
(
--
fontSize28
)
;
background
:
#ffffff
;
.bg
{
.bg
{
width
:
100%
;
width
:
100%
;
height
:
var
(
--
fontSize128
)
;
height
:
var
(
--
fontSize128
)
;
background-image
:
url('https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/studyCenter/rank-bg.png')
;
border-radius
:
var
(
--
fontSize20
)
;
background-size
:
cover
;
overflow
:
hidden
;
background-repeat
:
no-repeat
;
.bg-icon
{
background-position
:
center
;
width
:
100%
;
z-index
:
1
;
height
:
var
(
--
fontSize128
)
;
}
}
}
.content
{
.content
{
padding
:
0
var
(
--
fontSize24
)
;
padding
:
0
var
(
--
fontSize24
)
;
background
:
#ffffff
;
}
}
.tab-box
{
.tab-box
{
margin
:
var
(
--
fontSize8
)
0
var
(
--
fontSize12
)
;
padding-top
:
var
(
--
fontSize8
)
;
margin
:
0
0
var
(
--
fontSize12
)
;
display
:
flex
;
display
:
flex
;
gap
:
var
(
--
fontSize16
)
;
gap
:
var
(
--
fontSize16
)
;
.tab-item
{
.tab-item
{
...
...
packageStudyCenter/pages/staffRank/staffRank.wxml
View file @
98ad6c5
<!--packageStudyCenter/pages/staffRank/staffRank.wxml-->
<!--packageStudyCenter/pages/staffRank/staffRank.wxml-->
<view class="rank-container">
<view class="rank-container">
<view class="bg"></view>
<view class="bg">
<image class="bg-icon" src="{{IMG_URL}}studyCenter/rank-bg.png" mode=""/>
</view>
<view class="content">
<view class="content">
<view class="tab-box">
<view class="tab-box">
<view class="tab-item {{tabIndex == index ? 'active' : ''}}" bindtap="changeTab" data-index="{{index}}" wx:for="{{tabList}}" wx:key="index">{{item}}</view>
<view class="tab-item {{tabIndex == index ? 'active' : ''}}" bindtap="changeTab" data-index="{{index}}" wx:for="{{tabList}}" wx:key="index">{{item}}</view>
...
...
packageStudyCenter/pages/studyCenter/components/categoryScreen/categoryScreen.js
View file @
98ad6c5
// packageStudyCenter/pages/studyCenter/components/categoryScreen/categoryScreen.js
// packageStudyCenter/pages/studyCenter/components/categoryScreen/categoryScreen.js
import
api
from
'~/packageStudyCenter/api'
import
api
from
'~/packageStudyCenter/api'
const
IMG_URL
=
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
Component
({
Component
({
/**
/**
...
@@ -23,7 +24,7 @@ Component({
...
@@ -23,7 +24,7 @@ Component({
* 组件的初始数据
* 组件的初始数据
*/
*/
data
:
{
data
:
{
IMG_URL
},
},
/**
/**
...
...
packageStudyCenter/pages/studyCenter/components/categoryScreen/categoryScreen.sass
View file @
98ad6c5
...
@@ -97,6 +97,22 @@
...
@@ -97,6 +97,22 @@
}
}
}
}
.nothing
{
width
:
100%
;
margin-top
:
var
(
--
fontSize320
)
;
display
:
flex
;
flex-flow
:
column
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#999999
;
.icon
{
width
:
var
(
--
fontSize128
)
;
height
:
var
(
--
fontSize80
)
;
margin-bottom
:
var
(
--
fontSize8
)
;
}
}
.btn-box
{
.btn-box
{
position
:
sticky
;
position
:
sticky
;
padding
:
10rpx
32rpx
;
padding
:
10rpx
32rpx
;
...
...
packageStudyCenter/pages/studyCenter/components/categoryScreen/categoryScreen.wxml
View file @
98ad6c5
<!--packageStudyCenter/pages/studyCenter/components/categoryScreen/categoryScreen.wxml-->
<!--packageStudyCenter/pages/studyCenter/components/categoryScreen/categoryScreen.wxml-->
<scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{navBarHeight }}px + 1px);margin-top:calc({{navBarHeight }}px - 1px);" hidden="{{!show}}">
<scroll-view scroll-y class="confirm-box" style="height:calc(100vh - {{navBarHeight }}px + 1px);margin-top:calc({{navBarHeight }}px - 1px);" hidden="{{!show}}">
<view class="main" style="padding-bottom:{{btnHeight}}px;min-height: calc(100% - {{btnHeight }}px);">
<view class="main" style="padding-bottom:{{btnHeight}}px;min-height: calc(100% - {{btnHeight }}px);">
<block wx:for="{{categoryList}}" wx:key="index">
<block wx:if="{{categoryList.length}}">
<view class="box">
<block wx:for="{{categoryList}}" wx:key="index">
<view class="title">
<view class="box">
{{item.categoryName}}
<view class="title">
</view>
{{item.categoryName}}
<view class="list-box">
</view>
<block wx:for="{{item.children}}" wx:key="index" wx:for-item="subItem" wx:for-index="idx">
<view class="list-box">
<view class="item text-center {{subItem.active?'active':''}}" bindtap="choose" data-target="{{subItem}}">{{subItem.categoryName}}</view>
<block wx:for="{{item.children}}" wx:key="index" wx:for-item="subItem" wx:for-index="idx">
</block>
<view class="item text-center {{subItem.active?'active':''}}" bindtap="choose" data-target="{{subItem}}">{{subItem.categoryName}}</view>
</block>
</view>
</view>
</view>
</block>
</block>
<block wx:else>
<view class="nothing" style="height: calc(100vh - {{fixedHeight}}px - {{navBarHeight}}px);">
<image class="icon" src="{{IMG_URL}}studyCenter/empty_data.png" />
暂无数据
</view>
</view>
</block>
</block>
</view>
</view>
...
...
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