Commit c05f5261 authored by chenqikuai's avatar chenqikuai

fix

parent 5453aaa6
地址 对应的 用户信息会变吗? 是否会变将影响着前端是否存储相关数据以及存储有效期长度 - 后台将平台管理员和其他用户分隔开
- 图片剪切和展示
\ No newline at end of file
<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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment