Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
zhwy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 997515ac
authored
Sep 26, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整
1 parent
0ae0d32d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
47 deletions
api/env/index.js
pages/tab/equity/components/MenuBox/MenuBox.wxss
api/env/index.js
View file @
997515a
import
{
preReleaseAppId
}
from
'~/config'
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'preRelease'
]
let
index
=
2
let
index
=
3
/**
*
...
...
pages/tab/equity/components/MenuBox/MenuBox.wxss
View file @
997515a
.menu-box {
background: #ffffff;
border-radius: 8rpx;
display: flex;
flex-wrap: wrap;
/* justify-content: space-around; */
padding: 30rpx 16rpx;
}
.menu-item-box {
width: 128rpx;
height: 116rpx;
text-align: center;
margin-right: 4rpx;
}
.menu-item-box:nth-child(4n) {
margin-right: 0;
}
.menu-item-icon {
width: 72rpx;
height: 72rpx;
}
.menu-item-text {
font-weight: 400;
font-size: 24rpx;
color: #282829;
text-align: center;
margin-top: 12rpx;
}
.menu-item {
position: relative;
}
.menu-item .ranle_sing {
position: absolute;
right: -8rpx;
top: -8rpx;
padding: 2rpx 10rpx;
background: #F5222D;
border-radius: 16rpx;
font-weight: 400;
font-size: 20rpx;
color: #F9FAFB;
}
\ No newline at end of file
background: #ffffff;
border-radius: 8rpx;
display: flex;
flex-wrap: wrap;
/* justify-content: space-around; */
padding: 30rpx 16rpx;
}
.menu-item-box {
width: 128rpx;
height: 116rpx;
text-align: center;
margin-right: 4rpx;
}
.menu-item-box:nth-child(5n) {
margin-right: 0;
}
.menu-item-box:nth-child(n + 6) {
margin-top: 32rpx;
}
.menu-item-icon {
width: 72rpx;
height: 72rpx;
}
.menu-item-text {
font-weight: 400;
font-size: 24rpx;
color: #282829;
text-align: center;
margin-top: 12rpx;
}
.menu-item {
position: relative;
}
.menu-item .ranle_sing {
position: absolute;
left: 58rpx;
top: -8rpx;
display: inline-block;
white-space: nowrap;
padding: 2rpx 10rpx;
background: #f5222d;
border-radius: 16rpx;
font-weight: 400;
font-size: 20rpx;
color: #f9fafb;
}
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