Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c0cf8be1
authored
Apr 26, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 修改样式
1 parent
a5662e01
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
74 additions
and
57 deletions
assets/css/sprite.scss
assets/images/home/tab-bg.webp
assets/images/sprite.png
components/MessageBox/index.vue
pages/detail/components/payPop.vue
pages/home/components/KfBox.vue
pages/home/components/RecordList.vue
pages/home/components/SettingBox.vue
pages/home/home.vue
assets/css/sprite.scss
View file @
c0cf8be
...
...
@@ -26,6 +26,9 @@
.icon-pen
{
width
:
120rpx
;
height
:
120rpx
;
background-position
:
-1160rpx
-294rpx
;}
.icon-qw
{
width
:
48rpx
;
height
:
48rpx
;
background-position
:
-1284rpx
-464rpx
;}
.icon-record-active
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-180rpx
-588rpx
;}
.icon-record-day
{
width
:
712rpx
;
height
:
284rpx
;
background-position
:
0rpx
0rpx
;}
.icon-record-month
{
width
:
712rpx
;
height
:
284rpx
;
background-position
:
0rpx
-294rpx
;}
.icon-record-week
{
width
:
712rpx
;
height
:
284rpx
;
background-position
:
-722rpx
0rpx
;}
.icon-record
{
width
:
80rpx
;
height
:
80rpx
;
background-position
:
-270rpx
-588rpx
;}
.icon-setting
{
width
:
32rpx
;
height
:
32rpx
;
background-position
:
-1198rpx
-588rpx
;}
.icon-tool-1
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-442rpx
-588rpx
;}
...
...
@@ -36,7 +39,4 @@
.icon-tool-6
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-792rpx
-588rpx
;}
.icon-tool-file
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-862rpx
-588rpx
;}
.icon-tool-finish
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-932rpx
-588rpx
;}
.icon-tool-pay
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-1002rpx
-588rpx
;}
.icon-record-day
{
width
:
712rpx
;
height
:
284rpx
;
background-position
:
0rpx
0rpx
;}
.icon-record-week
{
width
:
712rpx
;
height
:
284rpx
;
background-position
:
0rpx
-294rpx
;}
.icon-record-month
{
width
:
712rpx
;
height
:
284rpx
;
background-position
:
-722rpx
0rpx
;}
\ No newline at end of file
.icon-tool-pay
{
width
:
60rpx
;
height
:
60rpx
;
background-position
:
-1002rpx
-588rpx
;}
\ No newline at end of file
assets/images/home/tab-bg.webp
0 → 100644
View file @
c0cf8be
No preview for this file type
assets/images/sprite.png
View file @
c0cf8be
1.04 MB
|
W:
|
H:
1.05 MB
|
W:
|
H:
2-up
Swipe
Onion skin
components/MessageBox/index.vue
View file @
c0cf8be
...
...
@@ -10,6 +10,17 @@
:style=
"
{ width: popupW + 'rpx', minHeight: popupH + 'rpx',maxHeight: maxHeight + 'rpx' }"
>
<view
class=
"tips-content"
>
<view
class=
"icon-close-box flex"
@
click=
"close"
>
<uni-icons
class=
"icon-close"
type=
"closeempty"
:size=
"18"
color=
"#1A1A1A"
></uni-icons>
</view>
<view
class=
"tips-title"
>
<template
v-if=
"back"
>
<view
...
...
@@ -18,10 +29,6 @@
></view>
</
template
>
{{ title }}
<view
class=
"icon-close"
@
click=
"close"
>
×
</view>
</view>
<view
class=
"tips-text"
...
...
@@ -129,6 +136,16 @@ export default {
padding
:
48
rpx
;
box-sizing
:
border-box
;
height
:
calc
(
100%
-
100
rpx
);
position
:
relative
;
.icon-close-box
{
position
:
absolute
;
right
:
0
;
top
:
0
;
width
:
120
rpx
;
height
:
120
rpx
;
justify-content
:
center
;
z-index
:
2
;
}
.tips-title
{
position
:
relative
;
width
:
100%
;
...
...
@@ -136,16 +153,6 @@ export default {
font-size
:
32
rpx
;
color
:
#292d33
;
text-align
:
center
;
.icon-close
{
position
:
absolute
;
right
:
0
;
top
:
-30
rpx
;
width
:
160
rpx
;
font-size
:
50
rpx
;
text-align
:
right
;
padding-right
:
20
rpx
;
line-height
:
96
rpx
;
}
.icon-back
{
position
:
absolute
;
left
:
0
;
...
...
pages/detail/components/payPop.vue
View file @
c0cf8be
...
...
@@ -16,9 +16,15 @@
<view
class=
"popup-box"
>
<view
class=
"payment-title"
>
{{
title
}}
<view
class=
"
icon-close
"
class=
"
close flex
"
@
click=
"close"
>
×
</view>
>
<uni-icons
type=
"closeempty"
:size=
"18"
color=
"#1A1A1A"
></uni-icons>
</view>
</view>
<view
class=
"popup-content"
>
<view
class=
"tab-list"
>
...
...
@@ -180,16 +186,13 @@ export default {
padding
:
24
rpx
0
26
rpx
;
text-align
:
center
;
border-bottom
:
1px
solid
#e8e8e8
;
.
icon-
close
{
.close
{
position
:
absolute
;
right
:
0
;
top
:
0
;
width
:
160
rpx
;
width
:
96
rpx
;
height
:
96
rpx
;
font-size
:
50
rpx
;
text-align
:
right
;
padding-right
:
20
rpx
;
line-height
:
96
rpx
;
justify-content
:
center
;
}
}
}
...
...
pages/home/components/KfBox.vue
View file @
c0cf8be
...
...
@@ -11,7 +11,7 @@
>
<uni-icons
type=
"closeempty"
:size=
"1
4
"
:size=
"1
8
"
color=
"#1A1A1A"
></uni-icons>
</view>
...
...
pages/home/components/RecordList.vue
View file @
c0cf8be
...
...
@@ -16,14 +16,16 @@
<view
class=
"content"
>
<view
class=
"total"
>
<view
class=
"label"
>
{{
i
.
label
}}
</view>
<view
class=
"num"
>
{{
i
.
count
==
null
?
'-'
:
i
.
count
}}
</view>
<view
class=
"num-box"
>
<view
class=
"num"
>
{{
i
.
count
==
null
?
'-'
:
i
.
count
}}
</view>
</view>
</view>
<view
class=
"duration"
>
<view
class=
"label"
>
平均接待时长
</view>
<view
class=
"num"
>
{{
i
.
minutes
||
'-'
}}
<view
class=
"num
-box
"
>
<view
class=
"num"
>
{{
i
.
minutes
||
'-'
}}
</view>
<view
class=
"unit"
>
分
</view>
{{
i
.
seconds
||
'-'
}}
<view
class=
"num"
>
{{
i
.
seconds
||
'-'
}}
</view>
<view
class=
"unit"
>
秒
</view>
</view>
</view>
...
...
@@ -236,7 +238,7 @@ export default {
}
}
,
changeIndex
(
index
)
{
if
(
this
.
dateIndex
==
index
)
return
if
(
this
.
dateIndex
==
index
)
return
this
.
flag
=
false
this
.
nothing
=
false
this
.
total
=
0
...
...
@@ -280,6 +282,10 @@ export default {
<
/script
>
<
style
scoped
lang
=
"scss"
>
@
font
-
face
{
font
-
family
:
"numberBold"
;
src
:
url
(
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/font/D-DIN-PRO-700-Bold.ttf"
);
}
.
record
-
box
{
box
-
sizing
:
border
-
box
;
height
:
100
%
;
...
...
@@ -371,13 +377,16 @@ export default {
.
label
{
margin
-
bottom
:
16
rpx
;
}
.
num
{
font
-
size
:
48
rpx
;
font
-
weight
:
700
;
}
.
unit
{
font
-
weight
:
500
;
font
-
size
:
24
rpx
;
.
num
-
box
{
.
num
{
font
-
family
:
"numberBold"
;
font
-
size
:
48
rpx
;
font
-
weight
:
700
;
}
.
unit
{
font
-
weight
:
500
;
font
-
size
:
24
rpx
;
}
}
}
.
total
{
...
...
@@ -385,7 +394,7 @@ export default {
}
.
duration
{
.
num
{
.
num
-
box
{
display
:
flex
;
align
-
items
:
baseline
;
}
...
...
@@ -408,7 +417,7 @@ export default {
z
-
index
:
3
;
width
:
calc
(
100
%
+
120
rpx
);
transform
:
translateX
(
-
60
rpx
);
padding
-
top
:
6
0
rpx
;
padding
-
top
:
8
0
rpx
;
.
data
-
tabs
{
display
:
flex
;
justify
-
content
:
space
-
between
;
...
...
@@ -463,20 +472,10 @@ export default {
.
sticky
{
position
:
sticky
;
top
:
0
;
background
-
image
:
url
(
"../../../assets/images/home/bg.webp"
);
background
-
size
:
100
vw
100
vh
;
background
-
position
:
-
220
rpx
0
;
background
-
image
:
url
(
"../../../assets/images/home/tab-bg.webp"
);
background
-
size
:
100
%
240
rpx
;
background
-
attachment
:
fixed
!
important
;
&
::
after
{
position
:
absolute
;
left
:
0
rpx
;
bottom
:
-
80
rpx
;
width
:
calc
(
100
vw
-
220
rpx
);
height
:
80
rpx
;
transform
:
scaleY
(
-
1
);
background
-
image
:
linear
-
gradient
(
180
deg
,
#
e9f1fe00
0
%
,
#
f3f7ff
100
%
);
content
:
""
;
}
padding
:
80
rpx
0
90
rpx
;
}
.
nothing
{
width
:
100
%
;
...
...
@@ -502,6 +501,11 @@ export default {
bottom
:
0
;
width
:
calc
(
100
vw
-
220
rpx
);
height
:
80
rpx
;
background
-
image
:
linear
-
gradient
(
180
deg
,
#
e9f1fe00
0
%
,
#
e9f1fe
100
%
);
background
-
image
:
linear
-
gradient
(
180
deg
,
#
e9f1fe00
0
%
,
#
e9f1fe
50
%
,
#
e9f1fe
100
%
);
}
<
/style
>
pages/home/components/SettingBox.vue
View file @
c0cf8be
...
...
@@ -10,7 +10,7 @@
>
<uni-icons
type=
"closeempty"
:size=
"1
4
"
:size=
"1
8
"
color=
"#1A1A1A"
></uni-icons>
</view>
...
...
@@ -149,6 +149,8 @@ export default {
color
:
#333333
;
.sprite-icon
{
margin-bottom
:
12
rpx
;
box-shadow
:
0
0
24
rpx
0
#3682ef33
;
border-radius
:
40
rpx
;
}
.version
{
margin-top
:
8
rpx
;
...
...
pages/home/home.vue
View file @
c0cf8be
...
...
@@ -583,7 +583,8 @@ export default {
height
:
416
rpx
;
border
:
2
rpx
solid
#ffffff
;
border-radius
:
68
rpx
;
margin
:
auto
;
margin
:
152px
auto
0
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
...
...
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