Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_scan
Project
Project
Details
Activity
Releases
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
android
uniapp_scan
Commits
0f90c789
Commit
0f90c789
authored
Oct 17, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
79d303a5
Pipeline
#414
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
24 deletions
+28
-24
index.vue
scan/pages/index/index.vue
+28
-24
No files found.
scan/pages/index/index.vue
View file @
0f90c789
<
template
>
<
template
>
<view
class=
"body"
>
<view
class=
"body"
>
首页
<scroll-view
scroll-y
style=
"height: 100%;"
>
<view
class=
"content"
>
<image
style=
"border-radius:10rpx; width: 100%;height: 360rpx;"
src=
"https://content.volccdn.com/obj/feedcoop/skit/0641.jpg"
mode=
"scaleToFill"
></image>
<view
style=
"font-size: 30rpx;font-weight: 777;margin-top: 20rpx;margin-bottom: 16rpx;margin-left: 40rpx;"
>
热门功能
</view>
<view
style=
"display: flex;flex-direction: row;width: 100%;justify-content:space-between;height: 300rpx;"
>
<image
style=
"border-radius:10rpx; width: 50%;height: 300rpx;"
src=
"https://content.volccdn.com/obj/feedcoop/skit/0641.jpg"
mode=
"scaleToFill"
></image>
<view
style=
"display: flex;flex-direction: column;width: 50%;justify-content:space-between;margin-left: 10rpx;"
>
<image
style=
"border-radius:10rpx; width: 100%;height: 150rpx;"
src=
"https://content.volccdn.com/obj/feedcoop/skit/0641.jpg"
mode=
"scaleToFill"
></image>
<image
style=
"border-radius:10rpx; width: 50%;height: 150rpx;margin-top: 10rpx;"
src=
"https://content.volccdn.com/obj/feedcoop/skit/0641.jpg"
mode=
"scaleToFill"
></image>
</view>
</view>
<view
style=
"font-size: 30rpx;font-weight: 777;margin-top: 80rpx;margin-bottom: 16rpx;margin-left: 40rpx;"
>
其他
</view>
<image
style=
"border-radius:10rpx; width: 100%;height: 130rpx;"
src=
"https://content.volccdn.com/obj/feedcoop/skit/0641.jpg"
mode=
"scaleToFill"
></image>
</view>
</scroll-view>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -40,16 +64,13 @@
...
@@ -40,16 +64,13 @@
success
:
({
success
:
({
data
data
})
=>
{
})
=>
{
this
.
bannerList
=
data
.
list
;
//
this.bannerList = data.list;
}
}
});
});
},
},
hide
()
{
hide
()
{
},
handleBottomPlay
(
item
)
{
navigateTo
(
`/pagesC/video/videoDetail?data=`
+
encodeURIComponent
(
JSON
.
stringify
(
item
)));
}
}
}
}
};
};
...
@@ -58,22 +79,5 @@
...
@@ -58,22 +79,5 @@
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.body
{
.body
{
background-color
:
whitesmoke
;
background-color
:
whitesmoke
;
position
:
relative
;
}
.item-wrap
{
width
:
96%
;
border-radius
:
10rpx
;
background-color
:
#fff
;
break-inside
:
avoid
;
margin-bottom
:
20rpx
;
height
:
490rpx
;
}
.img
{
position
:
relative
;
border-radius
:
10rpx
;
width
:
100%
;
height
:
390rpx
;
}
}
</
style
>
</
style
>
\ No newline at end of file
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