You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
655 B
56 lines
655 B
<template>
|
|
<view class="flex">
|
|
<view class="my-cont">
|
|
<image src="../../static/home/[email protected]" mode=""></image>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
const COMPONENT_NAME = 'cont'
|
|
export default {
|
|
name: COMPONENT_NAME,
|
|
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
computed: {
|
|
|
|
},
|
|
mounted() {
|
|
|
|
},
|
|
methods: {
|
|
|
|
},
|
|
}
|
|
</script>
|
|
|
|
|
|
<style>
|
|
.flex{
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
}
|
|
.my-cont{
|
|
width: 180rpx;
|
|
height: 180rpx;
|
|
|
|
position: fixed;
|
|
top: 85%;
|
|
right: 0;
|
|
}
|
|
.my-cont image{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.flex{
|
|
align-items: center;
|
|
}
|
|
.flex .my-cont{
|
|
margin-left: auto;
|
|
|
|
}
|
|
</style>
|
|
|