Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hs-app-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李星剑
hs-app-project
Commits
5f571ba7
Commit
5f571ba7
authored
Feb 16, 2022
by
Zheng Shang Jun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
安全距离和样式修改
parent
3239cf03
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
brands.vue
src/pages/brands/brands.vue
+2
-1
collection.vue
src/pages/brands/collection.vue
+8
-1
hotStyle.vue
src/pages/brands/components/hotStyle.vue
+7
-0
No files found.
src/pages/brands/brands.vue
View file @
5f571ba7
...
@@ -178,10 +178,11 @@ export default {
...
@@ -178,10 +178,11 @@ export default {
overflow-x
:
auto
;
overflow-x
:
auto
;
white-space
:
nowrap
;
white-space
:
nowrap
;
image
{
image
{
border
:
1px
solid
#c7c6c7
;
width
:
240rpx
;
width
:
240rpx
;
height
:
160rpx
;
height
:
160rpx
;
border-radius
:
10rpx
;
border-radius
:
10rpx
;
padding-left
:
20
.3
rpx
;
margin-left
:
20
rpx
;
}
}
}
}
}
}
...
...
src/pages/brands/collection.vue
View file @
5f571ba7
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
list传过去的数据 Array
list传过去的数据 Array
options 右边滑动出现删除的东西 Array
options 右边滑动出现删除的东西 Array
-->
-->
<view
class=
"collect"
>
<view
class=
"collect"
:style=
"`margin-top: $
{safeDiced}px`"
>
<view
class=
"head"
>
<view
class=
"head"
>
<text
class=
"text1"
>
我的收藏
</text>
<text
class=
"text1"
>
我的收藏
</text>
<text
class=
"text2"
>
My collection
</text>
<text
class=
"text2"
>
My collection
</text>
...
@@ -52,6 +52,8 @@ export default {
...
@@ -52,6 +52,8 @@ export default {
],
],
// 编辑点击
// 编辑点击
edit
:
false
,
edit
:
false
,
//顶部安全距离
safeDiced
:
""
,
};
};
},
},
computed
:
{
computed
:
{
...
@@ -105,6 +107,11 @@ export default {
...
@@ -105,6 +107,11 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
collectionFn
();
this
.
collectionFn
();
uni
.
getSystemInfo
({
success
:
(
res
)
=>
{
this
.
safeDiced
=
res
.
safeArea
.
top
;
},
});
},
},
};
};
</
script
>
</
script
>
...
...
src/pages/brands/components/hotStyle.vue
View file @
5f571ba7
...
@@ -123,6 +123,13 @@ export default {
...
@@ -123,6 +123,13 @@ export default {
font-weight
:
400
;
font-weight
:
400
;
color
:
rgba
(
0
,
0
,
0
,
0
.8
);
color
:
rgba
(
0
,
0
,
0
,
0
.8
);
margin
:
24rpx
28rpx
0
20rpx
;
margin
:
24rpx
28rpx
0
20rpx
;
width
:
100%
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-
webkit-box
;
-webkit-line-clamp
:
1
;
-webkit-box-orient
:
vertical
;
}
}
.hotText2
{
.hotText2
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment