Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fns_front_2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
fns_front_2
Commits
c05f5261
Commit
c05f5261
authored
Oct 15, 2021
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5453aaa6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
note.md
note.md
+3
-1
Banner.vue
src/views/withMenu/Home/Banner/Banner.vue
+4
-5
No files found.
note.md
View file @
c05f5261
地址 对应的 用户信息会变吗? 是否会变将影响着前端是否存储相关数据以及存储有效期长度
-
后台将平台管理员和其他用户分隔开
-
图片剪切和展示
\ No newline at end of file
src/views/withMenu/Home/Banner/Banner.vue
View file @
c05f5261
<
template
>
<
template
>
<van-swipe
class=
"my-swipe"
:autoplay=
"3000"
indicator-color=
"white"
>
<van-swipe
class=
"my-swipe"
:autoplay=
"3000"
indicator-color=
"white"
>
<van-swipe-item
v-for=
"(image, index) in bannerUrls"
:key=
"index"
>
<van-swipe-item
v-for=
"(image, index) in bannerUrls"
:key=
"index"
>
<vantImage
fit=
"cover"
class=
"
h-36
w-full"
:src=
"image"
/>
<vantImage
fit=
"cover"
class=
"
h-full
w-full"
:src=
"image"
/>
</van-swipe-item>
</van-swipe-item>
</van-swipe>
</van-swipe>
</
template
>
</
template
>
...
@@ -29,12 +29,11 @@ export default defineComponent({
...
@@ -29,12 +29,11 @@ export default defineComponent({
<
style
scoped
lang=
"less"
>
<
style
scoped
lang=
"less"
>
.my-swipe {
.my-swipe {
height:
144px
;
height:
40vw
;
}
}
.my-swipe .van-swipe-item {
.my-swipe .van-swipe-item {
color: #fff;
color: #fff;
font-size: 20px;
font-size: 20px;
// line-height: 100px;
text-align: center;
text-align: center;
background-color: #e8edf0;
background-color: #e8edf0;
}
}
...
...
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