Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 29ba00c5
authored
Oct 25, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复样式
1 parent
d21722cf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
components/Tab/Tab.wxml
pages/tab/index/components/product/product.scss
pages/tab/index/index.scss
utils/request/environment.js
components/Tab/Tab.wxml
View file @
29ba00c
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
<block wx:if="{{openScroll}}">
<block wx:if="{{openScroll}}">
<scroll-view
<scroll-view
class="tab-box {{align}} {{outClassName}}"
class="tab-box {{align}} {{outClassName}}"
style="{{productHeight ? 'height: 68rpx;' : ''}}"
scroll-x
scroll-x
enable-flex
enable-flex
scroll-with-animation
scroll-with-animation
...
...
pages/tab/index/components/product/product.scss
View file @
29ba00c
// 特色产品
// 特色产品
.prod-wrap
{
.prod-wrap
{
background-color
:
#f8fafb
;
background-color
:
#f8fafb
;
border-radius
:
20rpx
20rpx
0
0
;
}
}
.prod-wrap
.big-title
{
.prod-wrap
.big-title
{
margin-left
:
32rpx
;
margin-left
:
32rpx
;
...
@@ -8,6 +9,7 @@
...
@@ -8,6 +9,7 @@
font-weight
:
600
;
font-weight
:
600
;
font-size
:
32rpx
;
font-size
:
32rpx
;
color
:
#323436
;
color
:
#323436
;
padding-top
:
32rpx
;
}
}
.prod-wrap
.nav-wrap
{
.prod-wrap
.nav-wrap
{
white-space
:
nowrap
;
white-space
:
nowrap
;
...
@@ -19,8 +21,7 @@
...
@@ -19,8 +21,7 @@
.prod-wrap
.nav-wrap
.nav
{
.prod-wrap
.nav-wrap
.nav
{
display
:
inline-block
;
display
:
inline-block
;
height
:
64rpx
;
height
:
64rpx
;
border-radius
:
12rpx
;
border-radius
:
4rpx
;
font-weight
:
600
;
font-size
:
24rpx
;
font-size
:
24rpx
;
letter-spacing
:
0
;
letter-spacing
:
0
;
text-align
:
center
;
text-align
:
center
;
...
@@ -28,14 +29,16 @@
...
@@ -28,14 +29,16 @@
line-height
:
64rpx
;
line-height
:
64rpx
;
margin-right
:
16rpx
;
margin-right
:
16rpx
;
background
:
#ffffff
;
background
:
#ffffff
;
border
:
2rpx
solid
#
dde3f
0
;
border
:
2rpx
solid
#
DDE3F
0
;
color
:
#323436
;
color
:
#323436
;
padding
:
0
16rpx
;
padding
:
0
16rpx
;
}
}
.prod-wrap
.nav-wrap
.active-nav
{
.prod-wrap
.nav-wrap
.active-nav
{
color
:
#ffffff
;
color
:
#ffffff
;
font-weight
:
500
;
// background-image: linear-gradient(0deg, #EBEFFF 8%, #FCFDFF 85%);
// background-image: linear-gradient(0deg, #EBEFFF 8%, #FCFDFF 85%);
background-color
:
var
(
--
btnColor
);
background-color
:
var
(
--
btnColor
);
border
:
0rpx
solid
;
// border: 2rpx solid rgba(68,97,240,0.50);
// border: 2rpx solid rgba(68,97,240,0.50);
// box-shadow: 0 8rpx 16rpx 0 rgba(175,187,219,0.35);
// box-shadow: 0 8rpx 16rpx 0 rgba(175,187,219,0.35);
}
}
...
@@ -56,7 +59,7 @@
...
@@ -56,7 +59,7 @@
background-image
:
linear-gradient
(
1deg
,
#ffffff
10%
,
#fdfcff
100%
);
background-image
:
linear-gradient
(
1deg
,
#ffffff
10%
,
#fdfcff
100%
);
border
:
2rpx
solid
#ffffff
;
border
:
2rpx
solid
#ffffff
;
box-shadow
:
0
8rpx
20rpx
0
rgba
(
197
,
205
,
235
,
0
.35
);
box-shadow
:
0
8rpx
20rpx
0
rgba
(
197
,
205
,
235
,
0
.35
);
border-radius
:
20
rpx
;
border-radius
:
8
rpx
;
padding
:
20rpx
24rpx
;
padding
:
20rpx
24rpx
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
position
:
relative
;
position
:
relative
;
...
...
pages/tab/index/index.scss
View file @
29ba00c
...
@@ -59,14 +59,14 @@ page {
...
@@ -59,14 +59,14 @@ page {
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
.img
{
.img
{
width
:
20
px
;
width
:
40r
px
;
height
:
20
px
;
height
:
40r
px
;
}
}
.apply
{
.apply
{
margin-left
:
4px
;
margin-left
:
4px
;
margin-right
:
16px
;
margin-right
:
16px
;
font-weight
:
400
;
font-weight
:
400
;
font-size
:
14
px
;
font-size
:
28r
px
;
color
:
var
(
--
btnColor
);
color
:
var
(
--
btnColor
);
}
}
}
}
...
...
utils/request/environment.js
View file @
29ba00c
...
@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod']
...
@@ -6,7 +6,7 @@ const target = ['ip', 'dev', 'uat', 'prod']
2测试
2测试
3生产
3生产
*/
*/
const
index
=
1
const
index
=
2
const
secretKey
=
{
const
secretKey
=
{
ip
:
{},
ip
:
{},
...
...
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