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 fdc4c3e3
authored
Mar 18, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式修改
1 parent
d63dd280
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
2 deletions
packageEquity/pages/residentTarget/residentTarget.js
packageEquity/pages/residentTarget/residentTarget.sass
pages/tabMine/pages/index/index.wxss
packageEquity/pages/residentTarget/residentTarget.js
View file @
fdc4c3e
// packageEquity/pages/residentTarget/residentTarget.js
// packageEquity/pages/residentTarget/residentTarget.js
import
{
taskMarkAsReadApi
}
from
'../../api'
import
{
taskMarkAsReadApi
}
from
'../../api'
import
{
ImgUrl
}
from
'~/config.js'
import
{
ImgUrl
}
from
'~/config.js'
const
navStyle
=
'background-color: transparent;box-shadow:none;'
Page
({
Page
({
/**
/**
...
@@ -8,7 +9,7 @@ Page({
...
@@ -8,7 +9,7 @@ Page({
*/
*/
data
:
{
data
:
{
ImgUrl
:
ImgUrl
+
'/miniProgram/'
,
ImgUrl
:
ImgUrl
+
'/miniProgram/'
,
navStyle
:
'background-color: transparent;box-shadow:none;'
,
navStyle
,
taskInfo
:
{},
taskInfo
:
{},
userInfo
:
{}
userInfo
:
{}
},
},
...
@@ -25,6 +26,11 @@ Page({
...
@@ -25,6 +26,11 @@ Page({
userInfo
:
wx
.
$util
.
getUserInfo
()
userInfo
:
wx
.
$util
.
getUserInfo
()
})
})
},
},
onPageScroll
({
scrollTop
}){
this
.
setData
({
navStyle
:
scrollTop
>
20
?
''
:
navStyle
})
},
markAsRead
(
options
)
{
markAsRead
(
options
)
{
taskMarkAsReadApi
({
id
:
options
?.
id
}).
then
(
res
=>
{
taskMarkAsReadApi
({
id
:
options
?.
id
}).
then
(
res
=>
{
let
{
code
,
data
,
message
}
=
res
let
{
code
,
data
,
message
}
=
res
...
...
packageEquity/pages/residentTarget/residentTarget.sass
View file @
fdc4c3e
...
@@ -5,7 +5,11 @@ page{
...
@@ -5,7 +5,11 @@ page{
.navigation-title
{
.navigation-title
{
font-weight
:
500
;
font-weight
:
500
;
font-size
:
var
(
--
fontSize36
)
;
font-size
:
var
(
--
fontSize36
)
;
color
:
#fff
;
}
@media
screen
and
(
min-device-width
:
600px
)
and
(
-
webkit-min-device-pixel-ratio
:
1
)
{
.navigation-title
{
font-size
:
var
(
--
fontSize22
)
;
}
}
}
.layout
{
.layout
{
...
...
pages/tabMine/pages/index/index.wxss
View file @
fdc4c3e
...
@@ -335,10 +335,22 @@ page {
...
@@ -335,10 +335,22 @@ page {
}
}
.work-title {
.work-title {
width: calc(100% - var(--fontSize64));
height: var(--fontSize100);
height: var(--fontSize100);
position: absolute;
top: 0;
font-size: var(--fontSize28);
font-weight: 500;
}
.work-body {
margin: var(--fontSize100) 0;
height: calc(100% - var(--fontSize200));
overflow: auto;
}
}
.work-body .item {
.work-body .item {
height: var(--fontSize100);
height: var(--fontSize100);
display: flex;
display: flex;
align-items: center;
align-items: center;
...
@@ -402,8 +414,11 @@ page {
...
@@ -402,8 +414,11 @@ page {
.work-footer {
.work-footer {
display: flex;
display: flex;
height: var(--fontSize100);
height: var(--fontSize100);
width: calc(100% - var(--fontSize64));
align-items: center;
align-items: center;
justify-content: space-between;
justify-content: space-between;
position: absolute;
bottom: var(--fontSize10);
}
}
.work-footer .cancel,
.work-footer .cancel,
...
...
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