商家首页
This commit is contained in:
26
pageC/components/merchant/image-top.vue
Normal file
26
pageC/components/merchant/image-top.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<view class="imageTop">
|
||||
<image :src="url"></image>
|
||||
</view>
|
||||
</template>
|
||||
<style lang="scss" scoped>
|
||||
.imageTop{
|
||||
width: 100%;
|
||||
height: 500rpx;
|
||||
margin-bottom: 20rpx;
|
||||
>image{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
export default {
|
||||
name:"imageTop",
|
||||
data(){
|
||||
return {
|
||||
}
|
||||
},
|
||||
props:['url']
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user