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 1470505b
authored
Apr 10, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 修改样式
1 parent
836d4e1a
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
7 deletions
pages.json
pages/common/loading.vue
pages/detail/components/ToolBox.vue
pages/detail/detail.vue
router/modules/routes.js
uni.scss
pages.json
View file @
1470505
...
@@ -4,6 +4,12 @@
...
@@ -4,6 +4,12 @@
},
},
"pages"
:
[
"pages"
:
[
{
{
"path"
:
"pages/common/loading"
,
"style"
:
{
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"pages/common/login"
,
"path"
:
"pages/common/login"
,
"style"
:
{
"style"
:
{
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
...
...
pages/common/loading.vue
0 → 100644
View file @
1470505
<
template
>
</
template
>
<
script
type=
'text/ecmascript-6'
>
export
default
{
name
:
''
,
data
()
{
return
{
}
},
mounted
()
{
setTimeout
(()
=>
{
uni
.
reLaunch
({
url
:
'/pages/common/login'
})
},
100
)
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
</
style
>
\ No newline at end of file
\ No newline at end of file
pages/detail/components/ToolBox.vue
View file @
1470505
...
@@ -93,6 +93,7 @@ export default {
...
@@ -93,6 +93,7 @@ export default {
},
},
methods
:
{
methods
:
{
jump
(
item
)
{
jump
(
item
)
{
this
.
show
=
true
this
.
$emit
(
'choose'
,
item
)
this
.
$emit
(
'choose'
,
item
)
},
},
finish
()
{
finish
()
{
...
@@ -106,7 +107,7 @@ export default {
...
@@ -106,7 +107,7 @@ export default {
.tool-box
{
.tool-box
{
position
:
fixed
;
position
:
fixed
;
right
:
40
rpx
;
right
:
40
rpx
;
top
:
5%
;
top
:
calc
(
5%
+
140
rpx
)
;
z-index
:
998
;
z-index
:
998
;
width
:
128
rpx
;
width
:
128
rpx
;
.btn
{
.btn
{
...
...
pages/detail/detail.vue
View file @
1470505
...
@@ -199,10 +199,9 @@ export default {
...
@@ -199,10 +199,9 @@ export default {
.pen-box
{
.pen-box
{
position
:
fixed
;
position
:
fixed
;
right
:
40
rpx
;
right
:
40
rpx
;
top
:
50%
;
top
:
5%
;
transform
:
translateY
(
-50%
);
width
:
128
rpx
;
width
:
120
rpx
;
height
:
128
rpx
;
height
:
120
rpx
;
z-index
:
2
;
z-index
:
2
;
box-shadow
:
0
4px
12px
0
#00000033
;
box-shadow
:
0
4px
12px
0
#00000033
;
border-radius
:
16
rpx
;
border-radius
:
16
rpx
;
...
...
router/modules/routes.js
View file @
1470505
const
routes
=
[
const
routes
=
[
{
{
path
:
'/pages/common/loading'
,
name
:
'loading'
,
meta
:
{
title
:
'加载中...'
,
},
},
{
path
:
"/pages/home/home"
,
path
:
"/pages/home/home"
,
name
:
'home'
,
name
:
'home'
,
meta
:
{
meta
:
{
...
...
uni.scss
View file @
1470505
...
@@ -5,10 +5,10 @@
...
@@ -5,10 +5,10 @@
@keyframes
show-view
{
@keyframes
show-view
{
0
%
{
0
%
{
opacity
:
0
;
opacity
:
0
;
transform
:
scale
(
0
);
transform
:
translateX
(
100%
);
}
}
100
%
{
100
%
{
opacity
:
1
;
opacity
:
1
;
transform
:
scale
(
1
);
transform
:
translateX
(
0
);
}
}
}
}
\ No newline at end of file
\ No newline at end of file
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